Blog

A collection of my thoughts, typically related to code or design.

A person using a computer that shows a browser window open to view gatsbythemeshopifymanager.com

Introducing Gatsby Theme Shopify Manager

20 May 2020 / 1 min read

The easiest way to build a Shopify store on Gatsby.

Sell things fast with Gatsby and Shopify

23 Apr 2020 / 11 min read

A starting guide to building a lightning-fast Shopify store on Gatsby. ⚡

How to prepare and use variable fonts on the web

27 Jan 2020 / 8 min read

A primer on subsetting, formatting, and CSS font features.

Introducing 2.0 in 2020

09 Jan 2020 / 3 min read

The next version of thetrevorharmon.com

Binary Thinking vs Directional Thinking - @DanielPriestley

24 Oct 2019 / 1 min read

Daniel Priestley: The only way forward in this transformational time is to make decisions that are mostly right…

What I learned from my first month working remote

14 Oct 2019 / 4 min read

Reflections on what I've learned and how I made my first month a success.

Why Slow Mornings May Be the Secret to Tech-Life Balance - @ajzaleski

23 Sep 2019 / 1 min read

I often think about how I use technology and if it makes my life better or worse. @ajzaleski provides some great…

Email signup forms with Gatsby and Mailchimp

24 Jul 2019 / 4 min read

A simple tutorial, some sample code, and–you guessed it–a signup form.

Getting Closure on React Hooks – @swyx

22 Jul 2019 / 1 min read

This fantastic talk from JSConf by Shawn Wang (known as @swyx) explains what's going on in the background with React…

How to use S3 select to query JSON in Node.js

05 Jun 2019 / 5 min read

A simple example to get you started on querying JSON data out of S3 (with sample code!).

Code IRL: Javascript closures

01 May 2019 / 4 min read

A real world example of how to use Javascript closures to write better code.

Three Simple Ways to Write Cleaner Code

23 Apr 2019 / 2 min read

Three practices you can start today that will make your code more readable now and easier to understand in the future.

Configuring Jest and Enzyme in Create React App on Typescript

02 Apr 2019 / 3 min read

A guide to getting around an Enzyme internal error and get testing with Jest + Enzyme.

The value of iterative design

13 Mar 2019 / 6 min read

My six attempts to design "Sweet Honey" taught me that iterating on creative work can be difficult, but produces better results in the end.

A developer's guide to the Open Graph protocol

12 Feb 2019 / 7 min read

Learn about the protocol behind iMessage link previews, Twitter cards, and Facebook link previews.

What I learned from a failed startup

29 Jan 2019 / 5 min read

Four lessons I learned from working as an engineer for a startup that ran out of cash and went bankrupt.

StaticQuery and Typescript

29 Nov 2018 / 5 min read

How to use Gatsby's StaticQuery while working in a Typescript environment.

How to silence false SASS warnings in React

27 Nov 2018 / 2 min read

Typescript on React can sometimes think that your SASS is missing. Here’s the actual problem, and how to fix it.

How to lint Typescript in a Gatsby project

06 Nov 2018 / 2 min read

Linting Typescript is simple to set up in Gatsby with the help of a plugin.

How to quickly deploy a Gatsby site with Netlify

17 Sep 2018 / 3 min read

I recently started using Netlify to host my personal site, and now I don’t think I’ll go back. Here’s how to get started.

How to make a static site with flexible content (using Gatsby & Contentful)

10 Sep 2018 / 10 min read

I recently redesigned my portfolio site with Gatsby, and Contentful as a headless CMS made it dead simple to manage content. Here’s how.

How to make a super-fast static site with Gatsby, Typescript, and SASS

05 Sep 2018 / 5 min read

I recently redesigned my personal site with Gatsby. Here’s how to get started on your own.

How to use Apple Font Tools to tweak a font

19 Jun 2018 / 3 min read

I used Apple’s font tools to fix the line-height of a font for an iOS app. Here’s how I did it.

On Building CougarCash

08 Sep 2015 / 2 min read

How I created an app that transferred money in less than 20 seconds.