When testing with Cucumber / Caypbara, iframes are ignored, so you can't interact with them. To interact with your iframe...

Ruby's String#split returns an array of substrings from the given string. Usually, this is missing the split characters...

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

SSHKit 1.9.0 might fail with the following error, when trying to deploy a Rail application. Upgrading the gem to version...

Whenever requires you to set the application attribute in your Capistrano configuration. Otherwise your cronjobs are created multiple times.

makandra dev
howvideo.works

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

Using Ruby 1.8.7 you will not be able to use the maximum versions Rubygems 1.8.30 and Bundler 1.17.3 with https://...

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.

stackoverflow.com

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

IRB 1.2 (shipped with Ruby 2.7, but works on 2.5+) brings pretty syntax highlighting and multiline cursor navigation. However, pasting...

makandra dev

This card is mainly an explanation how variable fonts work in CSS, not necessarily a recommendation to actually use them...

makandra Operations

Getting the whole bucket size aws s3 ls s3://$BUCKETNAME/ --recursive --human-readable --summarize | tail -n2 Tail is used because...

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...

martin-riedl.de

A practical and detailed walk-through tutorial on using ffmpeg for live-streaming HLS, filled with real-world examples.

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...