I got the following error on a regular find command looking for files in the data directory of my Nextcloud instance: $ find /media/nextcloud/ -name "potato" find: File system loop detected; ‘/med...
Make error: Argument list too long
I got the following error compiling nodejs v16.15.1 with GCC v10.3.0: touch /theia/scratch/brussel/vo/000/bvo00000/vsc10000/easybuild/install/skylake/build/nodejs/16.15.1/GCCcore-10.3.0/node-v1...
Navigating through the parent directory of symlinks in bash
Changing directory cd to a symlinked folder can have unexpected consequence on how certain commands in bash behave. For instance, assume that we have the following file structure where active_proj...
Kernel EFI stub boot with Btrfs root
We can directly boot into the Linux kernel without any secondary bootloader (e.g. GRUB) by enabling support in the kernel for the EFI bootloader. Processor type and features ---> [*] EFI r...
Bootstrapping a headless Raspberry Pi
Nowadays, thanks to the rpi-manager from Raspberry Pi OS, it is quite trivial to bootstrap a Raspberry Pi into a working system in your network with no other interaction than inserting the SD card ...
Edit systemd units
Unit files in systemd can be mended without modifying the actual unit file. This is useful to apply custom modifications to systemd services that will survive updates of the package, as system upda...
Git repos in Nextcloud
The usual solution to put git repositories on a remote server is to transfer and sync them with SSH. However, in cases where setting up the SSH connection is troublesome (e.g. lack of SSH server or...
Cron jobs with systemd
Systemd has timers, which can be used as an alternative to cron to schedule jobs. The timers infrastructure is quite powerful and is described in detail elsewhere. ⁽¹⁾ ⁽²⁾ The following shows comm...
Linker error: multiple definition of symbol
I got the following error from the linker ld.gold while linking libsumo in a build of SUMO with bindings to FOX-toolkit: g++ -fPIC -O2 -ftree-vectorize -march=native -fno-math-errno -std=c++11 ...
Poor man's history fuzzy finder
Fuzzy finders are very useful tools to skim through long lists of results by filtering those items that approximately match a given string(s). In linux, we can get a fuzzy finder right in the termi...
Sharing notes with Carnet and Nextcloud
Carnet is an open-source note taking app with a lean WYSIWYG interface that is very easy to use. Combined with its capability to use any Nextcloud instance as its storage backend, Carnet is a very ...
Mirrorless camera as webcam in Linux
Some modern camera models can be directly connected to the computer through USB and be detected as a webcam. That’s the easiest setup, but beware that this mode of operation might need special prog...