Skip to content
gitrep

A repository of technical knowledge.

Guides, references, and field notes on software — written to be read once and returned to often.

entries
8
topics
6
updated
  1. Undo almost anything in GitA calm guide to reflog, reset, revert, and restore — and how to choose the right one when something goes wrong.Guide
  2. Discriminated unions in practiceModel state as a set of explicit cases so the compiler tells you every place a new case needs handling.Article
  3. Container queries: field notesComponents that respond to the space they are given, not the size of the window. What works today and what to watch for.Article
  4. A mental model for edge cachingThree questions to answer for every response: who may cache it, for how long, and what makes it different from the next one.Guide
  5. Postgres index cheatsheetWhich index type to reach for, and the queries that prove it is being used.Reference