PostgreSQL can cosplay as a full-text search engine. It doesn't have the features or fidelity of ElasticSearch or...
Using ffmpeg, you can easily re-encode a video to reduce its file size. Command Do it like this:
With Ubuntu 24.04 it's not longer possible to setup FDE with BTRFS The new installer won't offer you...
The general purpose T instance types are a good starting point. But depending on the CPU utilization of your workload...
Recently I needed to benchmark an Active Record query for performance measurements. I wrote a small script that runs each...
Terser is a really good minifier ("compressor") for JavaScript code. I'm often surprised by the thoughtfulness of its compressed...
It's possible to implement simple custom RuboCop cops with very little code. They work exactly the same like existing...
There are different kind of memory measurement metrics in Linux. These are the differences: Code Name Description vsz virtual memory...
This card shows an uncommon way to retrieve a file using selenium where JavaScript is used to return a binary...
If you want someone to be able to access your rails console, but don't want them to be able...
Your commit messages should include the ID of the issue your code belongs to. Our preferred syntax prefixes the issue...
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...
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...
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
Besides Plotting graphs in Ruby with Gruff, which comes handy for many uses cases, you sometimes might need configuration for...
In CI test runs I noticed that string sorting order changed after switching from a debian-based PostgreSQL docker image...
It's quite confusing how many external displays are usable with a MacBook that uses an M1 or M2 Chip...
When you write your next CarrierWave uploader, consider processing your images with libvips instead of ImageMagick. Reasons for libvips
Splitting up commits makes the process of reviewing often easier, since you can create several merge requests or review every...
Context and further resources Even though you can get 90% of debugging done with up to 5 basic byebug commands...
I recently noticed that better_errors allows you to to open files from within your favorite editor. However it was...
It is possible to manipulate the forwarded ports of an established interactive SSH session. This is done by opening the...