Legacy Rails project and modern Assets Pipeline
One of the projects I’ve started a long-long time ago still powers the business. It was quite a journey starting from Rails 2, than Rails 3 and so on up until currently Rails 7 with plans to …
Read more →Hosting for Static Assets
I lived on GitHub Pages for static hosting for a long time. For example, this blog been hosted as https://mprokopov.github.io for years, just with the custom domain https://prokopov.me But last week I …
Read more →Ghostty Remap Cmd to Control under macOS
Ghostty is ridiculously fast. But there’s one thing that bugged me: my thumbs. Terminal shortcuts expect Control. Ctrl + a for line start, Ctrl + e for line end, Ctrl + k to kill the rest of the …
Read more →Trigger Jenkins job on EC2 termination event
Example of the Python code to catch EC2 termination signal and ping Jenkins to run termination job. Useful to execute graceful shutdown if you’re using EC2 spot instaces. You will need Jenkins …
Read more →HashiCorp Nomad reschedule a Job
HashiCorp Nomad Job It’s often the job increases retry counter, but there is no time to waste after the root cause of failing job being removed. Here is the way to enforce re-run of the job. …
Read more →On interpreter and dependenencies management problem
The problem The problem of interpreter and dependency management is quite common, but also challenging. Appliations sometimes are written using interpreted languages. Examples: brew in Ruby, ansible …
Read more →GitHub Markdown preview with Grip and UV
It’s common task to prepare README.me, but how to check the preview? If you use uv, the fastest way is to use grip like this Use this oneliner in the folder with markdown and open browser with …
Read more →How to Use Model Control Protocol with Claude AI to work with your private data
Learn how to access and work with your private data using Large Language Models with Model Control Protocol.
Read more →Cloud Cost Management aka FinOps
Cloud Cost Management, or FinOps is tricky. Imagine Team A started consuming much more resources and the management just starts seeing hair-pulling consequences at the end of the month in AWS bill. …
Read more →Ordinary day in a Life of DevOps
Bumped Backstage dependencies with migration to the new backend system. Okta authentication (with wildcard sign-in) Building a roadmap for an engineering team Troubleshooting Unifi WiFi connectivity …
Read more →