Dev Tips

Snippets, tools, and techniques for development.

Command line JSON with jq

One liners for wrangling JSON

Read More

Better environment variables with Zod and TypeScript

Add type safety and validation to env vars

Read More

Kill the process listening to a port

Find the processes listening to a port and kill it

Read More

Reusable EdgeDB filters with e.shape()

Don't write the same filter twice

Read More

Get a free favicon for any domain

An open Google URL that returns a favicon

Read More

Better switches with Zod and TypeScript

Zod discriminated unions for type narrowing switch statements

Read More

How to check TypeScript type equality

An easy way to verify or test TypeScript types

Read More

Private NPM packages with Docker and GitHub Actions

How to build Docker images using private NPM packages with GitHub Actions.

Read More

ZSH History Improvements

Improve autocompletion and save more commands

Read More

Publish monorepo packages with Changesets

Painlessly publish public/private packages to NPM from a monorepo.

Read More