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…
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…
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…
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 …
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…
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…
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…