tl;dr Don't forget require 'English' if you use a named global such as $LAST_MATCH_INFO. Otherwise this...
We use the whenever gem to automatically update the crontab of the servers we deploy to. By default, whenever will...
When you have many changes, and you want to spread them across different commits, here is a way to stage...
The linked GitHub repository is a bit like our "dev" cards deck, but groomed from a single person (Josh Branchaud...
With puma you can have concurrent requests. There are two concepts on how Puma can handle two incoming requests: Workers...
Test-Driven Development (TDD) in its most dogmatic form (red-green-refactor in micro-iterations) can be tedious. It does...
Simplecov is a code coverage tool. This helps you to find out which parts of your application are not tested...
A recent patch level Ruby update caused troubles to some of us as applications started to complain about incompatible gem...
Embedding videos on a website is very easy, add a tag to your source code and it just works...
Because colors improve readability so much. On Ubuntu 18.04 you can install it with sudo apt install grc
Code comments allow for adding human readable text right next to the code: notes for other developers, and for your...
Sometimes it's nice to have some coloring in your logs for better readability. You can output your logs via...
Or: How to avoid and refactor spaghetti code Please note that I tried to keep the examples small. The effects...
This is a personal post-mortem analysis of a project that was mainly build to provide a REST API to...
Debugging image color profiles is hard. You can't trust your eyes in this matter, as the image rendering depends...
SimpleScreenRecorder I recommend simplescreenrecorder, it produces an adequate output with only a few clicks. The audio recording contained some...
It's every developer's nightmare: SQL queries that get large and unwieldy. This can happen fairly quickly with the...
A primer on vector graphics For rastered image formats like JPG or PNG, each pixel is basically drawn on a...
Fixed #68: The "cucumber" command now fails early when @solo features fail. Added: The "setup" command now prints the db...
A while ago I tweeted a thread about how a small JavaScript snippet, one that can fit in a single...
Rubygems supports a 2FA for your account. Once enabled you need to provide your personal OTP code for every release...
When text renders differently in Firefox and Chrome, it may be caused by a font alias that both browsers handle...
Unicorn allows you to specify the maximum number of workers. In development this could be useful if you use a...
The bin/webpack-dev-server command is not as smart as e.g. rails server, where it shows the proper fix within the error...