You can use Unpoly's up.on with a named listener function and immediately unbind this event listener with { once: true...
When you need information about a gem (like version(s) or install path(s)), you can use the gem binary...
tl;dr: Use the URLSearchParams API to make your live easier if you want to get or manipulate query parameters...
RSpec's let allows you to super into "outside" definitions, in parent contexts. Example: describe '#save' do subject { described_class.new(attributes...
To ensure a consistent code style for JavaScript code, we use ESLint. The workflow is similar to integrating rubocop...
Building application assets with esbuild is the new way to do it, and it's great, especially in combination with...
TL;DR When using Cache-Control on a Rails application, make sure the Vary: Accept header is set.
Within development and test environments, Rails is usually configured to show a detailed debug page instead of 404s. However, there...
This RailsCast demonstrated a very convenient method to activate VCR for a spec by simply tagging it with :vcr.
The gem better_errors offers a detailed error page with an interactive REPL for better debugging. I had the issue...
It seems like changing the HTTP_ACCEPT_LANGUAGE is not possible for a headless chrome. On Ubuntu the headless Chrome...
The Node Version Manager allows installing multiple NodeJS versions and switching between them. By default, it does not automatically switch...
When giving a presentation where you do some coding, the font size you usually use is probably a bit too...
When testing JavaScript functionality in Selenium (E2E), you may need to access a class or function inside of a evaluate...
There are several tools for DNS debugging which offer you more or less information. Most of the time the more...
In Ruby you can communicate between processes with sockets. This might be helpful in tests that validate parallel executions or...
Ruby offers monkey patching methods in order to change the behavior of a library if there's no better way...
In long diffs, it can become impossible to spot small changes in larger blocks of moved code. This may be...
Why improve your code reviews? Improving code review technique helps your reviewer, your team, and, most importantly: you.
If you have installed Rubocop in your project, RubyMine can show you Rubocop violations immediately in your editor. You probably...
Sometimes you want to find the inverse of an ActiveRecord scope. Depending on what you want to achieve, this is...
Ubuntu 18.04 uses systemd to manage services. There are basically two commands for listing all services and manipulating the state...
The sidekiq-rate-limiter gem allows rate-limiting Sidekiq jobs and works like a charm. However, it needs to be...
A flat folder structure can be cool if you have only a few folders but can be painful for huge...