makandra offers an 8 month paid trainee program 🇩🇪 for junior developers that are looking to start a professional career in...
Git has the concept of hooks: bash scripts that are invoked at certain points in the Git lifecycle. One handy...
Add support for default branches other than "master" (e.g. "main"). Will read this information from origin. geordi branch will not...
We recently migrated a Rails application from yarn to npm. We decided to go this step instead of upgrading to...
I noticed that tig 2.5.1 that is provided by Ubuntu 22.04 repositories has inferior bash completion than older versions after...
While the main goal always is to prevent long-running queries in the first place, automatic timeouts can serve as...
On our Ubuntu machines we have nautilus file manager with nautilus-extension-gnome-terminal installed. This adds an entry to...
esbuild comes with a minifier that is good enough for most cases. If you're looking to squeeze out as...
Terser is a really good minifier ("compressor") for JavaScript code. I'm often surprised by the thoughtfulness of its compressed...
With this command you can run all the spec files which have been edited or added in the current branch...
I recently stumbled over a quirk in the way Ruby handles local variables that I find somewhat dangerous. Consider:
This cards describes an example with a Github Client on how to keep your Rails application more maintainable by extracting...
After an upgrade to rails 7 I noticed that async reindexing jobs of Searchkick were failing for Model.reindex(mode: :async...
If you are using the routing-filter gem in your Rails 7.1 app for managing URL segments for locales or...
As we're switching from PT to Linear, I've updated the existing bash script to work for commits that...
Your commit messages should include the ID of the issue your code belongs to. Our preferred syntax prefixes the issue...
There are two ways a logout in SAML can happen: Service Provider (SP) initiated and Identity Provider (IDP) initiated logout...
If you are using git submodules in Gitlab CI, you might run into a "The project you were looking for...
I recently noticed a new kind of flaky tests on the slow free tier GitHub Action runners: Integration tests were...
Sometimes you have a file that is related to a project, while not actually being part of it. You'd...
A Rails script lives in lib/scripts and is run with bin/rails runner lib/scripts/.... They are a simple tool to perform...
It happens from time to time that a job in a GitLab pipeline fails. Sometimes, however, the error message is...
You can ignore certain commits when using git blame with the --ignore-revs-file option. This is handy to ignore...