Page 2 of All Articles

Allow dots in paths with webpack-dev-server

Generally speaking, I don’t use dots (periods, full stops, whatever else they may be called) in the URI for a website. That was, until I made the . an allowable character for user names on one of my projects. Allowing the character was a big deal at all with Express.js […]

How to get the first and last item from an array in MongoDB

One of the great features of MongoDB is the ability to store an array in a document. While I’m fully aware that there are issues with storing unbounded arrays in MongoDB, due to document size limitations, there are times when you may want to store data in an array that […]

swapon: swapfile has holes

While I do absolutely adore Arch Linux, it wouldn’t be Arch without running an upgrade and having a problem crop up out of no where. This time around, the issue showed up after a reboot when I saw the following error scroll past before I was presented with the GNOME […]

VPS Showdown - Singapore - July 2020 - DigitalOcean vs. Lightsail vs. Linode vs. UpCloud vs. Vultr

By request, we’re revisiting the Singapore data centers for this month’s VPS Showdown. Incidentally, while not part of the benchmarks currently, Linode did expand their S3-compatible Object Storage to the Singapore data center. They also turned 17 in mid-June with their usual slew of announcements, and upgrades for existing customers. […]

Load pubkey "/path/to/private.key": invalid format when using SSH

Been hitting the lottery with system upgrade related issues as of late. The latest come in the form of ssh barking about an invalid public key when connecting to a server. This wasn’t happening on all of my servers, just one in particular. Also, it wasn’t actually stopping me from […]

How to set the background color of a Google Chart

As luck would have it a Google Chart I had created some time last year, which was looking great for a while, recently decided that the background color of the chart itself was going to switch from the color I had set to the default color, white. This was quite […]

Fixing an Arch Linux system missing vmlinuz

I run into my fair share of “gotchas” as an Arch Linux user. I also stand firmly that I’ve always ran into my fair share of “gotchas” running Linux in general. In fact, I’ve even run into my fair share of “gotchas” on both macOS and Windows systems, so maybe […]

Unable to upgrade ttf-google-fonts-opinionated-git on Arch Linux

From time to time a routine upgrade on Arch Linux ends up causing me a bit of grief. Fortunately, I do like a bit of chaos from time to time and the opportunity to solve problems is why I got into software engineering to begin with. This particular issue was […]

VPS Showdown - June 2020 - DigitalOcean vs. Lightsail vs. Linode vs. UpCloud vs. Vultr

After a few months of without Lightsail and UpCloud, it’s time to bring them back into the fold and subsequently roll back to benchmarking on Ubuntu 18.04 LTS instead of 20.04 LTS. That said, the only provide that doesn’t support the latest and greatest version of Ubuntu is Amazon Lightsail […]

Increase memory limit for Composer

Gone are the days of stitching together disparate services in an effort to create a solid continue integration and deployment pipeline. GitLab has had it’s Runners for a while and recently GitHub stepped into the mix with their Actions offering. Because of this, using external services like Travis CI or […]

How to escape curly brackets in Liquid templates

My blog is generated by Jekyll. Jekyll uses Liquid for it’s templates. I include a decent amount of source code in my articles and sometimes the syntax collides with Liquid’s own syntax. Then this happens: Liquid Warning: Liquid syntax error (line 34): Expected end_of_string but found comparison When that, happens, […]

Only run step for specific version with GitHub Actions

With my recent exploration of GitHub Actions, I’ve had to figure out things that I’ve already figured out with other systems like GitLab Runners and Travis CI. One such thing is conditionally running steps. For things like code coverage, I’m only interested in sending off the coverage report to the […]

Hiding scroll bars while maintaining scroll functionality in modern browsers

As I’ve been rebuilding my social network from the ground up recently, I’ve been extremely mindful of the fact that 60% of my users are experiencing the site on a mobile device, specifically phones. Because of this, I’ve been attempting to craft a user interface that functions nearly identical on […]

Moving from only syntax to rules syntax in GitLab CI/CD v13.x+

Saw a recent announcement from GitLab that the only and except syntax for GitLab CI/CD was going to be deprecated soon in the v13 release. Amendment: The only / except syntax isn’t actually being deprecated as pointed out by Jason Yavorska. It’s actually related to a template that is deprecating […]

The repository does not have a Release file on older Ubuntu releases

Recently I working on some posts on how to upgrade to Node v14.x on a variety of different versions of Debian and Ubuntu. The big gotcha came with trying to get things running on versions of Ubuntu that were at end of life and no longer receiving security updates. The […]

Replacing text in multiple files with sed

My buddy Justin FINALLY got his website back up and running after “accidentally” letting his domain lapse. On a new domain, of freaking course, which unlocked a task on my TODO list as I needed to update a bunch of broken links on my site to point to his new […]

Replacing multiple strings with sed

While I’m the guy that effectively lives on the command-line, I still rarely use sed. As I’ve been trying to use it more, I’ve run into some gotchas, mostly around the regular expression syntax and doing multiple replacements at one time. Fortunately, both are easy enough to accomplish. Doing multiple […]

VPS Showdown - Germany / Ubuntu 20.04 LTS - May 2020 - DigitalOcean vs. Linode vs. Vultr

Yes, another month’s post with less providers. For good reason though, as Ubuntu 20.04 LTS was recently released and I wanted to give it a whirl. Amazon is fairly notorious for being late to deliver new operating system releases, but the shocker was that UpCloud was also not offering up […]

How to install Node.js v14.x on Debian and Ubuntu

Big week for both the Node.js universe and the Ubuntu universe. Node.js version 14.x dropped on Tuesday the 21st with Ubuntu 20.04 LTS coming in hot on Thursday the 23rd. Both releases are important because they are both long term support releases. Node.js v14.x isn’t currently LTS, but it will […]

How to install Node.js v14.x on Ubuntu 20.04 LTS

The latest and greatest long term service release of Ubuntu is here and there’s no reason that you shouldn’t get to enjoy the latest and greatest (soon to be) long term service release of Node.js as well. Follow these quick and easy steps to install Node.js v14.x on your shiney […]

How to install Node.js v14.x on Ubuntu 19.10

Even though Ubuntu 20.04 LTS is right around the corner, that doesn’t mean you’re going to jump right on it. If you’re waiting for that first point release but still want to harness the power of the latest and greatest version of Node.js, you can follow these quick and easy […]

How to install Node.js v14.x on Ubuntu 19.04

Just because you’re a couple of versions behind the current Ubuntu release doesn’t mean you shouldn’t get to take advantage of the latest version of Node.js. Follow these quick and easy steps to install Node.js v14.x on your Ubuntu 19.04 system.<h2 id="getting-started">Getting started</h2> Before we can install Node.js we need […]

How to install Node.js v14.x on Ubuntu 18.10

You know your Ubuntu system is a bit behind, but who has time for system upgrades? Any why should that stop you from being able to use the latest version of Node.js? Turns out, it doesn’t, and by following these quick and easy steps you can run Node.js v14.x on […]

How to install Node.js v14.x on Ubuntu 18.04 LTS

Ubuntu LTS releases are built for the long haul and even with Ubuntu 20.04 LTS right around the corner, it may be a while before you upgrade your system. No reason you should be stuck with an older version of Node.js the whole time. Follow these quick and easy steps […]

How to install Node.js v14.x on Ubuntu 17.10

While technically at end of life, if you’re stuck on the older Ubuntu 17.10, you can still enjoy the latest version of Node.js. Follow these quick and easy steps to get Node Version Manager and Node.js v14.x installed on your Ubuntu 17.10 system.<h2 id="getting-started">Getting started</h2> Before we can install Node […]