If you use a newer SSH key generated with the ED25519 algorithm instead of RSA (see Create a new SSH...

makandra dev

Rails partials have a lot of "hidden" features and this card describes some non-obvious usages of Rails Partials.

Sometimes I ran across a GitHub merge request of a gem where it was not completely obvious in which version...

vertical-align is hard. Have you ever wanted to vertically center an icon with text? This usually means "vertically align...

Sometimes, the rails dev server doesn't terminate properly. This can for example happen when the dev server runs in...

phili.pe

The linked article found a simple way to rewrite legacy git aliases to make them work with differently named default...

bundler.io

Bundler so far ignored the version specified under BUNDLED_WITH in the Gemfile.lock. This had two annoying consequences:

Our CI setup frequently sees this error while running yarn install: yarn install v1.22.19 [1/4] Resolving packages... [2/4] Fetching packages...

makandra dev

In a Jasmine spec you want to spy on a function that is imported by the code under test. This...

By default subscript ( ) and superscript ( ) tags are styled with vertical-align: sub, respectively vertical-align: super by most browsers.

You have some SVG files you want to use as icons on your website. How would you embed them?

developer.chrome.com

Hide/Show Drawer You can press Escape to show/hide the drawer. Fast Navigation with Command Menu Use Ctrl + Shift + p to...

tl;dr In Chrome DevTools in the Layouts tab you have handy options to debug CSS Flexbox and Grid. Including...

sashika.medium.com

One-line takeaways Don’t override native browser (or OS) shortcuts. Support standard shortcuts that don’t contradict the previous...

When writing a Sass function, you may run into an error message that may be confusing: @function rules may not...

tl;dr In Chrome DevTools in the Sources tab you can activate Event Listener Breakpoints for debugging events. Example

tl;dr In Chrome DevTools in the Elements tab or in Firefox in the Inspector tab you can right click...

If you're experiencing that your bundle install command fails with an error message like this, rubygems.org might...

Unpoly's [up-observe], [up-autosubmit] and [up-validate] as well as their programmatic variants up.observe() and up.autosubmit...

makandra dev

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

Ncdu is a disk usage analyzer with an ncurses interface. It is designed to find space hogs on a remote...

makandra dev

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

You have uncommited changes (you can always check by using git status), which you want to discard.

If you need to convert an SVG source to PS or EPS, the most common suggestion on the interwebs is...