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...
Table of content for the linked article: 1. The `loading=lazy` attribute 2. Email, call, and SMS links
I encountered a unlucky behavior of byebug 11.1.3 (the most recent version at time of writing) when using it with...
Matching the "space" character class For matching whitespaces in a regular expression, the most common and best-known shorthand expression...
While renaming a file sometimes feels like "dropping its history", that is not true: Just use git log --follow on...
rspec >= 3.1 brings a method and_wrap_original. It seems a bit complicated at first, but there are use cases...
When dealing with external data sources, you may have to deal with improperly encoded strings. While you should prefer deciding...
Browsers usually cache website content in order to provide the user with faster responses. Examples are returning to a website...
You can publish pre-release versions of an npm package. Naming convention for pre-release versions An npm package must...
When a Ruby version gem has a letter in its version number, it is considered a pre-release:
The usual way to build a relation in a ActiveSupport::Concern is this: module MyModule extend ActiveSupport::Concern
In RubyMine folders can be excluded from search, navigation etc. by marking it as excluded. You might sometimes wish to...
When storing files for lots of records in the server's file system, Carrierwave's default store_dir approach may...
When deleting a record in your Rails app, Carrierwave automatically takes care of removing all associated files. However, the file...
If your Webpack build is slow, you can use the Speed Measure Plugin for Webpack to figure out where time...
To run additional code before an existing Rake tasks you can add a dependency like this: task :before_task...
Sometimes you want to load code on demand. For instance, when a a large library is only used on a...
Webpack builds can take a long time, so we only want to compile when needed. This card shows what will...
Use rules to include or exclude jobs in pipelines. Rules are evaluated in order until the first match. When a...
This card is a general reminder to avoid the short version of a command option in shared code. It's...
Installing gems on a server that has no access to the internet (especially rubygems.org) requires to bundle the gems into...
Generate a password htpasswd -Bn firstname.lastname This will ask you for a password and use bcrypt (-B, more secure) and...
If a project ist configured to spawn CI runners for tests or deployment when pushing to the Repo, a habit...