Blog
I didn't want to download the AWS CLI client over and over, so I wrote a tiny wrapper script to run it in a docker container. I don't use it a lot as setting up shell completions is a pain, but it can be useful.
more
Procmail is an old tool, and the reason you're using it today is probably because you started using it many years ago, and changing to something else is not something you want to do. Procmail doesn't know about unicode, so unicode in headers is problematic. This post contains my solution to creating procmail rules that understand unicode subjects.
more
I recently got XPCOMGlueLoad errors when launching Firefox and Thunderbird, a web search wasn't very helpful. This is my solution.
more
I use find on a network filesystem and pipe the output to rofi for a nice menu, but the list of files got longer and longer over time and getting the results took too long. I looked around and couldn't find a solution I liked a lot so I wrote …
more
I use Gajim for Jabber chats with OMEMO on several machines. OMEMO keys are supposed to be per device, but I don't agree with that. more
I recently switched to py3status to populate my i3bar. I had several scripts I wanted to call that generate some output for the bar. Below is an example how this can be accomplished.
more
I played the guitar in one rock band and bass in nine more. Here's what I learned.
more
I use i3 with i3bar and sometimes I use external displays. When I do, I want to the systray to be on my primary monitor. I use the script below to reconfigure i3 on the fly.
more
Django models are usually created with a get_absolute_url method, but Wagtail pages don't have one. On this site I mix Wagtail pages with other Django models and needed an url without a domain in some places, below is the solution I'm using right now. Most methods to get a page … more
While interacting with gnupg on Debian/Ubuntu it is often necessary to input a passphrase. I found the most reliable way to do this from the command line is to use gpg-agent and configure the pinentry tool to be command line based. This may break GUI apps though that need a …
more