Categories

Tags

All Articles

[FIXED] Repository 'http://security.debian.org/debian-security buster/updates InRelease' changed its 'Suite' value from 'stable' to 'oldstable'

Even though I haven’t upgraded from Debian 10 “Buster” to Debian 11 “Bullseye”, I’ve already been bitten by a bug. The bug showed up in one of my local Docker containers that is running Debian Upon starting the container, I run apt-get update and was faced with this nasty thing: […]

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

September, the last month of summer (in the northern hemisphere at least) but not the end of comparing a few VPS providers. Didn’t see a lot happening this month side from Vultr starting a beta period for their Kubernetes offering in a few of their data centers. As always, I’ve […]

Remove unnecessary files in node_modules

As the meme goes, the object with the largest mass in our universe is the node_modules directory. Generally speaking, storage is cheap, and while an unkept set of dependencies can be quite messy (and often times a security hazard), the size of your node_modules directory tends to not be of […]

Multi-factor authentication (MFA/2FA) not working

Multi-factor authentication is an absolute must to help maintain the highest level of security on your accounts. There’s many ways to go about MFA/2FA from using an authenticator app to receiving a text message on your phone. Regardless of the method you choose, the day may come that your are […]

Debugging an AWS Lambda that stopped working

My wife and seed would agree that talking about AWS Lambdas are in my “big three” of things to not shut up about, along with fishing and professional wrestling. Regardless, I do love them so (both the Lambdas and the fam bam). As I’ve grown to use them more and […]

Fixing Nest error e73 - No power to Rc wire detected

It’s been heating up in Texas recently, even more so when I had discovered that our Nest unit was giving us grief about the “Rc wire” not being detected. This is an existing unit, not one that I recently installed, so I was skeptical that the wire wasn’t connected properly. […]

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

It’s that time again! Been extremely busy on my end, so it’s more of the same at the moment in terms of what’s covered. Something notable that I had missed last month is that UpCloud is now offering managed database hosting along with their VPS and other products (block and […]

How to kill a query on Amazon Relational Database Service (RDS)

Coming from MySQL / MariaDB, I was surprised that I couldn’t kill a query on an Amazon’s Relational Database Service or Amazon Aurora with the kill command. Fortunately, the functionality isn’t omitted, it’ just buried under some AWS RDS specific command. Before we go over that, let’s go over how […]

Setting an authorization header when using file_get_contents with PHP

Going through some of my old lists of blog post ideas this weekend. While it’s not something I’ve needed for a minute, it’s still something worth taking about. How to set an authorization header when using PHP’s wonderful file_get_contents() method. Similar to an old post of mine talking about specifying […]

How to push an empty git commit

We’ve all been there. We need to trigger something from a commit to a git repository, and instead of triggering the build directly, we end up tweaking something in a file, committing it, and pushing it. It’s usually just adding a blank line (and subsequently removing it, depending on where […]

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

I got a few bits of feedback recently that I took into consideration before doing this month’s benchmarks. The first bit was to include some additional price points and plan types instead of just the $5 plan. The other (opposing) bit of feedback was to start including some content that […]

Migrating from aws ecr get-login to aws ecr get-login-password

I’m not entirely sure when the change happens, but recently as I was upgrading AWS CodeBuilds to use a newer version of Ubuntu, I ran into some problems with aws ecr get-login. Without making any code changes, my build started to fail with the following: [Container] 2021/06/21 20:44:19 Running command […]

Get original URL from Bitly link

It’s been a while since I’ve actively engaged with a URL shortener, but recently I started to receive some text messages that contained Bitly links. The messages were phishing scams related to Coinbase, with a Bitly URL attached. Presumably, the link would take you to their site so you can […]

Using `find` with symbolic links

Symbolic links, or symlinks come in handy when you need to share directories with multiple directories and not have to worry about keeping each linked instance in sync. The problem with symlinks is that not every command-line utility supports them, and often times, they do support them, but it’s not […]

yay: error while loading shared libraries: libalpm.so.12

One of my favorite things about Arch Linux is the Arch User Repository (AUR). It’s a community maintained collection of packages for just about every damn thing you may want or need. One of my least favorite things about Arch Linux is that the Arch package manager, pacman doesn’t install […]

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

Have had some requests for some comparisons of different plans (like the dedicated CPU offerings) and different price points, but considering it’s the last month of the quarter, I figured I would just stay the course and stick to the same comparisons as I’ve done the past few months. Next […]

Unlock user after too many failed sudo attempts

As many of you may already know, I tend to blog about the real-life problems that I’ve run into in the previous week or so. This makes it easy to come up with blog content, but also gives me a dedicated resource to reference if/when one of these problems pops […]

How to push to multiple git repos at once

A while back I fell in love with GitLab, specifically their GitLab Runners. This was at a time before GitHub had GitHub Actions, so I decided to move the majority of my git repositories over to GitLab. Fast forward a few years, GitHub has Actions, and more importantly, it seems […]

How to install Node.js 16 on Ubuntu 20.04 LTS

Ubuntu tends to drop a new version of their April release shortly after a new version of Node.js drops. Every other year, this Ubuntu release is a long-term support release, which has a longer shelf life in terms of support and maintenance compared to their interim releases. True to form […]

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

Switching things up a small bit this month. Last month, I had introduced a “$6 VPS Showdown” as a separate post alongside my existing $5 post. This was all well and good, but best as I can figure, there’s no reason to have them split out, as most folks probably […]

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 to as “dependencies”, these little code gems can save a […]

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 version, that was compatible with Big Sur. He said he […]

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 variable or two, never too crazy or anything. With that, […]

$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 Frequency plan in my $5 VPS Showdowns, but it always […]

$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 know some of you probably want to see a comparison […]