Blog

How to run a command after changing directories in zsh

About once a year or so, I go through my dotfiles and do some clean up. Usually around spring time, but also, usually after I discover some new hotness that I had not known about that I want to leverage [...]

How to display a JavaScript array in HTML

From time to time, I see a search query that made it to my blog that piques my interest and inspires a post. This is one such post. How does one take an array (presumably in JavaScript) and display it [...]

How to fix signature is unknown trust on Arch Linux

My continued love/hate relationship with Arch Linux continually yields topics to blog about. This week's topic reared it's head while attempting to perform an update after waiting a bit longer than I usually do, which yielded an error about one [...]

VPS Showdown - February 2022 - DigitalOcean vs. Lightsail vs. Linode vs. UpCloud vs. Vultr

Around this time last year, we were dealing with one of the worst winter storms in Texas history. While it's still pretty cold, we've been extremely fortunate this year. Hopefully everybody reading this is staying warm (or cool, if you're [...]

How to fix tlp and power-profiles-daemon are in conflict on Arch Linux

I've been attempting to move to a more regimented weekly to every other week update of my Arch Linux systems. In doing so, I've stopped blocking Kernel updates and rebooting a bit more frequently. Of course, due to the nature [...]

Reattaching to a still attached GNU Screen session

While tmux is my daily driver for local terminal multiplexing, I still use GNU screen when I'm working on remote servers. The primary reason for this is to avoid nesting tmux sessions. I can use tmux locally, ssh to a [...]

How to get a time-based one-time password secret from a QR code

More and more services are adopting a "can't scan the QR code" option that reveals the secret token. Some even go as far as offering up the secret token along side of the QR code. Others present you with the [...]

Splitting strings and keeping the separator in JavaScript

When splitting strings, the majority of the time, I don't care about the separator (or delimiter), just the strings that exist between it. In JavaScript, that's very simply with .split(): 'one,two,three,four,five'.split(','); Which will yield an array of strings like this [...]

VPS Showdown - January 2022 - DigitalOcean vs. Lightsail vs. Linode vs. UpCloud vs. Vultr

So 2021 was interesting. Not going to bore you with the details of my life, but I am ready to bore you with the details of the world of virtual private servers! I forgot to do my "Christmas wish list&quot [...]

How to reset Brother HL-L3210CW Toner Cartridges

It took nearly two years, but we finally "ran out" of black toner for our all-time favorite printer, the Brother HL-L3210CW Laser Printer. More on why "ran out" is quoted in a moment ;) Personally, I hate owning a printer [...]