Note Using rem only ever makes sense when the root font size is dynamic, i.e. you leave control to the...
Starting with Rails 7.1 the production logger is set to standard out. For applications running with opscomplete ensure to keep...
Developing or debugging SAML functionality can be a hassle, especially when you need to go back and forth with someone...
jq is great when dealing with JSON data. Check out the official jq Manual. Content Select only specific keys
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...
10.0.0 2024-03-07 Compatible changes console command: You can now globally disable the IRB multiline feature by setting irb...
Any form fields where users enter numbers should be an . Numeric inputs have several benefits over : On mobile or tablet...
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
Your development server is usually running on an insecure HTTP connection which is perfectly fine for development.
It happens from time to time that a job in a GitLab pipeline fails. Sometimes, however, the error message is...
I recently did a quick research on how to better write down multiline statements like this: # Dockerfile RUN export DEBIAN...
You can ignore certain commits when using git blame with the --ignore-revs-file option. This is handy to ignore...
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...
You can use pg_repack to do a VACUUM FULL without holding an exclusive lock during processing. There is still...
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...
Getting CSS (and JS) live reloading to work in a esbuild / Rails project is a bit of a hassle, but...
If you ever need to restore exact records from one database to another, Marshal might come in handy. Marshal.dump is...
Creating Nagios Config with puppet Let's have a look at the classic way of managing Nagios configuration with exported...
Every modern Rails app should have a Content Security Policy enabled. Very compatible default The following "default" is a minimal...
While upgrading CarrierWave from version 0.11.x to 3.x, we encountered some very nasty fails. Below are the basic...