I had to modify the time for an application that I launch through Docker. Here is an approach that worked...
Rails log files rotate automatically when they reach approx. 100MB: $ ls -lh log/ -rw-r--r-- 1 user group 55M...
Currently we often use geordi to run cucumber and rspec tests. Geordi takes care of installing a matching chromedriver for...
Interactively rebase your current branch onto main, keeping the original base commit (i.e. not rebasing onto main directly).
You can check the maximum client Redis database size in Sidekiq with this command. Sidekiq.redis { |redis| puts redis.info.fetch('maxmemory_human...
Orca is a Linux screen reader. Since it is part of the GNOME project it should come preinstalled with Ubuntu...
Why Rails has multiple schema formats When you run migrations, Rails will write your current database schema into db/schema.rb. This...
Ubuntu 24 added some guarding for Python packages which no longer allows installing applications through pip on system level. Instead...
Here is a bash script that I use to auto-configure displays on Ubuntu 24.04 with Xorg. Background
YJIT is Ruby's default just-in-time compiler. It is considered production-ready since Ruby 3.2 (source).
Git has the concept of hooks: bash scripts that are invoked at certain points in the Git lifecycle. One handy...
I noticed that tig 2.5.1 that is provided by Ubuntu 22.04 repositories has inferior bash completion than older versions after...
On our Ubuntu machines we have nautilus file manager with nautilus-extension-gnome-terminal installed. This adds an entry to...
Recently I needed to benchmark an Active Record query for performance measurements. I wrote a small script that runs each...
With this command you can run all the spec files which have been edited or added in the current branch...
Some rubygems come in platform-specific versions (i.e. "x86_64-linux") in addition to the usual "ruby" platform. This is...
I used two lab days to read the The framework field guide - Fundamentals, the first of a three part series...
As we're switching from PT to Linear, I've updated the existing bash script to work for commits that...
What is makandra cards? We are makandra, a team of 60 web developers, DevOps and UI/UX experts from Augsburg, Germany...
It's 2024 and we have tools like ffmpeg, imagemagick and GPT readily available. With them, it's easy to...
If you want to system-wide disable the microphone of your external webcam in PulseAudio use the following one-liners...
Usually our code lives on GitLab, therefore our documentation for CI testing is extensive in this environment. If you are...
A Rails script lives in lib/scripts and is run with bin/rails runner lib/scripts/.... They are a simple tool to perform...
87.140.79.42 - - [23/Jan/2024:09:00:46 +0100] "GET /monitoring/pings/ HTTP/1.1" 200 814 "-" "Ruby" 87.140.79.42 - - [23/Jan/2024:09:00:46 +0100] "GET...