makandra dev

When your application is open for public sign up and sends out transactional e-mails to a large number of...

makandra dev

In Ruby (almost) everything is an Object. While this enables a lot of powerful features, this concept might be confusing...

CarrierWave comes with a set of default configuration options which make sense in most cases. However, you should review these...

You can use git worktree to manage multiple working trees attached to the same repository. But why should I use...

When you repeat a subpattern with a *, + or {...} operator, you may choose between greedy, lazy and possessive modes. Switching modes...

bundle outdated [--filter-major|--filter-minor|--filter-patch] Example output for bundle outdated --filter-major Other examples

Insomnia is a GUI tool to help you communicating with an API. There are also other tools to do this...

By default, your terminal emulator (Gnome Terminal, Terminator, etc.) sets some kind of window title to reflect the shell type...

makandra dev

There are several tools for DNS debugging which offer you more or less information. Most of the time the more...

The Truemail gem (not to be confused with truemail.io) allows validating email addresses, e.g. when users enter them into a...

In long diffs, it can become impossible to spot small changes in larger blocks of moved code. This may be...

Headless Chrome is a way to run the Chrome browser without a visible window. Configuring Capybara Configure the Capybara driver...

thoughtbot.com

The linked blog post contains some background information about the alt attribute and the figure / figcaption element. It is interesting...

mtlynch.io

Why improve your code reviews? Improving code review technique helps your reviewer, your team, and, most importantly: you.

tekin.co.uk

Git diffs show the surrounding contexts for diff hunks. It does so by applying regular expressions to find the beginning...

github.com

Scroll and touch event listeners tend to be computationally expensive as they are triggered very often. Every time the event...

Sometimes you want to find the inverse of an ActiveRecord scope. Depending on what you want to achieve, this is...

makandra dev

While debugging a SPF record I found spf-record.de to be very helpful. it lists all IPs that are covered by...

web.archive.org

There is a common view that extracting text from a PDF document should not be too difficult. After all, the...

simple-form-bootstrap.plataformatec.com.br

Good reference how to build bootstrap forms with simple_form.

If you want to get the path of a file relative to another, you can use the expand_path method...

CSS variables are very different from preprocessor variables. While preprocessors use variables to compile a static piece of CSS, CSS...

When you use Sentry to monitor exceptions, an important feature is Sentry's error grouping mechanism. It will aggregate similar...

makandra dev
developers.google.com

Chrome has a built-in utility to check performance and accessibility (and more) of your web app: Lighthouse.