Excluding file name from vim fzf ripgrep

Many times, especially with customizable software stacks, there are aspects or features of the software that we wish they were done differently. Fortunately, when using open-source software, configuring said software to do our bidding could be within a few (hundred) keystrokes. T…

Optimize many PDFs at once

I had to work with many scanned PDF documents that were saved in a very un-optimal way, each one having up to tens of MBs. This was not suitable for sending via email and also unnecessary. I saw an option on my girlfriend's Mac to optimize PDF. The result was that her document dr…

Issues restoring Gitea from dump

Somehow, the official documentation for restoring Gitea from dump did not work for me. Roughly, the following command for the original rootful Docker image could look like this: /app/gitea/gitea dump --file gitea-dump.zip -c /data/gitea/conf/app.ini --skip-lfs-data --skip-reposit…

GnuPG PIN cache, Smartcards, YubiKeys and notifications

I am still obsessed with the OpenPGP smartcard. I know, it is definitely far inferior to YubiKey. It has far, far less features and it's GnuPG implementation is even riddled with serious bugs that can take days to work around. It definitely has it's peak years behind. But no matt…

Tips for a rootless Docker on Arch with Ansible

There are a few pitfalls worth noting when using Ansible when the remote is an Arch machine. I know, a weird combination. It looks more and more like basically no-one uses Arch remote with Ansible. But hey, I like it, so learning (and documenting) a thing or two along the way mig…

Rootless Docker on Arch

Currently, using a rootless Docker on Arch can reasonable be divided into two approaches: stability and performance. With the stability, the choice is a LTS kernel and a fuse-overlayfs storage driver, while under performance a latest stable kernel is used alongside the latest wid…

OpenPGP Smartcard KDF issue: Bad PIN

Both YubiKey and GnuPG are able to do many things. The difference one might point out is, that GnuPG probably does neither of them particularly well, resembling a Swiss army knife. No matter how well either of the tools handles tasks it is able to perform, both tools had became a…