You’re Doing Environment Variables All Wrong - A Node.js Perspective
Josh Cole·09/05/2022·11 min·2,188 words
TL;DR Environment variables aren’t always what you expect and it’s painful to check each one. Instead, use a library such as safe-env-vars to do the hard work and be safe in the knowledge your environment variables won’t cause you any headaches. Oh, what? Environment variables are easy, you say, we’ve been working with environment variables for our…
New Website
Josh Cole·12/04/2022·2 min·370 words
Static Sites
At the end of 2021 I decided it was time to update my tired old personal website. I’d had my existing site for several years, probably over five years if I remember correctly, and it was getting long in the tooth to say the least. It was also pretty simple, with just a photo, some links to social media, and a short blurb. Not much to be proud of…