Author: Josh Sherman
-
How to Use the Option Key as Alt in Alacritty on macOS
Shaking up my tech stack has been fantastic, until it isn’t. I recently transitioned from stock terminal apps to Alacritty, and then swapped out tmux for zellij. The former has treated me well, and the latter has been extremely welcoming. That is, until I learned about some hotkeys using alt that just didn’t work on…
-
My Quest to Align Hotkeys on macOS and GNOME
I’m the type of person that will invest way too much time trying to juice my productivity. While I try to keep things as close to stock as possible, I do rely heavily on a small number of hotkeys. The problem is, the hotkeys that I’ve grown to love the most are somewhat GNOME specific,…
-
VPS Showdown – November 2024 – DigitalOcean vs. Linode vs. Vultr
After a little detour last month, comparing some higher priced plans, I brought it back down to the $5-ish range. Vultr nearly didn’t make the cut, as their site and login started to puke errors at the same time that I was starting to spin instances up. Fortunately it recovered after a few minutes, and…
-
Client-side environment variables with Next.js
Next.js does a great job with environment variables. Out of the box, it supports loading up environment variables in next.config.js as well as using a .env file. Both of which are made available inside of server components. For client-side components though, you don’t get direct access to environment variables from both locations. The Next.js config…
-
Switching to Alacritty: A Fast and Efficient Terminal
I finally went all in on switching to Alacritty. For the longest time, I’ve been a bit reluctant, sticking it out with the default terminal of my operating system du jour. On Linux, running GNOME, the GNOME Terminal was more than sufficient. Terminal.app on macOS irks me due to how the window based on the…
-
ModuleNotFoundError: No module named ‘trimage’ on Arch Linux
It’s been a minute since I’ve last used Trimage. I probably installed it when I had initially setup Arch Linux on this system. Curious about whether or not an image that was part of a pull request I was reviewing could be improved, I launched the app. Much to my dismay, nothing happened. No flash…
-
VPS Showdown – October 2024 – DigitalOcean vs. Linode vs. Vultr
Time for the spooky season edition of the VPS Showdown. The last few months have been a lot of the same, so I decided to take another crack at trying to do an apples to apples comparison, focusing on price. Even though DigitalOcean lacks a $5 plan, as the plans increase, they eventually offer a…
-
Including Dev Dependencies in a DigitalOcean App Platform Build
When working with dependencies in a DigitalOcean App Platform build, there are time when you may need to include development dependencies. Such instances arise when you’re using something like TypeScript, which you’d typically have listed in your devDependencies because it’s not a necessary dependency once you’ve transpiled your code and shipped it to production. Out…
-
How to Delete from a Table with Foreign Key Constraints in MySQL
I hate foreign keys. They are rarely implemented properly, often times failing to implement cascading deletes and updates. Sure, the concept is sound, and relationships are the first letter in RDBMS, I personally avoid using foreign keys as I find the potential for orphaned data to be way more manageable. While I don’t use foreign…
-
Quick Guide to Boss Materials in Diablo IV
Updated for Season 6 and Vessel of Hatred Similar to my quick guide to mythic uniques (which aged like milk when they made things purple) I have memory problems when it comes to which bosses need which materials, and how many. Sure, I could look at the items to see where they are supposed to…