Getting CSS (and JS) live reloading to work in a esbuild / Rails project is a bit of a hassle, but...
If you ever need to restore exact records from one database to another, Marshal might come in handy. Marshal.dump is...
Every modern Rails app should have a Content Security Policy enabled. Very compatible default The following "default" is a minimal...
While upgrading CarrierWave from version 0.11.x to 3.x, we encountered some very nasty fails. Below are the basic...
TLDR Using .includes or .eager_load with 1-n associations is dangerous. Always use .preload instead. Consider the following ActiveRecord...
Do you remember finding where a method is defined? I recently that Method objects are quite useful within a debugging...
The linked rbenv plugin rbenv-each is very helpful to keep QoL gems up to date that are not part...
Besides Plotting graphs in Ruby with Gruff, which comes handy for many uses cases, you sometimes might need configuration for...
For my computer science bachelor's thesis I programmed and evaluated a CLI Test Case Prioritization (TCP) tool for makandra...
The git doc states on the difference of these two commands: git-restore[1] is about restoring files in the...
Newest versions of Chromedriver breaks the user agent for device emulation via device name. In previous versions the user agent...
In CI test runs I noticed that string sorting order changed after switching from a debian-based PostgreSQL docker image...
You can tell npm to install a package globally with npm -g install @puppeteer/browsers. However, it seems that its not...
Note: You won't need this for single lines of text. In this case it is better to just use...
Git log offers useful options for filtering. This card provides a short overview. By message Only commits that include a...
When you write your next CarrierWave uploader, consider processing your images with libvips instead of ImageMagick. Reasons for libvips
So you have a heading that is just barely wider than the container it should fit into, and it wraps...
Splitting up commits makes the process of reviewing often easier, since you can create several merge requests or review every...
It most cases it's not necessary to add a version constraint next to your packages in the package.json. Since...
It most cases it's not necessary to add a version constraint next to your gems in the Gemfile. Since...
If you have a fully functional CI pipeline but no CD, you might find yourself frequently waiting for CI (with...
Git commands like diff use the less binary for their output representation. I often find myself searching for strings like...
Geordi will now suggest related commands and options (hand-picked). If a command has suggestions, a single suggestion is printed...
Within Vim do the following: Move cursor to the first starting line where you want to start editing