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...
I, [2024-01-21T06:22:17.484221 #2698200] INFO -- : [4cdad7a4-8617-4bc9-84e9-c40364eea2e4] test
Tested on Ubunut 22.04 1. Opener script Create a file ~/.local/bin/coverage_zip_opener with: #!/bin/bash tmp_folder="/tmp/coverage-report-opener" if [ -z "$1" ]
Your development server is usually running on an insecure HTTP connection which is perfectly fine for development.
Here are some hints on best practices to maintain your tasks in larger projects. Rake Tasks vs. Scripts
Getting an entire test suite green can be a tedious task which involves frequent switches between the CLI that is...
This Capistrano task runs a command on all servers. bundle exec cap production app:run cmd='zgrep -P "..." RAILS_ROOT/log/production.log...
A general overview about why and how we migrate can be found under Migrating from Elasticsearch to Opensearch
In Capistrano 3, your Capfile requires 'capistrano/rails/migrations', which brings two Capistrano tasks: deploy:migrate and deploy:migrating. The former checks...
I recently stumbled over a problem that my feature tests broke in CI because of a mismatching chromedriver version.
We regularly have tasks that need to be performed around a deploy. Be it to notify operations about changed application...
Newest versions of Chromedriver breaks the user agent for device emulation via device name. In previous versions the user agent...