Josh

4.6K posts

Josh banner
Josh

Josh

@Lifeofbon

Software engineer @grizzlywareio, happy on two wheels, underwater and Arch btw

Cornwall, UK Tham gia Eylül 2010
600 Đang theo dõi134 Người theo dõi
Josh
Josh@Lifeofbon·
@levelsio You can actually create a true tunnel between your app/server and CF using a free Cloudflare service, and you can close port 80/443 completely. Use Tailscale too and the box is sealed to the public.
English
0
0
0
35
Josh
Josh@Lifeofbon·
@levelsio Never got a reply back from Cloudflare about it, but restricting to their IPs isn’t a fail safe. I believe CF workers (which anyone can run) use the same subnets as the CF proxy servers. 👀
English
1
0
0
202
@levelsio
@levelsio@levelsio·
You should never ever expose a VPS to the entire internet Always firewall it to subnets If you host a website you should only allow port 443 (HTTPS) inbound from Cloudflare's IP range / subnets Port 22 (SSH) only from your Tailscale subnet range That means you create a "tunnel" from Cloudflare and Tailscale (your laptop) to your server's door You still need your SSH key to open the door btw If you don't, ANYONE in the entire world can connect to your VPS and if there's just one security vulnerability and you didn't upgrade your VPS you can get hacked If you do have it firewalled with Tailscale subnet only, it means only if they hack your laptop they could get in via your Tailscale there Another thing is ask OpenClaw or Claude Code to enable unattended upgrades with auto reboot
Goat1337@go4t1337

@levelsio Whats the point of installing tailscale? Or am I missing something here You could do the exactly same without tailscale

English
112
154
3.1K
445.3K
Josh
Josh@Lifeofbon·
@heystevebauman We solved this with a message in Slack from CI, with two action buttons
Josh tweet media
English
3
0
8
407
Steve Bauman
Steve Bauman@heystevebauman·
I think the "tag" dropdown when creating a release in GitHub has to be the most useless dropdown in the whole platform It already knows that I can't actually select any of these options because: - They'd be duplicate tags - I've already created releases for them A big improvement would be auto-generated "next release" tags you can easily single-click to create a new tag based on master, or click "Create new tag" to select a branch/specific commit in a modal This is a paper cut problem, but I've never once (in over 10 years) ever found it useful See second screenshot for an example of auto-generated tags (major, minor, patch)
Steve Bauman tweet mediaSteve Bauman tweet media
English
8
0
66
6.4K
Sam
Sam@SamNewby_·
New project with @Lifeofbon processed over £100 of bookings in its first 24 hours Don’t think I’ve ever been this proud of something I’ve worked on
English
0
0
1
66
Jesper Andersen
Jesper Andersen@_jesperandersen·
@enunomaduro @phpstorm Considering trying out VSCode again. For me it's the memory usage of Phpstorm. Had it use 48GB today 🥵
English
6
0
1
562
Josh
Josh@Lifeofbon·
My team @grizzlywareio are in need of a skilled #laravel #vue #PHP developer. Minimum 3 months contract with view to continue if the project goes well. Any #UK freelance #devs looking for work with an immediate start? #HIRINGNOW please retweet 🙏
English
4
2
3
560
Josh
Josh@Lifeofbon·
@SamNewby_ Caddy is such a pleasure
English
1
0
0
14
Sam
Sam@SamNewby_·
Writing a Caddyfile feels like a dream compared to writing an NGINX config
English
1
0
2
248
Josh
Josh@Lifeofbon·
@SamNewby_ I aspire to join you. How bad was the withdrawal?
English
1
0
1
37
Sam
Sam@SamNewby_·
I haven't drunk coffee in over a week I think I have more energy
English
2
0
4
256
Josh
Josh@Lifeofbon·
@CloudflareDev Sorry to tag you @eastdakota, but could you offer any insight into this please? Would really appreciate it
English
0
0
0
45
Josh
Josh@Lifeofbon·
Hey @CloudflareHelp , I need to add your IPs as trusted proxies. However, what if someone made a request from inside your infra using CF Workers? I don’t want to trust that. Do they use different ranges? #cloudflare
English
1
0
2
255
Josh
Josh@Lifeofbon·
@typecraft_dev The ecosystem is one reason I left. I was getting too deep and saw myself never being able to escape it. Now it’s just an iPhone which IMO is the best mobile UX.
English
0
0
0
17
Chris Power
Chris Power@typecraft_dev·
I would personally not mind a switch to Linux from Mac OS. But I’ve grown so accustomed to the apple “ecosystem” I can’t live without it.
English
9
0
14
4.1K
Chris Power
Chris Power@typecraft_dev·
Dear Linux users. Why do you hate Mac OS?
English
177
3
150
42.7K
Taylor Otwell
Taylor Otwell@taylorotwell·
We're getting closer to Laravel 11. Slim application structure. 💅 Better conventions. ✅ What else would make the next version of Laravel jaw-droppingly good?
English
135
85
951
85.7K
Josh
Josh@Lifeofbon·
@taylorotwell Denouncing queued jobs natively/fluently 😎
English
1
0
1
152
nunomaduro
nunomaduro@enunomaduro·
Check this little trick to access private properties of PHP objects. It's not something you'd typically want to do, right? 😜
nunomaduro tweet media
English
21
50
455
53.4K
Josh
Josh@Lifeofbon·
@enunomaduro To add to RFC’s example of isEmpty(), what if the interface is something where isEmpty() is ambiguous, and the interface developer just makes an assumption and implements it however they want. And that method could only depend on other public methods on the interface too. A mess.
English
0
0
1
21
Josh
Josh@Lifeofbon·
@enunomaduro This seems like a terrible idea and completely goes against the purpose of an interface. This can already be achieved with abstract classes which implement an interface anyway.
English
1
0
1
227
nunomaduro
nunomaduro@enunomaduro·
The introduction of "Interface Default Methods" in PHP could be one of the most impactful features in recent years. I can't wait to see this one in the language. 🐘 wiki.php.net/rfc/interface-….
English
25
17
120
36.9K