When restoring a barman PITR backup you may encounter this error: Copying required WAL segments. EXCEPTION: {'ret': 2, 'err': '/bin/sh...

Install the latest bundler version: gem install bundler Fetching bundler-2.3.5.gem Successfully installed bundler-2.3.5 1 gem installed Update the bundler...

For newer Ubuntu versions we currently need to install the patch level version 1.8.7-p375, otherwise the dev dependencies from...

When tests might not run with skipping RSpec in the RSpec.describe failing with the error undefined method 'describe' for main...

makandra dev

A primer on vector graphics For rastered image formats like JPG or PNG, each pixel is basically drawn on a...

So I had the issue that User input (coming from many different sources and users) often contains the...

makandra dev

Fixed #68: The "cucumber" command now fails early when @solo features fail. Added: The "setup" command now prints the db...

You can use the Youtube API to get data from youtube. Here are some resources and some things that are...

matthewphillips.info

A while ago I tweeted a thread about how a small JavaScript snippet, one that can fit in a single...

There is a kind of features in web applications that hinder automated integration tests. Examples include cookie consent banners or...

Rubygems supports a 2FA for your account. Once enabled you need to provide your personal OTP code for every release...

api.rubyonrails.org

ActiveSupport (since 4.1) includes test helpers to manipulate time, just like the Timecop gem: To freeze the current time, use...

This is a bookmarklet you can add to Chrome or Firefox which will allow you to create a story in...

When text renders differently in Firefox and Chrome, it may be caused by a font alias that both browsers handle...

jQuery is still a useful and pragmatic library, but chances are increasingly that you’re not dependent on using it...

The Ruby standard lib ships with a YAML Parser called Psych. But serializing and deserializing data seems not as obvious...

Capybara provides execute_script and evaluate_script to execute JavaScript code in a Selenium-controlled browser. This however is not...

makandra dev

There is a practical short list for valid/invalid example email addresses - Thanks to Florian L.! The definition for valid emails...

Rails uses a CSRF token in forms and AJAX requests to verify a user request. Internally it compares the injected...

Normally, Rails handles encryption and signing of cookies, and you don't have to deal with the matter. Should you...

Unicorn allows you to specify the maximum number of workers. In development this could be useful if you use a...

The bin/webpack-dev-server command is not as smart as e.g. rails server, where it shows the proper fix within the error...

There was an issue with makandra_sidekiq < 0.2 concerning the stopping of Sidekiq. Sidekiq < 6 has two finishing timeouts: one...

coffeescript.org contains only documentation for the latest CoffeeScript version. Version 2 transpiles to ES6. We stopped using CoffeeScript a while...