Categories

Tags

Page 2 of All Articles

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 […]

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

Even though you should be considering upgrading this interim release of Ubuntu, you can still leverage the latest version of Node.js to squeak just a bit more life out of it. Follow these quick and easy steps to install Node Version Manager and Node.js v14.x on your EOL Ubuntu 17.04 […]

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

You consider 2016 to be “your year” so you’ve been reluctant to upgrade from the last version of Ubuntu released that year. Even though it’s well past end of life as an interim release, you can still run the latest version of Node.js. Follow these quick and easy steps to […]

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

While not quite at end of life, Ubuntu 16.04 LTS is still working hard for some of us. Even on an aging workhorse, you can leverage the power of the latest and greatest version of Node.js. Follow these quick and easy steps to get Node.js v14.x up and running on […]

How to install Node.js v14.x on Debian Testing

You’re living life very close to the bleeding edge on Debian Testing, no reason to not run the latest version of Node.js. Follow these quick and easy steps to install Node.js v14.x on your Debian Testing system.<h2 id="getting-started">Getting started</h2> Before we can install Node.js we need to ensure that we […]

How to install Node.js v14.x on Debian Sid

You’re right on the bleeding edge of Debian, why not be on the bleeding edge with Node.js? Follow these quick and easy steps to get Node.js v14.x up and running on your Debian Sid / Unstable system.<h2 id="getting-started">Getting started</h2> Before we can install Node.js we need to ensure that we […]

How to install Node.js v14.x on Debian 9

Just because you haven’t made the jump to Debian 10 yet, doesn’t mean you shouldn’t enjoy the power of the latest and greatest version of Node.js. Follow these quick and easy steps and you’ll be running Node.js v14 on Debian 9 in no time!<h2 id="getting-started">Getting started</h2> Before we can install […]

How to install Node.js v14.x on Debian 8

Debian 8 still has some long term support life left in it. While you’re deciding on when to schedule your upgrade to Debian 9 or 10, why not give the latest version of Node.js a try? Follow these quick and easy steps to install Node.js v14.x on your aging Debian […]

How to install Node.js v14.x on Debian 10

Already running the latest and greatest version of Debian, version 10, and want to run the latest and greatest version of Node.js? If so, follow these quick and easy steps and you’ll be off to the races with Node.js v14.x.<h2 id="getting-started">Getting started</h2> Before we can install Node.js we need to […]

Recursive functions in TypeScript

In working with the Slate framework for building rich text editors recently, I found myself faced with a scenario where I needed to loop through the editor’s value. The value that comes out the editor is an array of objects that is nestable, I assume infinitely, by way of the […]

Recursive types and interfaces in TypeScript

When writing out a type or interface in TypeScript for something that will be fed into a recursive function you could cop out and use any or you could properly define the structure. Fortunately, both type and interface allow you to be self referential in terms of defining properties. Let’s […]

Error: Cannot resolve a DOM point from Slate point

By way of recommendation (thanks Brewer), I’ve been messing around with Slate.js a ton. Such is life, I did have my fair share of issues, particularly in terms of getting it to function like a chat message input where hitting Enter will submit the form and reset it to it’s […]

Resetting a Slate.js editor to an empty state

I’ve been messing with Slate.js and happen to be using it in the context of having a persistent editor on the page that can be used post from. It’s sort of like a chat’s message input, it’s always there, and when you submit it, it resets back to it’s original […]