Blog Posts

I write on whatever topics seem most interesting at the time.


post
productivity

How Focus Led Me To YouTube

My YouTube channel just hit 30,000 subscribers but no one was ever supposed to see it. Now more than ever, I’ve had to be intentional about my focus to keep the main thing “the main thing.” Here’s my story as it currently reads.

post
coding

JavaScript Reduce Method

The reduce method is one of the most powerful array methods in JavaScript, but it can also be the most confusing. In this post, I'll explain how to use the reduce method in JavaScript.

post
coding

Introduction to Terminal Commands

When you’re first learning web development, the terminal can intimidating. Once you grasp the basics, however, you can move much more efficiently for most tasks through the command line. This post will introduce you to basic command line commands.

post
coding

Templating Classes in Astro

You can included templated language in Astro components to scaffold out dyanmic classes with the class:list directive.

post
macOS

Clear Mac Space Delete Adobe Cache

Adobe files can take up a ton of space on your mac, but you can limit how much cache they take up and/or remove the cache to clear up space on your hard drive if you know where to look.

post
automation

ESV Bible Api Script for Raycast

I wrote a script that calls the ESV API using NodeJS and then copies the result to your system clipboard. It uses Raycast by default, but you could also adopt the script to work with another program or in another environment.

post
coding

Custom HTML Prompt With Keyboard Maestro

Keyboard Maestro’s Custom Floating HTML Prompt opens the door to endless automation with web languages and tools like HTML, CSS, and JavaScript. I wrote a custom HTML prompt script in Keyboard Maestro that let’s me quickly copy YouTube links from my channel.

post
macOS

Add Spacers in the macOS Dock

A short Terminal script on macOS can add either regular or small spacers to your macOS dock, which you can use to separate icons.

post
coding

Create a Lazy Loading Custom Youtube Embed

Lazy load YouTube embeds and use the YouTube thumbnail as a cover. I’ll also show you how to add your own custom play button on the thumbnail image and (as a bonus) how to use the embed as a custom shortcode or partial in the Hugo SSG.

post
coding

JavaScript new Date() Returns NaN or is Blank in Safari

Why is my JavaScript not showing in Safari? Are you trying to add dates in the wrong format? Safari does not allow for all date formats and trying to add new events may show blank or throw an error in Safari if you’re using the wrong format.

post
coding

Introduction to JavaScript

This guide offers tips for learning JavaScript, emphasizing the importance of focusing on concepts over syntax, building projects from scratch, embracing failure, and iterating to improve skills.

post
coding

How to Crop a Gif to a Square

If you need to crop a gif to 1:1 or crop a gif to square, there's a great command line tool called gifsicle that can crop, resize, and adjust your gif in a bunch of different ways.

post
design

Git Icon Set

A free icon set for common Git commands for iOS Shortcuts, Omnifocus Perspectives, macOS folders, or any other needs.

post
coding

Git Commands

A basic guide to regular git commands I always forget…

post
coding

Hugo Setup

A basic guide to setting up a Hugo site with GitHub and Netlify.