Writing

Writing

18 articles on engineering, tooling, and the craft of building software.

A tree whose branches are circuit traces

Digital Garden

Engineering, opinions, deep-dives, and everything in between.

Browse the collection →

Latest

The Simplest CSS Grids

Learn the most common CSS Grid layouts with copy-pastable examples for two-column layouts, sidebar navigation, and more.

Digital Garden

More from the Digital Garden

  1. Constants vs Enums in TypeScript

    TypeScript tips and tricks

  2. Build React UI Library (notes)

    Notes on building a React UI library.

  3. Where did my blog go?

    A statement on where my extensive blog has gone.

  4. Throwback Thursday -- The Site Through Time

    A look at the site through time, from its inception to now.

  5. I Built an AI-Friendly UI Pattern Library

    A UI pattern library where every pattern ships the prompt that rebuilds it, so a coding agent can put it in your codebase instead of you copying CSS.

  6. Using Postgres FOR loop to generate data

    I don't know about you but I often need a 100 of something in my database to properly test a page. Here's how to use Postgres FOR loops to generate test data quickly.

  7. How to "grep" in PowerShell

    New to PowerShell? Here's how to "grep" using built-in PowerShell utilities.

  8. How I Structure My JavaScript File

    Check out my practices and recommendations on writing JavaScript files that I've learned through writing JavaScript for years.

Demystifying Tools

Practical walkthroughs of common command-line tools and utilities.

Browse the collection →

Demystifying awk

A practical introduction to awk for printing fields, filtering rows, formatting output, and writing useful one-liners.

Demystifying Tools

Demystifying Git Worktrees

Learn how to work with multiple Git branches simultaneously using worktrees - a powerful feature that lets you check out different branches as separate folders while sharing Git data.

Demystifying Tools

Demystifying GREP

Cheatsheet: search for a keyword in a file

Demystifying Tools