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…

Merge repos using git-filter-repo

I have already written how useful a tool git filter-repo is for cleaning repositories. I made some extensive use of the newfound knowledge since to undo some previous bad decisions in my private repositories. Here's a list of commands for merging project-a into project-b for a re…

List executable files with fzf

Sometimes I find myself in the need to take a look at the executable files available in the current project directory, choose a suitable one and run it, potentially specifying some parameters. Unfortunately, package managers did not agree on a path, where the executable files sho…

Git sign previous commits keeping dates

Sometimes you might need to re-sign your previous commits using GnuPG. This process rewrites the git history in a sense of changing commit hashes. What is more, it also changes the date when commit was made. If not done properly, the repository looks like if there was no history …

Clever uses for git-filter-repo

There is a common saying around version control systems stating the following: Do not rewrite the history. And it is pretty solid saying to be fair, supported at many threads, for instance at FS#45425 or elsewhere. You simply have to assume that once you pushed something into t…