Author: Josh Sherman
-
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 stash and apply the changes again later. No such luck…
-
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 my blog, as my time on Arch was a constant…
-
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 setups we’ve had, handling both multiple story and single story…
-
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 all well and good, and have been serving me quite…
-
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 history even live? Turns out, it’s just living in a…
-
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 from time to time, which abruptly bails me out of…
-
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, but instead of a flat list, the files are shown…
-
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 heck are we supposed to do with a Buffer when…
-
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 value. While they are fantastic, the ability to generate one…
-
Reinstalling packages on Debian and Ubuntu
My recent migration from Arch Linux to Debian (testing) has been an extremely smooth one, but not without it’s issues. A small issue I ran into early on was a problem with totem, the video app, crapping out. While I’m not sure exactly what the heck went wrong, the quick…