Author: Josh Sherman
-
Fixing Chrome/Chromium address bar slowness
I’ve been back on Chrome (by way of Chromium) since earlier this year and recently, I started to experience some extreme slowness when attempting to type in the address bar. This slowness was enough for me to file this post in the “productivity” category, as it was enough for me…
-
VPS Showdown – October 2020 – DigitalOcean vs. Linode vs. Vultr
Switching things up a bit for Spooktober (doot doot) by running some benchmarks on the CPU-centric plans. Unfortunately, Lightsail and UpCloud are lacking this sort of offering, so they are omitted this month. It’s also worth noting that even though all of the plans are touting a dedicate CPU, it’s…
-
How to set Redis max memory usage
Redis is one of my favorite data stores. The multitude of data types makes it flexible enough to serve as a simple caching layer (replacing Memcached) or as a full-blown RDBMS replacement if you’re willing to jump through a few hoops. Because Redis is an in-memory data store, it’s limited…
-
How to remove UHC Motion from FitBit Inspire HR
I had high hopes for the UHC Motion program. Earning some cash just by doing what I was already doing, being active. The problem for me was in terms of how much data they wanted access to. Even though the program is based solely on your number of steps you…
-
reflector.service exists in filesystem (owned by reflector-timer)
I’ve been a bad Arch Linux user recently. Even though I speak highly about being able to run the most cutting edge software, I’ve been slacking and didn’t run an update for a while. This was primarily because I didn’t really feel like having to figure out any problems that…
-
VPS Showdown – September 2020 – DigitalOcean vs. Lightsail vs. Linode vs. UpCloud vs. Vultr
Bringing things back around to the price point that I had started with many moons ago, the $20 plan. While the lower priced systems are sufficient enough for a lot of use cases, moving up to a meatier server instance can provide instant performance gains, give you better priority on…
-
Looping through an array in shell script
Generally speaking, when I need to work with an array or dictionary type of variable, I tend to reach for something other than Bash / shell scripting. This primarily stems from the fact that Bash didn’t support arrays until version 4.x and when I first learned about them, macOS (then…
-
How to comment source code
One of the biggest offenses that I’ve seen over my entire software engineering career is a total disregard for code comments. I don’t subscribe to the idea that code should be self documenting. I do believe that human are inherently forgetful and code left undocumented is code that will bite…
-
Splitting a string into two variables
Even though the command-line is like my second home, I still fall short in terms of being able to some basic things. This is primarily because they just don’t come up that often so when I do figure out how to do it, I just don’t retain what I’ve learned….
-
How to get the default git branch
As the world has been shifting away from using terms like master and slave in technology, I was left wondering what the heck I was going to do about my git aliases that relied explicitly on the word master. git itself makes it really easy to swap the default branch…