By default parallel_tests will spawn as many test processes as you have CPUs. If you have issues with flaky...

Sometimes you want to have a time in a given timezone independent from you Rails timezone settings / system timezone. I...

getbootstrap.com

Recently I made an upgrade from Bootstrap 3 to Bootstrap 4 in a bigger project. Here are some tips how...

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

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

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

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

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

Sometimes you want to find the inverse of an ActiveRecord scope. Depending on what you want to achieve, this is...

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

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

Important If your railscomplete-deployment uses the net-ssh-gem please ensure you use version 5.2.0 or newer to ensure...

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

CSP hat zum Ziel einen Browser-seitigen Mechanismus zu schaffen um einige Angriffe auf Webseiten zu verhindern, hauptsächlich XSS...

makandra dev

4.0.0 2020-07-30 Compatible changes Improved documentation; README now includes command options. Improvement #90: geordi console, geordi deploy, geordi...

If you have a :string or :text field, you should pair it with a model validation that restricts its length...

makandra dev
github.com

FactoryBot allows to create traits from Enums since version 6.0.0 The automatic definition of traits for Active Record enum attributes...

makandra dev
select2.org

Select2 comes with AJAX support built in, using jQuery's AJAX methods. ... For remote data sources only, Select2 does not...