makandra dev
howvideo.works

This is an informational site about video and how it works. We started by talking about Playback, next we added...

makandra dev

Feature Queries (Edge 12+): Similar to @media queries, @supports blocks can be scoped to browsers that support a given declaration...

github.com

Liquid Prompt gives you a nicely displayed prompt with useful information when you need it. It shows you what you...

When deploying a Rails application that is using Webpacker and Capistrano, there are a few configuration tweaks that optimize the...

thoughtbot.com

While both the alt attribute and the figcaption element provide a way to describe images, the way we write for...

mtlynch.io

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

Sometimes you accidentally generate entries in the bash history that you do not want to have there (e.g. commands with...

stackoverflow.com

In the tab where you need it, open Chrome DevTools with F12, open settings with F1, scroll down to the...

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

Minidusen lets you find text in associated records. Assume the following model where a Contact record may be associated with...

If you have installed Rubocop in your project, RubyMine can show you Rubocop violations immediately in your editor. You probably...

makandra dev

You need to install the official plugin, it is not bundled with RubyMine by default. Example: Setup a watcher...

curl-to-ruby is a handy tool that converts your curl command to ruby code that uses the Net::HTTP...

makandra dev
thoughtbot.com

The linked article compares two approaches for writing CSS: A component library (like BEM) Utility classes (like Tailwind)

bugs.launchpad.net

Terminator has a cool feature that allows you to split your terminal into many panels and type in all of...

In Rubocop you might notice the cop Style/CaseEquality for e.g. this example: def foo(expected, actual) expected === actual end

github.com

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

Here is a short summary of Cucumber hooks in Ruby taken from https://github.com/cucumber/cucumber-ruby. Note that the BeforeStep is...

We currently test most of our gems on Travis CI, but want to migrate those tests to Github Actions. This...

On some of our older projects, we use the mysql2 gem. Unfortunately, versions 0.2.x (required for Rails 2.3) and...

makandra dev

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

Installing old Rubies (<= 2.3) with a standard rbenv + ruby-build is no longer possible on Ubuntu 20.04. This is because...

.desktop files define launchers for applications installed on your machine. They specify the command that will be executed when launched...