Author: Josh Sherman
-
Switching from Arch Linux back to Debian
After the better part of the last decade running Arch Linux as my primary distro of choice on my laptops, I’ve decided to hang it up and move back to Debian. That’s not to say that there’s anything wrong with Arch Linux. In fact, it’s been one of my favorite…
-
Screenshots are not documentation
Repeat after me, “screenshots are NOT documentation”. Neither are videos, looms, or animated GIFs. Links to Google Docs or random websites, better, but not best. The aforementioned media types are often confused with real, honest to glob, documentation. When you’re asked to document something, you’re being asked to describe it….
-
Showing differences of staged files with git
Something I don’t like about git, primarily because it doesn’t fit into my personal development workflow, is how git diff only applies to files that have not been staged to commit. Sure, it makes sense if you are the type to stage files locally on a regular basis without pushing…
-
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/project-api@1.0.0 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…