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…

Postman urlencode multiple env variables

As an API development tool, Postman is widely used by developers for testing, documenting, and sharing APIs. One of the most powerful features of Postman is the ability to execute code before a request is sent, which is known as a pre-request script. This functionality allows dev…

Exclude middleware for Laravel routes

In the world of web development, Laravel is a popular PHP framework that provides a wide range of features and tools to build web applications quickly and efficiently. One of its most useful features is middleware, which allows developers to filter HTTP requests entering their ap…

How to update Laravel version with Composer

When updating Laravel to a major version, it might be straightforward but more often than not, it is not. I personally always struggle with to get it done quickly and usually spend far more time on the task, than expected. This is especially true in larger projects where there mi…

High CPU usage with Yubikey and pcscid

There a is a issue I am having for quite a long time I hadn't been able to quickly solve, so I just sucked it up. The issue is, that if I plug off the Yubikey off the laptop's USB port, one CPU goes haywire 100% usage and some, but not all services or applications that require in…

JSON formatting in DBeaver

This feature really helped me save some time almost daily and it was hiding in plain sight. DBeaver, the open-source database management software, can format JSON columns for you. Before I found this feature, I had to copy paste the column into editor to make sense of the nested …