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

TinyMCE is a WYSIWYG editor which is quite customizable. Add a custom button to the tinyMCE toolbar and tell tinyMCE...

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

Using Ruby 1.8.7 you will not be able to use the maximum versions Rubygems 1.8.30 and Bundler 1.17.3 with https://...

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

Sometimes you accidentally generate entries in the bash history that you do not want to have there (e.g. commands with...

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

curl-to-ruby is a handy tool that converts your curl command to ruby code that uses the Net::HTTP...

martin-riedl.de

A practical and detailed walk-through tutorial on using ffmpeg for live-streaming HLS, filled with real-world examples.

bugs.launchpad.net

Terminator has a cool feature that allows you to split your terminal into many panels and type in all of...

Ubuntu 18.04 uses systemd to manage services. There are basically two commands for listing all services and manipulating the state...

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...

When logging in Rails, you can use the log_tags configuration option to add extra information to each line, like...

news.ycombinator.com

This is an extract from the linked article. It shows an approach on how to implement encrypted passwords with the...

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

Rails 5.2+ supports "verbose query logs" where it shows the source of a query in the application log.

After a recent Ubuntu update I didn't see the main menu bar of the RubyMine IDE (File | Edit | View...

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

makandra dev
medium.com

In Ruby on Rails, all the routes of a given application can be found within the config/routes.rb file.

In interactive commands, Git allows the user to provide one-letter input with a single key without hitting enter (docs...

When writing some logs to a file, that don't use Ruby's logger utility, it is often useful to...

makandra dev
github.com

grep is the go-to CLI tool to accomplish tasks like filtering large files for arbitrary keywords. When additional context...