When running an older version of docker-compose you might see the following error: ERROR: Version in "./docker-compose.yml" is unsupported...

By default, your terminal emulator (Gnome Terminal, Terminator, etc.) sets some kind of window title to reflect the shell type...

makandra dev

There are several tools for DNS debugging which offer you more or less information. Most of the time the more...

In case Ruby does not detected the expected encoding of a file automatically you can specify the known encoding manually...

The Truemail gem (not to be confused with truemail.io) allows validating email addresses, e.g. when users enter them into a...

In long diffs, it can become impossible to spot small changes in larger blocks of moved code. This may be...

Headless Chrome is a way to run the Chrome browser without a visible window. Configuring Capybara Configure the Capybara driver...

When deploying a Rails application that is using Webpacker and Capistrano, there are a few configuration tweaks that optimize the...

stackoverflow.com

In the tab where you need it, open Chrome DevTools with F12, open settings with F1, scroll down to the...

IRB 1.2 (shipped with Ruby 2.7, but works on 2.5+) brings pretty syntax highlighting and multiline cursor navigation. However, pasting...

makandra dev

This card is mainly an explanation how variable fonts work in CSS, not necessarily a recommendation to actually use them...

tekin.co.uk

Git diffs show the surrounding contexts for diff hunks. It does so by applying regular expressions to find the beginning...

github.com

Scroll and touch event listeners tend to be computationally expensive as they are triggered very often. Every time the event...

We currently test most of our gems on Travis CI, but want to migrate those tests to Github Actions. This...

If you're experiencing problems with your Google Chrome installation after an update, it might help downgrading Chrome to check...

When loading a database dump created with pg_dump into your database, you might run into an error like

.desktop files define launchers for applications installed on your machine. They specify the command that will be executed when launched...

The sidekiq-rate-limiter gem allows rate-limiting Sidekiq jobs and works like a charm. However, it needs to be...

ActiveRecord provides the ids method to pluck ids from a scope, but what if you need to pluck Global IDs...

CSS variables are very different from preprocessor variables. While preprocessors use variables to compile a static piece of CSS, CSS...

A flat folder structure can be cool if you have only a few folders but can be painful for huge...

When you use Sentry to monitor exceptions, an important feature is Sentry's error grouping mechanism. It will aggregate similar...

Ruby's File class has a handy method binary? which checks whether a file is a binary file. This method...

If you want to prevent that two processes run some code at the same time you can use the gem...