While most Rails Apps are tied to at least one external REST API, machine-to-machine communication via GraphQL is...
Modern JavaScript includes Intl.NumberFormat to format numbers in different formats and locales. In this card, we describe a wrapper for...
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...
As we're switching from PT to Linear, I've updated the existing bash script to work for commits that...
This card describes four variants, that add a more intuitive workflow when working with nested attributes in Rails + Unpoly:
tl;dr When browsers start to adapt proposals from Open UI, it might not be necessary to use any 3rd...
This card describes different flavors for concatting HTML safe strings in a helper method in Rails. You might want to...
...HTML elements can automatically start playing when the autoplay attribute is set on them. Except for when they can not...
Debugging performance issues in your Rails app can be a tough challenge. To get more detailed insights consider using the...
Note Using rem only ever makes sense when the root font size is dynamic, i.e. you leave control to the...
If you need to make an HTTPS connection to a host which uses an expired certificate, do not disable certificate...
It's 2024 and we have tools like ffmpeg, imagemagick and GPT readily available. With them, it's easy to...
Rachel Andrew has built a website about CSS Grid. Video tutorials More than 30 layout examples for feature demonstration
A common cause of non-accessible web pages are elements that were made interactive via JavaScript but cannot be focused...
The Web Animations API has great browser support, and you should be using it to animate DOM elements from JavaScript...
Up until Chrome 120, scrollbars could only be styled using the various -webkit-scrollbar-* pseudo elements, e.g. to make the...
Any form fields where users enter numbers should be an . Numeric inputs have several benefits over : On mobile or tablet...
Usually our code lives on GitLab, therefore our documentation for CI testing is extensive in this environment. If you are...
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" ]
Today I learned that you can animate HTML elements using the Web Animation API's method .animate(keyframes, options) (which...
Multiply by 1x the unit: $number = 13 $length = $number * 1px // => 13px Removing a unit
If you have an element with significant border-radius (e.g. 50% for a circle) and you want inline content (i.e...
Getting CSS (and JS) live reloading to work in a esbuild / Rails project is a bit of a hassle, but...