I replaced my Opel Astra K Navi900 display

I currently drive an Opel Astra K 2016 and encountered the following issue. The right side of the display went slightly darker and the display started flashing vigorously after the car started. The flashing stopped after a few minutes of ride, but the colors were affected signifi…

Post checkout composer install hook

Sometimes when working on a PHP project where there are a lot of branches potentially sitting on incompatible packages, it can be a pain to always remember to manually run composer i or whatever docker alternative or alias one might be using. After forgetting, there are error mes…

How to install Caddy using ansible

I have spent some time trying to convert the curl | bash magic coming from official Caddy docs to an ansible playbook. I mean, I have probably not reduced any risks such as lack of transparency, man-in-the-middle attacks, malicious payloads or missing verification of authenticity…

Better autocompletion for Laravel model factories

I use Laravel model factories quite extensively. Here's an older related post, in case you are interested. I tend to create a lot of methods inside them to simplify tests, utilizing Factory States. The current docs show the following example for using Factory States: <?php na…

3D printed window holder design

In my office, the window holder broke. It was made out of a material, that visibly degrades under UV light. I did not want to go buy a new one, since this is a rented office. Instead I did what I usually do, and fixed it in DIY fashion - by 3D printing it. Having a window holder …

PHP xDebug in Docker

This is a trashpost mostly used to store all the links I had in my tab. Also, I might need it again or it could help someone. There might me incomplete, missing or conflicting information below so take this with a grain of salt. Dockerfile Whatever you Dockerfile contents are, ad…

Updating UEFI BIOS via fwupd on ThinkPad T14 Gen3

I had a lot of trouble understanding how to do firmware updates on my new ThinkPad T14 Gen3 AMD which now serves as a replacement for my trusty T470. Using fwupdmgr appears to be confirmed, even for UEFI BIOS. But getting it to work was another thing. I encountered three pain poi…