A Rails script lives in lib/scripts and is run with bin/rails runner lib/scripts/.... They are a simple tool to perform...

makandracards.com

A general overview about why and how we migrate can be found under Migrating from Elasticsearch to Opensearch

OpenAI is currently limiting the Audio generating API endpoint to text bodies with a maximum of 4096 characters.

If you want to automatically delete old container images from your Elastic Container Registry, the solution is a quite simple...

While upgrading CarrierWave from version 0.11.x to 3.x, we encountered some very nasty fails. Below are the basic...

selenium.dev

I recently stumbled over a problem that my feature tests broke in CI because of a mismatching chromedriver version.

thegnar.com

View specs are a powerful tool to test several rendering paths by their cases instead of using a more costing...

Besides Plotting graphs in Ruby with Gruff, which comes handy for many uses cases, you sometimes might need configuration for...

github.com

For my computer science bachelor's thesis I programmed and evaluated a CLI Test Case Prioritization (TCP) tool for makandra...

The git doc states on the difference of these two commands: git-restore[1] is about restoring files in the...

matuzo.at

In the linked page, Manuel Matuzović offers an FAQ regarding web components, and their accessibility in particular.

Rails offers several methods to manage three types of different cookies along with a session storage for cookies. These...

Note: You won't need this for single lines of text. In this case it is better to just use...

atlassian.com

Git log offers useful options for filtering. This card provides a short overview. By message Only commits that include a...

Intel CPUs receive updates, including security relevant upgrades, through 2 channels: Firmware/UEFI BIOS updates can also update the microcode in...

adactio.com

Web forms can be made much more usable with a few HTML attributes. Short summary: type: Tells browsers about the...

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

Haml 6 was a major rewrite with performance in mind. To achieve a performance improvement of 1.7x, some design...

Rails offers the fresh_when method to automatically compute an ETag from the given record, array of records or scope...

makandra dev

This is a checklist I use to work on issues. For this purpose I extracted several cards related to the...

In the past we validate and set default values for boolean attributes in Rails and not the database itself.

blog.logrocket.com

Variable fonts are popular for two reasons: they expand design possibilities and improve website performance. While the former statement is...

Was ist DynamoDB und für was kann man es einsetzen? In eine DynamoDB Tabelle werden ständig neue Daten geschrieben...

Erkläre den Unterschied zwischen SSM Parameter Store, Secrets Manager und CloudHSM Für was kann AWS WAF und Shield eingesetzt...