Recently I've been tipping my toes into Ruby/Rails water and I wanted to give the Rails Event Store a try. When I tried to install the gems, I got an error: 'find_executable: checking for pg_config... no when installing pg Ruby gem'. Here's how I handled it.
At a first glance, everything seems to be easy with C# records. But when it comes to model binding in ASP.NET Core, things are getting a bit more complicated.
HTMX and Alpine.js are a great combination. Here's how to listen to HTMX HX-Trigger response header events from Alpine.js.
If you're running nginx in a Docker container, you might want to rotate the logs. Here's how to do it using Docker Compose and logrotate.
For some tasks like writing I prefer to have my displays set to monochrome / grayscale. This is how I do it on Xubuntu / XFCE.