Currently we often use geordi to run cucumber and rspec tests. Geordi takes care of installing a matching chromedriver for...

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:

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...

This card shows an uncommon way to retrieve a file using selenium where JavaScript is used to return a binary...

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...

makandra dev

10.0.0 2024-03-07 Compatible changes console command: You can now globally disable the IRB multiline feature by setting irb...

makandra dev

Usually our code lives on GitLab, therefore our documentation for CI testing is extensive in this environment. If you are...

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...

makandracards.com

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...

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...

makandra dev
gist.github.com

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...

youtube.com

The linked content describes: The different color space of Oklch and RGB/HSL (HDR colors) The advantage of Oklch when you...

To navigate between test and test subject Rubymine requires you to set the test root sources as Test Sources Root...

makandra dev

tl;dr git checkout is the swiss army of git commands. If you prefer a semantically more meaningful command for...

tl;dr Since Rails 6.1+ you can use .compact_blank or .compact_blank! to remove blank values from collections (e.g...

tl;dr With ES2021 you now can use str.replaceAll(), Promise.any(), logical assignment operators, numeric separators and WeakRef on all major...