makandra dev
tpgi.com

These are the top ten accessibility errors as researched by TPGi, a company focusing on accessibility. See the linked article...

I recently built a screen with a very high and wide table in the center. This posed some challenges:

The Web Animations API has great browser support, and you should be using it to animate DOM elements from JavaScript...

Today I stumbled across a pretty harmless-looking query in our application which turned out to be pretty harmful and...

makandra dev

All browsers implement an event named beforeunload. It is fired when the active window is closed and can be used...

Up until Chrome 120, scrollbars could only be styled using the various -webkit-scrollbar-* pseudo elements, e.g. to make the...

I recently noticed a new kind of flaky tests on the slow free tier GitHub Action runners: Integration tests were...

Any form fields where users enter numbers should be an . Numeric inputs have several benefits over : On mobile or tablet...

Sometimes you have a file that is related to a project, while not actually being part of it. You'd...

makandra dev
whattrainisitnow.com

The linked table shows the support lifecycle for Firefox Extended Support Releases (ESR) which we sometimes need to support for...

tl;dr We recommend configuring Selenium's unhandled prompt behavior to "ignore". When running tests in a real browser, we...

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

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" ]

developer.mozilla.org

Today I learned that you can animate HTML elements using the Web Animation API's method .animate(keyframes, options) (which...

Ruby methods which load from a Yaml file, like YAML.safe_load or YAML.safe_load_file, support passing freeze: true to...

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

unpoly.com

Version 3.7.0 broke some things in complex forms. Sorry for that. Concurrent user input is hard. 3.7.1 This change fixes...

If you have an element with significant border-radius (e.g. 50% for a circle) and you want inline content (i.e...

You can use the config.x configuration in combination with config_for to configure global settings for your Rails 4.2+ application...

makandra dev

I recently did a quick research on how to better write down multiline statements like this: # Dockerfile RUN export DEBIAN...

jetbrains.com

RubyMine has a collaboration feature called "Code With Me". Using it, you can invite someone into your local editor to...

You can ignore certain commits when using git blame with the --ignore-revs-file option. This is handy to ignore...

edgeapi.rubyonrails.org

The linked article suggests an interesting way to speed up tests of Rails + Postgres apps: PostgreSQL allows the creation of...