Categories

Tags

All Articles

Fixing missing cycle area in Logic Pro

We’ve been spending a ton of time over the last year in Logic Pro. With 50+ songs put together, and the end goal of finally, formally releasing some material, we’ve gotten very familiar with Logic Pro and some of it’s quirks. One of my least favorite of these quirks, is […]

SSH into server with broken or missing shell

I did the unthinkable the other day. I attempted to upgrade my Debian home server (sherver) from Debian 10 to 11. In doing so, I fat fingered something in /etc/apt/sources.list. I then proceeded to run the usual update and upgrade commands, not paying any attention to any output. Then I […]

Using paths to create hierarchies in Parameter Store

Parameter Store only supports a limited number of character for the parameter name. As per the error message you’re presented with, Only a mix of letters, numbers and the following 3 symbols .-_ are allowed. What that error fails to mention is that you can actually use a fourth symbol, […]

Getting String and SecureString Parameter Store parameters with Node.js

Parameter Store has slowly become one of my favorite things about AWS. It makes it easy to share things between ECS tasks and services, and Lambdas. The parameters can be references inside of a CodeBuild buildspec file, and it’s all language agnostic, which is handy if you are running different […]

husky: command not found with npm install --production

Recently, while attempting to build a Docker container, I ran into a bit of a dilemma. Upon running npm install --production I was greeted with this less than ideal error message: > @company/[email protected] prepare > husky install sh: husky: command not found Well of course husky isn’t installed, as it’s […]

Decrypting SecureString Parameter Store parameters with Node.js

Parameter Store, part of AWS Systems Manager gives you a quick and easy way to store parameters that you’d like to use in your applications. By selecting the SecureString type, you get the added bonus of encryption for you most secret parameters. By default, when you fetch a SecureString type […]

How to use an SSH tunnel to forward ports

Security is important. Bastion hosts (or jump servers) are an easy way to wall off your private servers from the outside world. Improved security is always a good thing, but it isn’t always convenient. With a bastion host in place, you shouldn’t be able to connect directly to a private […]

Add column after another column in MySQL

By default, new columns are added to the end of a table in MySQL. This works well most of the time, but sometimes when you’re retrofitting a column into a table, you may want it to be adjacent columns closer to the start of the table. The ALTER statement makes […]

Docker Desktop won't reopen on macOS

After months of waiting, I finally received the MacBook Pro that I had ordered back in February. Thus far, it’s been a solid machine with crazy battery life, but not without it’s quirks. One recent quirk was with Docker Desktop. I had the app open and I quit it instead […]

Winding down the VPS Showdown

It’s been a long time since I wrote my original Linode vs. DigitalOcean post. The year was 2013 and it was a simpler time. Over the last [nearly] ten years, the humble post grew from being the output of my own gross curiosity about the performance of a couple of […]

How to export all photos from Google Photos

After yet another bout of operating system soul searching, I’ve landed back on both iOS and macOS. With this transition from Android and Linux, my software needs have changed. Also the Googs has been barking about my needing to upgrade if I want to continue to store my mountain of […]

How to convert JSON to CSV in JavaScript

Last week we discussed converting CSV to JSON in JavaScript. This week, we’re going to talk about going in the opposite direction, converting JSON back to CSV. Similar to last week, we’re going to use the immensely popular papaparse library. As it turns out, even though it’s touted as the […]

How to convert CSV to JSON in JavaScript

Parsing CSV data isn’t as easy as splitting the string up into individual lines, then splitting it by the delimited (in this case commas). Some of the values may have quotes around them, sometimes the values themselves have line breaks. Then there’s the potential that the data itself is malformed. […]

How to install Family Sharing apps on macOS

Switching back to an iPhone eventually led to enabling Family Sharing so that we could all use the Pro Apps I had purchased last year. The Pro Apps are quite pricey (even the Education Bundle) so it’s not something I’d want to buy and re-buy. My wife’s recent endeavor into […]

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

The big news for this month would be DigitalOcean’s announcement of their “serverless functions” product being beta released. Said functionality is the equivalent of AWS Lambda, GCP Cloud Functions and Azure Function. While not the most exciting news, as I don’t include any additional benchmarks, it did lead to me […]

How to install Node.js 18 on Ubuntu 20.04 LTS

It’s that time of year again, for not just a new version of Node.js, but for a new version of Ubuntu as well! Sadly though, my preferred method of installing Node.js on Ubuntu isn’t quite ready for Ubuntu 22.04 LTS. That’s okay though, I don’t like to upgrade to a […]

Execute command in timed intervals

Running a command (script, program, et cetera) on a regularly timed interval can be accomplished a few different ways. One way, is to leverage the crontab utility, which schedules runs to run one or more times per day. While a fantastic utility, crontab can be a bit heavy at times, […]

How to restart an AWS ECS service

Docker containers are easily one of my favorite pieces of new technology of the last decade. They’ve immensely simplified how I work locally, no more virtual machines, no more trying to keep my local development environment and production servers in parity, and no need for command-line sloths like nvm. They’ve […]

VPS Showdown - April 2022 - DigitalOcean vs. Lightsail vs. Linode vs. UpCloud vs. Vultr

The landscape of Virtual Private Servers is ever changing and evolving. Gone are the days of providers offering just servers. Many providers offer a wide range of managed services in addition to traditional VPS offerings. Maybe I’m too much of an old dog, but I’m finding the more recent trend […]

Response Time Comparison: GitLab Pages vs. Cloudflare Pages

While I compare VPS hosting providers every month, I actually don’t my personal blog (this site) on a VPS anymore. Come to think of it, I don’t even remember if this particular iteration of my own private slice of the Internet has ever been on a VPS instance. I’ve definitely […]

How to change the hostname on Arch Linux

Admittedly, I rarely ever need to change the hostname of a system. I have my own standard naming convention that I use, and will set things up at the time of installation, never to be touched again. Recently with a new work machine, I deviated from said convention, and after […]

Tracking daily active users (DAU) with Redis

Daily active users, also known as DAU, is the number of unique users that have interacted with a website or application in a given day. We’re going to discuss how to track this metric, in a language agnostic fashion. The concepts discussed and Redis commands utilized can be implemented in […]

VPS Showdown - March 2022 - DigitalOcean vs. Lightsail vs. Linode vs. UpCloud vs. Vultr

The biggest news this month is that Linode was recently acquired by Akamai Technologies for a whopping $900M. What that will do to the VPS landscape is yet to be seen. The most immediate impact I’ve noticed is that Linode is going to start charging sales tax in May. I […]

How to run a command after changing directories in zsh

About once a year or so, I go through my dotfiles and do some clean up. Usually around spring time, but also, usually after I discover some new hotness that I had not known about that I want to leverage. This year, it’s both. Spring is nearly in the air, […]

How to display a JavaScript array in HTML

From time to time, I see a search query that made it to my blog that piques my interest and inspires a post. This is one such post. How does one take an array (presumably in JavaScript) and display it in HTML? Now in this day in age, I would […]