eregon.me

Bundler 2 introduced various incompatibilites und confusing behavior. To add to the confusion, Bundler's behavior changed after the release...

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

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

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

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

Projects with more than one developer should always consider to enforce code review even for small changes to improves the...

This collection contains some useful design resources for developers. Many of them were mentioned in the Refactoring UI tutorials.

Most of the time it is a tedious task to apply a code style guide to an existing code...

As an application exists, data accumulates. While you'll be loosely monitoring the main models' record count, some supportive database...

When using Chrome for Selenium tests, the chromedriver binary will be used to control Chrome. To debug problems that stem...

web.archive.org

Use the compile function to change the original DOM (template element) before AngularJS creates an instance of it and before...