TL;DR If state matters then check it in the beginning or handle it on a failure... Let me explain I ran into some trouble recently almost losing some encrypted data... Now this would be the second time I've had that happen, so I'm going to write a l ... read more →
TIL: Monolith I needed to save a website earlier and this was just what I needed... https://github.com/Y2Z/monolith read more →
I am moving a hefty amount of data to a new ZFS pool due to some corruption and I want to avoid using zfs send/recv for this just to make sure I don't propagate any corrupted data to my new pool. I've used rsync for simple things before but I needed ... read more →
hostnamectl is apparently a linux utility for easily changing your hostname in a variety of ways ❯ hostnamectl --help hostnamectl [OPTIONS...] COMMAND ... Query or change system hostname. Commands: status Show current hostname s ... read more →
Plasma shits the bed a little too often on Fedora for me right now but I finally have a quick fix... sudo killall plasmashell kstart plasmashell read more →
To customize k9s use the skins from catppuccin or the ones k9s supplies OUT="${XDG_CONFIG_HOME:-$HOME/.config}/k9s/skins" mkdir -p "$OUT" curl -L https://github.com/catppuccin/k9s/archive/main.tar.gz | tar xz -C "$OUT" ... read more →
I started deploying a website to Cloudflare on a branch called pages. Similar to one of the GH Pages deployment patterns. But when my CI was pushing the branch I couldn't see it locally... git fetch -a wasn't pulling any new branches, and git branch ... read more →
git config --add --local core.sshCommand 'ssh -i <<<PATH_TO_SSH_KEY>>>' read more →
I've been using paperless-ngx to manage all my documents, but every once in a while I'll get a .docx file to deal with... Turns out Libreoffice has a headless mode a pdf converter built-in! libreoffice --headless --convert-to pdf /path/to/file.docx ... read more →
ffmpeg -i input.mp4 -map 0 -c:v libx264 -vf format=yuv420p -c:a copy output.mp4 read more →