If the project you're working on has, say, 39 repositories and counting in GitLab and you need all the...
To allow HTTP 304 responses, Rails offers the fresh_when method for controllers. The most common way is to pass...
I recently wanted to add a model for address information but also wanted to add a unique index to those...
Imagine these models and associations: class Deck < ApplicationRecord has_many :cards end class Card < ApplicationRecord belongs_to :deck, optional: true...
It might sometimes be useful to check whether your Rails application accesses the file system unnecessarily, for example if your...
Wir wollen im Detail verstehen, wie in Unix-Systemen Prozesse gehandhabt werden und wie wir Prozesse aus dem Userland behandeln...
Wir arbeiten bei makandra alle auf Linux-Betriebssystemen und bedienen im DevOps- & Cloud-Bereich primär Kunden, die ebenfalls auf Linux...
Building application assets with esbuild is the new way to do it, and it's great, especially in combination with...
Jasmine is a great tool to unit test your JavaScript components without writing an expensive end-to-end test for...
Sometimes you need to access a dev server running on localhost from another machine that is not part of the...
A flaky test is a test that is often green, but sometimes red. It may only fail on some PCs...
Inspired by recent "git shortcut" cards I figured it would be nice to have one of these for rebasing a...
git --fixup is very handy to amend a change to a previous commit. You can then autosquash your commits with...
We had a card that described how to install multiple mysql versions using mysql-sandbox. Nowadays with the wide adoption...
What is netfilter's Connection Tracking system? The connection tracking system often referenced as nf_conntrack is part of the...
Accessing other repositories in Gitlab CI is not straight forward, since the access rights of the current pipeline might not...
6.0.0 2021-06-02 Compatible changes geordi commit will continue even if one of the given projects is inaccessible. It...
When giving a presentation where you do some coding, the font size you usually use is probably a bit too...
We have observed Lenovo laptops with nvidia graphics losing performance after they have been in use for a few minutes...
While renaming a file sometimes feels like "dropping its history", that is not true: Just use git log --follow on...
When storing files for lots of records in the server's file system, Carrierwave's default store_dir approach may...
To attach files to your records, you will need a new database column representing the filename of the file...
I really love to use the shortcuts CTRL+Alt+ Arrow Left and CTRL+Alt+ Arrow Right to navigate through the...
The ActionDispatch module of Rails gives you the helper method flash to access the flash messages in a response.