By default parallel_tests will spawn as many test processes as you have CPUs. If you have issues with flaky...
By default, your terminal emulator (Gnome Terminal, Terminator, etc.) sets some kind of window title to reflect the shell type...
There are several tools for DNS debugging which offer you more or less information. Most of the time the more...
In Ruby you can communicate between processes with sockets. This might be helpful in tests that validate parallel executions or...
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 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 a model inherits from others or uses many concerns / traits, it might be hard to see in the code...
If you want to prevent that two processes run some code at the same time you can use the gem...
# Basic HTML example # Javascript API (notable methods and properties) video = document.querySelector('video') video.play() video.pause() video.load() // Reset to the beginning and...
Speaker today is Henning Koch, Head of Development at makandra. This talk will be in German with English slides.
This seems to be obvious, but you can expect Rake tasks to be called in RSpec. it 'deletes all Users...
With puma you can have concurrent requests. There are two concepts on how Puma can handle two incoming requests: Workers...
Embedding videos on a website is very easy, add a tag to your source code and it just works...
Code comments allow for adding human readable text right next to the code: notes for other developers, and for your...
Heads up: transparent is not a real color, but black with 0% opacity. In transparent gradients, this adds some gray...
We can use ActiveRecord's where to add conditions to a relation. But sometimes our condition is not on the...
You can use the CSS property mask-image to define an "alpha channel" for an element. E.g. to let an...
PostgreSQL and ActiveRecord have a good support for storing dynamic attributes (hashes) in columns of type JSONB. But sometimes you...
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...
A primer on vector graphics For rastered image formats like JPG or PNG, each pixel is basically drawn on a...
There is a practical short list for valid/invalid example email addresses - Thanks to Florian L.! The definition for valid emails...