Author: Josh Sherman
-
Phoning it in
I pride myself on never phoning it in. I’m a passionate individual and I try to always bring that fire into whatever I’m doing. I’m a big believer in Extreme Ownership and giving 110%, cranking it 11, or whatever other euphemism you can throw in to describe the situation. That…
-
Overengineering Challenge: Is Number Even or Odd in JavaScript
Code golfing is fun, and makes for great blog posts. The problem is, the world is flooded with posts attempting to show you how to write the best / most concise code imaginable. With that, I decided that it would be a fun challenge to attempt to take a simple…
-
GNOME screen locking not working
I love Linux, but every so often something happens that makes me question whether or not my love affair since the mid-1990s is true love or just Stockholm syndrome. One such instance happened recently when, for no explicable reason, my laptop, running GNOME (on Arch Linux) decided to stop locking…
-
VPS Showdown – February 2021 – DigitalOcean vs. Lightsail vs. Linode vs. UpCloud vs. Vultr
It was just last month that I had added a bit more information about the CPUs that each provider was reporting. Wouldn’t you know it, this month the Linode instances tested were reporting AMD EPYC 7542 32 Core Processors, same as UpCloud has been offering. As one would expect, this…
-
Search and replace filenames
Recently, while working with a bunch of files, I came to realize that I needed to rename every single file. Not just that, I only needed to rename a small bit of the filename. If I was working with a document, I wound have leveraged a “search and replace” feature,…
-
Recursively create directories with Node.js
Recently, while working on a new project, I needed to create a series of nested directories. From the command-line, it’s easy enough, just pass -p to mkdir and it will create all of the parent directories automatically. With modern versions of Node.js, specifically 10 and above, you can achieve the…
-
Broken icons on OpenWeather GNOME Extension
I don’t use many GNOME Extensions. Nothing against them, but less extensions means less crap to break when the latest GNOME release drops. For the most part, I opt for extensions that well maintained and not prone to breaking between major releases. Things were peachy for a while, but recently…
-
VPS Showdown – January 2021 – DigitalOcean vs. Lightsail vs. Linode vs. UpCloud vs. Vultr
New year, new VPS Showdown! While I don’t usually make big changes to these posts month to month, I do try to refresh them every year or so. This year’s improvements include commas (on the larger numbers) and charts! I’ve also made the decision to drop the High Frequency plan…
-
Counting files in multiple directories
Last week I discussed counting files in the current directory. It was a quick and dirty way to get the number of files in a directory with some pretty strong assumptions about the type of files / directories that your current directory contained. Sure, it was a short sighted in…
-
Counting files in the current directory
As the year comes to a close, I like to look back and see how many blog posts I have written for the year. My blog is powered by Jekyll and I like to keep my posts organized by year, in directories. With all of my posts in one place,…