joshtronic

Blog

Enabling and disabling unattended upgrades on Debian and Ubuntu

The unattended-upgrades package on Debian is absolutely fantastic. It takes cares of the stable packages that can be installed safely automatically, leaving you with fewer manual upgrades that you have to deal with yourself. Sadly though, I ran into an [...]

git error: path is unmerged

While attempting to update my dotfiles locally on my MacBook Pro, I ran into a bit of a dilemma with one of my files that I had edited but never committed. Not a big deal, I can just run git [...]

Key is stored in legacy trusted.gpg keyring

One of the more noticeable things to come out of me switching from Arch Linux back over to Debian, is that I'm rarely running into any issues. Because I'm not running into any weirdness, it's been at a detriment to [...]

2.4 GHz devices with Eero Mesh Wi-Fi

I'm a big fan of our Eero Mesh Wi-Fi 6 setup, even with the subscription service that will probably eventually lead to replacing it with something that doesn't have an up sell like that. It's been one of the best [...]

My favorite tech purchase of 2022

I've gotten my hands on some great tech items this year. Venturing into smart garage door openers, a handful of new Apple goodies, and even leaning into "play" a lot more thanks to Valve's Steam Deck. While those items are [...]

Node.js REPL history

Node.js has included a persistent history with it's REPL (real-eval-print loop) for quite some time now. It's a fantastic quality of life feature, and it even supports reverse-i-search. The other day, I got to wondering, where the heck does this [...]

Disabling Command+Q for macOS Terminal

I don't just use the command-line, I live on it. With doing some much on the CLI, I always have the Terminal app running, regardless of my host operating system. Sadly, on macOS, I do find myself accidentally hitting Command+Q [...]

Show hidden files with tree

The tree command is one of my favorites. As the name of the command suggests, it simply lists the contents of a directory in a tree-like format. Think of it like ls *, which outputs the contents of each directory [...]

Convert a buffer to a string in Node.js

Buffers are powerful stuff. They make it easy to work with raw binary data, and streaming data can leverage them. Many third-party Node.js dependencies leverage buffers in one way or another, especially libraries dealing with data transport. So what the [...]

Generating UUIDs with MySQL

Universally unique identifiers (UUID) are one of my favorite things. They are easy to generate, without collision, and they make it easy to expose an identifier to end users without it being so obviously guessable, like an automatically incrementing integer [...]