.tips
page 6 of 10, 228 small things in all. back to the first.
.april
2026, 18 tips.
Every job gets a timeout-minutes
ci
commit --fixup and rebase --autosquash
git
Cancel the previous run when a new push arrives
ci
Turn on rerere before a long rebase
git
docker compose watch syncs files without a bind mount
dockerdeveloper-experience
Build for the platform you deploy to, not the one you are on
docker
git worktree instead of stash
git
Cache the package manager's store across builds with a mount
dockerci
Accept readonly arrays in function parameters
typescript
HEALTHCHECK tells the orchestrator when the app is actually up
dockeroperations
Turn on erasableSyntaxOnly if Node runs your TypeScript
typescriptnodejs
Run as a user, not root, inside the container
dockersecurity
A .dockerignore is the first file in a new Dockerfile's folder
docker
Before TypeScript 7, find out who uses the compiler API
typescripttooling
Build in one stage, ship from another
docker
Make switches exhaustive with never
typescript
xargs -I puts the argument where you need it
shell
openssl s_client shows the certificate the server actually sends
shellsecurity
.march
2026, 7 tips.
as const turns a list into a type
typescript
dig +short answers the DNS question without the essay
shelloperations
Use satisfies for config objects, not a type annotation
typescript
watch runs a command every few seconds and highlights what changed
shelloperations
column -t lines up columns
shell
A BRIN index for append-only time series
postgresqlperformance
Quote the heredoc delimiter unless you want expansion
shell