Advertisement · 728 × 90

Posts by Oliver Nybroe

Screenshot of Home Assistant showing the automation for making the desk stand up

Screenshot of Home Assistant showing the automation for making the desk stand up

I automated my standing up desk, so now it will automatically move up randomly every 2 hour 🤣

I keep forgetting through the day to raise my desk, but now I will be forced to do it 🎉

1 year ago 2 0 0 0
Preview
Supercharging Rate Limiting with Cloudflare - James Brooks Enhance Laravel’s rate limiting by using Cloudflare’s Web Application Firewall (WAF) to block excessive requests at the edge, reducing server load and improving API performance.

In @jessarcher.bsky.social's Nightwatch talk she mentioned how we paired Laravel's rate limiting with Cloudflare to completely side step our servers from handling "dead requests" on Forge. Here's how you can do the same thing!
james.brooks.page/blog/superch...

1 year ago 21 3 2 1

See you there 👋

1 year ago 3 0 1 0
Preview
DevOps Engineer (EU) - Laravel Laravel is looking for the first DevOps Engineer to join our, all-remote core services infrastructure team. For this role we're only considering applications in the European timezone. We're on a missi...

I’m looking for our first DevOps Engineer to join the Core Services team at Laravel. If you’re EU based, please apply below 👇
apply.workable.com/laravel/j/06...

1 year ago 25 11 1 2
An example of named parameters passed into a method via spreading operator on an array.

An example of named parameters passed into a method via spreading operator on an array.

A cool trick with named parameters in PHP is that you can actually pass an array with key names as the parameters and use the spread operator 👀

1 year ago 15 2 2 1
Post image

It's sometimes important to remember the differences between `all` and `toArray` in collections in Laravel, as in most cases it is actually `all` method you want to call.

Converting a model with all loaded relations to an array can be expensive.

1 year ago 0 0 0 0

So why not `yes-named-argument` ? 👀

1 year ago 0 0 0 0
Advertisement
Video

I often see people navigating to methods in PhpStorm by using search in the file, however there is a much nicer way of doing it 👀

Default keybind is cmd + F12 (rebound mine to cmd + M)

1 year ago 2 0 0 0