Bash Brace Expansion

Inspired by a recent hacking session, here’s a tiny Bash trick for quicker typing and more concise scripting.

RUBYOPT and the Sneaky Shim

You need to insert a compatibility shim, diagnostics, or tracing code into a Ruby process… but you don’t have control over how the program is…

Binstubs

Lose the `bundle exec` muscle memory and get back to the good old days... with the help of binstubs!

Ship first, then code

Part of README-driven-development is prioritizing delivery over getting something working on our own machine. In today's video, Jessica Kerr demonstra…

.env for Devcontainers

Nobody likes repeatedly typing out lengthy command-line incantations. Today let's make our containerized work easier by customizing our environment!

Null-Terminated Record

Before YAML, before JSON, there were null-terminated records. See how this simple, pragmatic technique greases the pipes between UNIX command-line too…

Chomp

Ruby can be your multitool for all kinds of text-munging tasks. But to use it effectively, you need to understand how Ruby handles line endings and re…

Input Record Separator

Ruby has a lot of tools for processing input line-by-line. But when you look a little closer, it turns out that these methods are for more than just l…