Mikrotik router button LEDs toggle script

Recently I have moved my router from one place in a house to another and got a new distraction: it's fast blinking LEDs right into my face. Pressed the mode button on the back and I was expecting them to turn off but to my surprise, nothing happened. Fortunately, I had a backup o…

Running dusk tests watcher

After I had success with my unit and feature tests watcher script I decided to build something similar for a Laravel Dusk E2E (end-to-end) test too. However, it was a little bit different this time as I have found out after many iterations. I started up simply updating the watche…

Moving window to a monitor and back on a Mac

Getting an open window from and to a monitor on mac, I have found two general options: Three-finger swipe up, then move - but the window is not maximized on my Mac, it just ends up being somewhere on the given monitor, PITA Hover cursor over the little green icon at the top left…

Mastering internal links in zola

When building a static site with Zola, one common issue is discovering broken internal links only after deployment. External links pointing to your own content (like [post](/blog/my-post/)) are treated as external by Zola's link checker, missing valuable validation opportunities.…

Testing 3d printed TPU pad

Recently I printed a few of the sanders and they are nice to hold and the screw works as it should. This was my first ever screw print so I was a bit skeptical about that, but for large enough screws, 3D printing appears to work. However, the design also recommended a squishy pad…

Fix Laravel Herd SSL error

After migrating from Laravel Sail to Herd on Mac I needed to also find a way to make websockets work, as this app used them. Previously I was relying on soketi and it was running under its own docker compose, but with Sail gone, this went too. Sure I could just run soketi from np…

Fixing phpstan errors with aider

Some time ago, I decided to improve the codebase of one of my large actively developed Laravel projects to conform to strict larastan level 9 rule. At the first run, the analysis reported over 1200 errors, an absolutely massive undertaking for a single person. I started over a ye…