How to make systemd units depend on specific hardware

Sometimes you need a systemd service to wait for a specific hardware device to be available before starting. For instance, when starting an X11 session as a service, you want...

The case of the mysterious XFS corruption: A NIC swap gone wrong

What started as a simple network card upgrade on my home server turned into quite the troubleshooting adventure. I thought I’d share this experience since it taught me some valuable...

Creating a memory-backed storage on Linux

Frequently you’ll find that tmpfs is the most convenient one. Alternatively there’s also ramfs and ramdisk. Starting with ramfs, it’s a memory FS that when mounted, it can use up...

Authenticate to Git with different users on different repositories

Sometimes you might need to use different Git repositories on your computer, but authenticating to separate users, such as your personal and your work user. Fortunately, git provides us with...

wmcompanion - Desktop environment features to your minimalist WM

You use a minimalist tiling window manager, yet you want to be able to tinker with your desktop more easily and implement features like the ones available in full blown...