Blog

Find unused npm dependencies

As much as I love to sling code, I love that we live in a world where you can stand on the shoulders of giants and easily leverage other people's hard work by way of Open Source libraries. Simply referred [...]

Run command instead of alias

Recently, a buddy of mine was having some issues with Homebrew after upgrading to Big Sur. After doing the Googling he could have done on his own, I came to realize that he needed to manually upgrade to the latest [...]

Case statements in shell script

While I do love the command-line, and will throw shell script at most problems if it's the right tool for the job, it's actually fairly rare that I write case statements. Generally speaking, my shell scripts will usually interrogate a [...]

$6 VPS Showdown - April 2021 - DigitalOcean - Premium Intel vs. DigitalOcean - Premium AMD vs. Vultr - High Frequency

By popular demand, I am now doing a $6 VPS Showdown to compare the "premium" offerings from both DigitalOcean (which are fairly new) and Vultr (which have been around for a while). In the past, I did include Vultr's High [...]

$5 VPS Showdown - April 2021 - DigitalOcean vs. Lightsail vs. Linode vs. UpCloud vs. Vultr

This month is some what of a special one. First, DigitalOcean recently had their IPO, which helps further legitimizes them as a company. Also, this marks the first month where I'm doing both a $5 and $6 VPS Showdown. I [...]

Repeating Strings in JavaScript

While cleaning up some of my old notes today, specifically stuff I jotted down that would make for a good blog topic, I happened upon the topic of repeating strings in JavaScript. Things are really easy in ES6+, but if [...]

Uninstalling dev dependencies with npm

While looking into some deployment issues recently, I ran into some logic that was in dire need of being refactored. The logic in the build process was installing all dependencies with npm, then removing the node_modules directory, just to install [...]

Automatically update Arch Linux mirrors

Arch Linux is still my favorite Linux distro for desktop use and once you get it set up (which may take you a few tries, if it's your first foray) it tends to be pretty solid. That is, until you [...]

Delete all files in an S3 bucket

Last year I had sunset a project that was using both AWS' S3 and Linode's S3-compatible object storage offering. After pulling down some final snapshots, I wanted to delete the buckets on both services. Similar to the error you receive [...]

VPS Showdown - March 2021 - DigitalOcean vs. Lightsail vs. Linode vs. UpCloud vs. Vultr

Hot on the heels of Linode offering up AMD EPYC processors, DigitalOcean has started to offer "premium" CPUs as part of their Shared CPU Basic plans. Unfortunately, this new offering comes with a slightly elevated price, clocking in at $6 [...]