Personal blog powered by a passion for technology.
· 1 min read

Vanilla Rails is Enough

Argh, some things I should have learned earlier! One of these is this brilliant blog post Vanilla Rails is plenty couldn’t have bigger influence on me. Believe me or not, I wrote Rails wrong …

Read more →
· 1 min read

Get GitHub Teams CLI Snippet

GitHub CLI is a nice way to query GitHub API locally gh api orgs/<org>/teams | jq '.[] | {name,slug}'

Read more →
· 3 min read · claude codellm tokensrtk

How to Save 60-90% of LLM Tokens with rtk Proxy

If you use Claude Code (or any LLM coding agent), you’re burning tokens on noise. Every git status, every ls, every test run sends the full unfiltered output into your context window. Most of it …

Read more →
· 2 min read · claude codegit worktreesai coding

Claude Code Worktree Workflow: Parallel AI Coding with Two Shell Functions

I work on multiple Jira tickets in parallel. Context switching used to mean stashing, branching, losing my train of thought. Two shell functions fixed that. The idea Git worktrees give you isolated …

Read more →
· 1 min read

Travel Time and Date in Rails Console

Usage include ActiveSupport::Testing::TimeHelpers travel_to 2.days.ago

Read more →
· 3 min read

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 →
· 2 min read

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 →
· 3 min read

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 →
· 1 min read

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 →
· 1 min read

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 →