Developer cheat sheets
Short reference pages for the tools you use every day. Each sheet says which version it was checked against and when, links every section to the official docs, and points to the in-browser tool that runs the command where we have one. Every sheet also lists the mistakes people make most often and how to fix them.
AI dev tools
AI Agent Rules Files Cheat Sheet: CLAUDE.md, AGENTS.md, Cursor, Copilot, Gemini and More
Where each coding agent reads its instructions: CLAUDE.md, AGENTS.md, .cursor/rules, copilot-instructions.md, GEMINI.md, .clinerules, Continue and Devin rules.
Agent instruction files Each vendor's docs as read on 28 Nov 2026 (Claude Code memory page, Cursor rules, GitHub Copilot custom instructions, Gemini CLI, Codex, Cline, Continue, Devin Desktop) · checked 28 Nov 2026
Claude Code Cheat Sheet: CLI Flags, Slash Commands and Config
Claude Code 2.1.332 flags, slash commands, CLAUDE.md, settings files, hooks and MCP setup in one page, checked against the official docs.
Claude Code 2.1.332 · checked 28 Nov 2026
Cline Cheat Sheet: Plan and Act, Rules, MCP, Checkpoints and CLI
Cline reference for VS Code and the terminal: Plan and Act, .clinerules, slash commands, @ mentions, checkpoints, MCP settings JSON and CLI flags.
Cline Cline extension v4.1.28 and CLI v3.0.76 (26 Nov 2026) · checked 28 Nov 2026
Codex CLI Cheat Sheet: Commands, Sandbox Modes, config.toml and MCP
OpenAI Codex CLI reference: install, subcommands, sandbox and approval flags, slash commands, config.toml keys, AGENTS.md lookup and MCP servers.
OpenAI Codex CLI Codex CLI 0.172.0 (GitHub release rust-v0.172.0, 24 Nov 2026) · checked 28 Nov 2026
Continue Cheat Sheet: config.yaml, Model Roles, Rules, MCP and cn CLI
Continue reference: config.yaml keys, model roles, context providers, rules frontmatter, MCP servers, modes, shortcuts and the cn CLI, plus project status.
Continue Continue 2.0.0 (VS Code extension, 19 Jun 2026) · checked 28 Nov 2026
Cursor Cheat Sheet: Shortcuts, Rules, MCP and CLI
Cursor keyboard shortcuts, .cursor/rules .mdc frontmatter, .cursor/mcp.json fields and the agent CLI flags, checked against cursor.com/docs.
Cursor Cursor docs and agent CLI as of 2026-11-28 · checked 28 Nov 2026
Devin Desktop (formerly Windsurf) Cheat Sheet: Shortcuts, Rules and MCP
Devin Desktop, the renamed Windsurf editor: Devin Local modes, shortcuts, AGENTS.md and .devin/rules, MCP config paths, skills and ignore files.
Devin Desktop Devin Desktop docs as of 28 Nov 2026 (Devin Local agent) · checked 28 Nov 2026
Gemini CLI Cheat Sheet: Flags, Slash Commands, settings.json and MCP
Gemini CLI reference: install, flags and approval modes, slash commands, @ and ! syntax, settings.json keys, GEMINI.md, MCP servers and extensions.
Gemini CLI Gemini CLI v0.71.1 (24 Nov 2026) · checked 28 Nov 2026
GitHub Copilot Cheat Sheet: CLI Commands, Flags and Chat
Copilot CLI slash commands, flags, shortcuts and config files, plus VS Code chat commands and instruction file paths. Checked against CLI v1.0.117.
GitHub Copilot CLI 1.0.117 · checked 28 Nov 2026
LLM API Parameters Cheat Sheet: Claude Messages API vs OpenAI Responses API
Claude Messages API vs OpenAI Responses API: model IDs, max tokens, sampling, tools, structured outputs, caching, batches and rate limits.
Claude API and OpenAI API Claude API version header 2026-10-21; OpenAI Responses API docs as read on 2026-11-28 · checked 28 Nov 2026
MCP Config Cheat Sheet: File Paths and JSON for Every Client
Where each AI client keeps its MCP config, which root key it wants, stdio vs HTTP fields and how to pass secrets. Checked 28 Nov 2026.
MCP clients (Claude Desktop, Claude Code, Cursor, VS Code Copilot, Devin Desktop) Claude Code 2.1.332; VS Code MCP reference dated 25 Nov 2026; Cursor, Devin and modelcontextprotocol.io docs read 28 Nov 2026 · checked 28 Nov 2026
MCP Protocol Cheat Sheet: JSON-RPC Messages, Tools, Resources and Transports
MCP 2026-07-28 messages: _meta fields, server/discover, tools/list, tools/call and isError, resources, prompts, error codes and transports.
Model Context Protocol MCP specification revision 2026-07-28 (legacy handshake from 2025-11-25 noted) · checked 28 Nov 2026
LLM Context Window and Pricing Cheat Sheet: Claude, GPT and Gemini Limits (November 2026)
Context window, max output and per-million-token prices for current Claude, OpenAI GPT and Gemini models, as listed on each provider's pages in November 2026.
LLM APIs Provider model and pricing pages as listed in November 2026 (read 28 Nov 2026) · checked 28 Nov 2026
Zed Cheat Sheet: Agent Panel, Settings, Key Bindings and MCP
Zed editor reference: agent panel shortcuts, agent and tool-permission settings, context_servers for MCP, instruction files and external ACP agents.
Zed Zed 1.30.2 stable (25 Nov 2026) · checked 28 Nov 2026
CLI and data
awk Cheat Sheet: Fields, Patterns, Arrays and One-Liners
awk for everyday text work: fields and separators, NR and NF, BEGIN and END, counting with arrays, printf, and what macOS awk lacks next to GNU gawk.
awk GNU gawk manual, Edition 5.4 (gawk 5.4.2 tarball dated 16 Nov 2026); examples run on macOS awk 20200816 · checked 28 Nov 2026
Cron Cheat Sheet: Crontab Syntax, systemd Timers, Kubernetes and GitHub Actions
Crontab fields, steps, @ macros, the day-of-month OR rule and MAILTO, with systemd OnCalendar, Kubernetes CronJob and GitHub Actions equivalents.
cron (cronie), systemd timers, Kubernetes CronJob, GitHub Actions cronie crontab(5), systemd 262, Kubernetes 1.37 docs, GitHub Actions docs · checked 28 Nov 2026
curl Cheat Sheet: Requests, Headers, JSON, Auth and Timing
curl commands for methods, headers, --json, auth, cookies, redirects, retries, -w timing, TLS and uploads. Checked against curl 8.23.0.
curl 8.23.0 (manpage and changelog); examples run with curl 8.7.1 on macOS · checked 28 Nov 2026
find and xargs Cheat Sheet: Tests, -exec, -print0 and Parallel Runs
find tests and actions, -prune, -mtime and -newer, -exec {} + versus xargs, -print0 with xargs -0, and xargs -P, with GNU and macOS differences.
find and xargs GNU findutils 4.11.0 manual (Texinfo, 9 July 2026); examples run with macOS BSD find and xargs · checked 28 Nov 2026
grep and ripgrep Cheat Sheet: Flags, Regex Flavours and Ignore Rules
GNU grep options side by side with ripgrep: recursive search, include and exclude, BRE vs ERE vs PCRE, context lines, exit codes and rg's ignore rules.
grep and ripgrep GNU grep 3.12 manual (Texinfo, 2 January 2025); ripgrep 16.0.0 guide; examples run with macOS grep 2.6.0-FreeBSD · checked 28 Nov 2026
jq Cheat Sheet: Filters, Arrays, Objects and Examples
jq filters, select and map, objects, --arg and --argjson, -r/-c/-s flags, paths and reduce, with tested examples and the jq 1.8 changes.
jq 1.8.2 · checked 28 Nov 2026
Makefile Cheat Sheet: Rules, Variables, Automatic Variables and Pattern Rules
GNU make in one page: rule syntax and the tab rule, .PHONY, = vs := vs ?= vs +=, $@ $< $^, pattern rules, the default goal, -n -j -C and common errors.
GNU make GNU make manual for make 4.4.1 (latest release); examples run on GNU Make 3.81 (the copy macOS ships) · checked 28 Nov 2026
Processes and Ports Cheat Sheet: ps, kill, lsof and ss
Find and stop processes, see what is listening on a port, and pick the right signal. ps, top, kill, pgrep, lsof and ss on Linux, with macOS differences.
ps, kill, pgrep, lsof, ss man7.org pages for procps-ng, iproute2, lsof and net-tools (upstream as of 4 Aug 2026), signal(7) from man-pages 6.19; local runs on macOS 26 · checked 28 Nov 2026
Regex Cheat Sheet: JavaScript, Python and PCRE2 Syntax Side by Side
Regex syntax for JavaScript, Python re and PCRE2 in one table: classes, anchors, lazy and possessive quantifiers, lookarounds, flags and Unicode.
Regular expressions (JS, Python re, PCRE2) Node.js 24.4 (V8), Python 3.12 tested and 3.15 docs, PCRE2 10.49 · checked 28 Nov 2026
rsync Cheat Sheet: Flags, Trailing Slash, Excludes, scp and sftp
rsync flags that matter (-a, -v, -z, -n, --delete, --exclude), the trailing slash rule, syncing over SSH, plus scp and sftp basics for one-off copies.
rsync, scp, sftp rsync 3.5.2 man page (4 Nov 2026); OpenSSH scp(1) and sftp(1) from man.openbsd.org · checked 28 Nov 2026
sed Cheat Sheet: Substitution, Addresses, In-Place Edits and Hold Space
sed commands that come up in real scripts: s/// with flags and groups, line and regex addresses, -i on GNU versus macOS, -E, and hold space tricks.
sed GNU sed 4.10 manual (Texinfo, 20 April 2026); examples run with macOS BSD sed · checked 28 Nov 2026
VS Code Keyboard Shortcuts Cheat Sheet for Mac, Windows and Linux
VS Code shortcuts for Mac, Windows and Linux: navigation, multi-cursor, refactoring, Copilot Chat and custom keybindings. Checked on 1.148.
Visual Studio Code 1.148 · checked 28 Nov 2026
Git and containers
CODEOWNERS and SPDX Cheat Sheet: Owners, Patterns and Licence IDs
GitHub CODEOWNERS file locations, pattern rules and last-match-wins, plus SPDX licence identifiers and AND, OR, WITH expressions for package and file headers.
GitHub CODEOWNERS and SPDX GitHub Docs (checked 28 Nov 2026), SPDX License List 3.29.0 (16 Sep 2026), SPDX spec 3.0.1 · checked 28 Nov 2026
Conventional Commits Cheat Sheet: Types, Scopes and Breaking Changes
Conventional Commits 1.0.0 format: type, scope, ! and BREAKING CHANGE footers, how commits map to semver bumps, common types, and commitlint setup.
Conventional Commits Conventional Commits 1.0.0; commitlint v21.2.4 · checked 28 Nov 2026
Docker Cheat Sheet: CLI, Buildx and Compose Commands
Docker CLI and Compose commands for images, containers, logs, volumes, networks, buildx builds, pruning and profiles. Checked against Docker 29.10.
Docker CLI, Buildx and Docker Compose Docker CLI 29.10.1, Compose 5.8.1, Buildx 0.39.1 · checked 28 Nov 2026
Dockerfile Cheat Sheet: Instructions, Multi-Stage Builds and Cache Mounts
Every Dockerfile instruction with examples: exec vs shell form, ENTRYPOINT and CMD, ARG scope, multi-stage builds, cache and secret mounts, .dockerignore.
Dockerfile Dockerfile frontend 1.29.0 (docker/dockerfile:1) · checked 28 Nov 2026
Git Cheat Sheet: Switch, Restore, Undo, Rebase and Bisect
Git commands you actually reach for: switch and restore, undoing with reset, revert and reflog, interactive rebase, stash, bisect, remotes and log tricks.
Git Git 2.56.1 docs; examples run on Git 2.50.1 · checked 28 Nov 2026
DevOps
AWS CLI v2 Cheat Sheet: SSO Profiles, --query, S3, EC2 and CloudWatch Logs
AWS CLI v2 commands you use daily: SSO profiles, sts get-caller-identity, JMESPath --query, output formats, s3 cp and sync, ec2 describe and logs tail.
AWS CLI AWS CLI v2 (latest tag 2.42.5 on GitHub, 28 Nov 2026) · checked 28 Nov 2026
AWS IAM Policy Cheat Sheet: JSON Elements, Condition Operators and Evaluation Logic
IAM policy JSON at a glance: Version, Statement, Effect, Action, NotAction, Resource, condition operators and keys, policy types and how explicit deny wins.
AWS IAM IAM User Guide as published on 28 Nov 2026; policy language Version 2012-10-17 · checked 28 Nov 2026
Azure CLI Cheat Sheet: az login, Subscriptions, Resource Groups, VMs, AKS and --query
Azure CLI (az) commands for daily work: login and subscriptions, resource groups, VMs, AKS credentials, JMESPath --query, output formats and extensions.
Azure CLI Azure CLI 2.93.0 (17 Nov 2026) · checked 28 Nov 2026
gcloud CLI Cheat Sheet: Auth, Configurations, Cloud Run, Logging, --format and --filter
Google Cloud CLI commands for daily work: auth login vs ADC, named configurations, compute ssh, run deploy, logging read, and --format and --filter syntax.
Google Cloud CLI (gcloud) Google Cloud CLI 594.0.1 (21 Nov 2026) · checked 28 Nov 2026
GitHub Actions Cheat Sheet: Triggers, Matrix, Expressions and Security
GitHub Actions syntax: triggers and cron timezones, jobs and matrix, expressions, GITHUB_TOKEN permissions, concurrency, caching and hardening.
GitHub Actions docs.github.com and GitHub changelog as of 28 Nov 2026 · checked 28 Nov 2026
Helm Cheat Sheet: Install, Upgrade, Rollback and OCI Charts (Helm 4)
Helm 4 commands for installing, upgrading and rolling back releases, passing values, OCI registries, template and lint, plus the flags Helm 4 renamed.
Helm Helm 4.3.2 (docs for 4.3); helm-diff plugin 3.15.15 · checked 28 Nov 2026
.htaccess Cheat Sheet: Redirects, RewriteRule, Headers and Access
Apache .htaccess rules that work: Redirect vs RewriteRule, RewriteCond, flags, HTTPS and www redirects, headers, caching, Require and AllowOverride.
Apache HTTP Server Apache httpd 2.4.71 docs (released 11 Nov 2026) · checked 28 Nov 2026
kubectl Cheat Sheet: Contexts, Rollouts, Debug and JSONPath
kubectl commands for contexts, namespaces, logs, exec, apply and diff, rollouts, scaling, port-forward, debug, explain, labels and JSONPath output.
kubectl (Kubernetes CLI) Kubernetes 1.37 (latest patch v1.37.3, 25 Nov 2026) · checked 28 Nov 2026
Kubernetes Manifests Cheat Sheet: Deployment, Service, Probes and Resources
Kubernetes manifest fields that trip people up: Deployment rollout settings, Service ports, Ingress vs Gateway API, ConfigMaps, Secrets, resources and probes.
Kubernetes Kubernetes 1.37 docs (latest patch 1.37.2) · checked 28 Nov 2026
Nginx Cheat Sheet: Server Blocks, Location Matching, proxy_pass and TLS
Nginx config you look up most: server blocks, location match order, proxy_pass slash rules, try_files, return vs rewrite, gzip, TLS and safe reloads.
nginx nginx 1.30.8 stable / 1.31.10 mainline (docs on nginx.org) · checked 28 Nov 2026
systemd Cheat Sheet: systemctl, Unit Files, Timers and journalctl
systemctl commands, service unit sections, Restart policies, timers with OnCalendar, and journalctl filters, checked against the systemd 262 man pages.
systemd systemd 262 man pages (latest release v262.2, 5 Nov 2026) · checked 28 Nov 2026
Terraform and OpenTofu Cheat Sheet: Plan, Apply, State and Import
Terraform and OpenTofu side by side: init, plan, apply, state commands, workspaces, import and moved blocks, -target, fmt and where tofu differs.
Terraform / OpenTofu Terraform 1.17 docs (latest release v1.17.2); OpenTofu 1.13 docs (latest release v1.13.10) · checked 28 Nov 2026
Vercel CLI Cheat Sheet: Deploy, Env, Logs and vercel.json Routing
Vercel CLI commands and vercel.json keys: deploy and promote, env pull, link, logs, rollback, plus rewrites, redirects, headers, crons and functions.
Vercel CLI Vercel CLI 68.0.0 (npm, 27 Nov 2026); docs read 28 Nov 2026 · checked 28 Nov 2026
Wrangler Cheat Sheet: Cloudflare Workers Dev, Deploy, KV, D1 and R2
Wrangler commands for Cloudflare Workers: dev and deploy, wrangler.jsonc keys, secrets, KV, D1 migrations, R2 objects, tail and version rollbacks.
Wrangler Wrangler 4.169.0 (npm, 27 Nov 2026); docs read 28 Nov 2026 · checked 28 Nov 2026
Networking and security
CIDR Cheat Sheet: Subnet Sizes, Private Ranges and IPv6 Prefixes
IPv4 and IPv6 CIDR at a glance: subnet size table, masks, private and shared ranges, /31 and /32, IPv6 prefixes, AWS reserved addresses and Python checks.
CIDR / IP addressing RFC 4632, 1918, 6598, 3021, 4291, 4193; AWS VPC docs; maths run on Python 3.12.8 ipaddress · checked 28 Nov 2026
Common Ports Cheat Sheet: Well-Known TCP and UDP Port Numbers
Port numbers developers meet most, checked against the IANA registry: web, mail, DNS, databases, queues and remote access, plus dev-tool defaults.
IANA port registry IANA Service Name and Transport Protocol Port Number Registry, last updated 2026-11-24 · checked 28 Nov 2026
CORS Cheat Sheet: Preflight, Credentials and Common Errors
CORS in practice: simple vs preflighted requests, Access-Control headers, credentials and the wildcard rule, Vary: Origin and console errors.
CORS Fetch Living Standard (last updated 20 Nov 2026) and the MDN CORS guide · checked 28 Nov 2026
DNS Cheat Sheet: Record Types, TTLs, SPF, DMARC and dig
DNS record types with zone-file examples, TTL and negative caching rules, the CNAME-at-apex limit, SPF, DKIM and DMARC records, and dig commands.
DNS RFC 1035, 2181, 2308, 7208, 8659, 9989; dig from BIND 9.20.31 docs; lookups run on Node 24.4.0 · checked 28 Nov 2026
Firewall Cheat Sheet: ufw and nftables Rules
ufw and nftables commands for a Linux server: default policies, allowing SSH and web ports, ranges and source addresses, numbered deletes and rules files.
ufw, nftables ufw 0.36.2 man page (Ubuntu 24.04 noble); Ubuntu community UFW page; nftables wiki, read 28 Nov 2026 · checked 28 Nov 2026
Hashing and IDs Cheat Sheet: SHA-256, HMAC, Argon2id, UUID v7
Which hash to use for checksums, signatures, HMAC and passwords, OWASP's current Argon2id and bcrypt settings, and UUID v4 vs v7 per RFC 9562.
Hashes and unique IDs RFC 9562 (UUIDs), OWASP Password Storage Cheat Sheet as of Nov 2026; examples run on Node 24.4.0 and Python 3.12.8 · checked 28 Nov 2026
HTTP Caching Cheat Sheet: Cache-Control, ETag and CDN Rules
Cache-Control for responses and requests, ETag and 304s, Vary, s-maxage on CDNs, stale-while-revalidate, immutable, no-cache vs no-store.
HTTP caching RFC 9111 (June 2022), RFC 5861, RFC 8246, RFC 9213 and MDN · checked 28 Nov 2026
HTTP Status Codes Cheat Sheet: What Each Code Means and When to Send It
The HTTP status codes you actually meet, what each means and when your API should return it, plus caching, redirect and security headers.
HTTP status codes and headers RFC 9110 and RFC 9111 (June 2022), RFC 6585; MDN pages read 28 Nov 2026 · checked 28 Nov 2026
JWT Cheat Sheet: Claims, Algorithms and Validation
JWT reference: structure, registered claims, HS256, RS256, ES256 and EdDSA, the checks every verifier must run, and common mistakes.
JSON Web Token RFC 7519, 7515, 7518, 8037, 8725; examples with PyJWT 2.15.1 · checked 28 Nov 2026
OAuth 2.0 and OIDC Cheat Sheet: Flows, PKCE and Tokens
OAuth 2.0 and OIDC: auth code with PKCE, client credentials, device flow, refresh tokens, what OAuth 2.1 drops, ID vs access tokens.
OAuth 2.0 / OpenID Connect RFC 6749, 7636, 8628, 9700; OAuth 2.1 draft 17; OIDC Core 1.0 errata 2 · checked 28 Nov 2026
OpenSSL Cheat Sheet: Certificates, CSRs, Keys and s_client
OpenSSL 3.5 LTS commands for reading certificates, checking a server's chain with s_client, converting PEM, DER and PKCS#12, and making CSRs and test certs.
OpenSSL OpenSSL 3.5 LTS docs (3.5.9) · checked 28 Nov 2026
Security Headers Cheat Sheet: CSP, HSTS, Frame and Cross-Origin Policies
Response headers that harden a site: CSP with nonces and strict-dynamic, HSTS and preload, nosniff, frame-ancestors, Referrer-Policy and COOP/COEP/CORP.
HTTP security headers W3C CSP Level 3 Working Draft of 27 Oct 2026; MDN header pages and OWASP HTTP Headers Cheat Sheet · checked 28 Nov 2026
SSH Cheat Sheet: Keys, Config, ProxyJump and Port Forwarding
OpenSSH commands and config: ed25519 keys, ssh-agent, ~/.ssh/config hosts, ProxyJump, local, remote and SOCKS forwarding, known_hosts, scp and sftp.
OpenSSH OpenSSH 10.6p2 · checked 28 Nov 2026
Data formats
Date and Time Formats Cheat Sheet: ISO 8601, RFC 3339, Unix Time and Time Zones
RFC 3339 vs ISO 8601, Unix seconds vs milliseconds, IANA zones vs offsets, DST traps, Python strftime codes and JavaScript Date, Intl and Temporal, all tested.
Date and time formats RFC 3339, tz database 2026f, Python 3.15 docs; examples run on Python 3.12.8 and Node 24.4.0 · checked 28 Nov 2026
dotenv Cheat Sheet: .env Syntax, Node --env-file and Compose
.env syntax without surprises: quoting, comments, multi-line values, dotenv vs Node --env-file, and Docker Compose env_file vs interpolation.
dotenv dotenv 18.0.10 (npm); Node 26.13.1 docs, examples run on Node 24.4.0; Docker Compose docs · checked 28 Nov 2026
Encodings Cheat Sheet: Base64, base64url, URL Encoding, HTML Entities and Hex
Base64 vs base64url, encodeURIComponent vs encodeURI, form encoding with +, HTML entities and hex, with Node and Python calls tested and when to use each.
Text and binary encodings RFC 4648, RFC 3986, WHATWG URL and HTML standards; examples run on Node 24.4.0 and Python 3.12.8 · checked 28 Nov 2026
Glob Patterns Cheat Sheet: Bash, .gitignore and Node fs.glob
Glob patterns explained: *, ?, [] and ** in bash, brace and extglob, .gitignore negation and directory traps, and Node's fs.glob and path.matchesGlob.
Glob patterns Bash 5.3 manual; gitignore docs for Git 2.56.1 (tested on Git 2.50.1); Node 26.13.1 docs (tested on Node 24.4.0) · checked 28 Nov 2026
GraphQL Cheat Sheet: Queries, Variables, Fragments and Schema SDL
GraphQL syntax in one place: queries with variables, aliases, fragments and directives, mutations, subscriptions, schema SDL types and introspection queries.
GraphQL GraphQL spec September 2025 edition; examples run on graphql-js 17.1.0 · checked 28 Nov 2026
gRPC and Protobuf Cheat Sheet: proto3 Syntax, Wire Types, Status Codes
proto3 messages, field numbers, reserved, repeated, map, oneof, optional and enums, the wire types table, gRPC streaming methods and all 17 status codes.
Protocol Buffers and gRPC proto3 language guide and encoding docs on protobuf.dev; gRPC core concepts and status codes on grpc.io; encoding run with protobufjs 8.8.1 · checked 28 Nov 2026
JSON Schema Cheat Sheet: Draft 2020-12 Keywords with Examples
JSON Schema 2020-12 keywords tested with Ajv and python-jsonschema: types, objects, prefixItems, $ref and $defs, oneOf vs anyOf, if/then/else and format.
JSON Schema Draft 2020-12 (current per json-schema.org); run on Ajv 8.20.0 + ajv-formats 3.0.1 and jsonschema 4.26.0 (Python) · checked 28 Nov 2026
JSONPath Cheat Sheet: RFC 9535 Filters, JSON Pointer and JSON Patch
RFC 9535 JSONPath selectors and filters tested in Python, plus JSON Pointer and JSON Patch side by side, and where jsonpath-plus and jq disagree.
JSONPath (RFC 9535) RFC 9535 (Feb 2024), RFC 6901, RFC 6902; run on python-jsonpath 2.3.0, jsonpath-plus 11.3.0 and jq 1.7.1 · checked 28 Nov 2026
MIME Types Cheat Sheet: Content-Type, Sniffing and Magic Bytes
Common MIME types for web files, charset, Content-Type vs Accept, nosniff, and the magic bytes that identify PNG, GIF, ZIP, gzip, WOFF2 and more.
MIME types MDN common types list and WHATWG MIME Sniffing standard (updated 19 Oct 2026); signatures checked on local files · checked 28 Nov 2026
OpenAPI Cheat Sheet: Paths, Components, $ref and Security
OpenAPI document structure in one page: paths, operations, parameters, request bodies, responses, components, $ref, security schemes and webhooks.
OpenAPI Specification OpenAPI 3.1.x and 3.2.1 (latest listed on spec.openapis.org); examples validated with @seriousme/openapi-schema-validator 2.12.0 and Redocly CLI 2.84.0 · checked 28 Nov 2026
REST API Design Cheat Sheet: Methods, Status Codes and Idempotency
HTTP methods with their safe and idempotent rules, status codes per method, PUT vs PATCH, pagination conventions, idempotency keys and versioning options.
HTTP (RFC 9110) RFC 9110 (HTTP Semantics), RFC 5789 (PATCH), draft-ietf-httpapi-idempotency-key-header-09 · checked 28 Nov 2026
TOML Cheat Sheet: Keys, Strings, Tables and Arrays of Tables
TOML 1.0 syntax with every example parsed by Python tomllib: keys, four string types, numbers, dates, tables, inline tables, arrays of tables and 1.1 changes.
TOML TOML 1.0.0 spec (1.1.0 changes noted); examples parsed with Python 3.12.8 tomllib · checked 28 Nov 2026
Unicode Cheat Sheet: Code Points, UTF-8, Escapes and Normalisation
Unicode for programmers: code points vs UTF-8 and UTF-16 bytes, escapes in JS, Python, JSON, HTML and CSS, NFC vs NFKC, graphemes and the BOM.
Unicode Unicode 18.0.0 (UAX #15 rev 58, UAX #29 rev 49); examples run on Node 24.4.0 and Python 3.12.8 · checked 28 Nov 2026
Webhooks and WebSockets Cheat Sheet: Signatures, Retries, Close Codes
Verify webhook HMAC signatures with timestamp tolerance, handle retries and duplicates, plus the WebSocket handshake, opcodes, close codes and ping/pong.
Webhooks (Stripe, GitHub) and WebSocket (RFC 6455) Stripe and GitHub webhook docs as of 28 Nov 2026; RFC 6455; Node 24.4.0 for the examples · checked 28 Nov 2026
YAML Cheat Sheet: Quoting, Block Scalars, Anchors and the Norway Problem
YAML 1.2.2 syntax tested in two parsers: quoting rules, | and > with chomping, anchors and merge keys, multiple documents, and why NO can turn into false.
YAML YAML 1.2.2 spec; run on yaml 2.9.1 (npm), PyYAML 6.0.4 and ruamel.yaml 0.19.1 · checked 28 Nov 2026
Languages and frameworks
CSS Colors Cheat Sheet: hex, rgb, hsl, oklch, color-mix() and Relative Colors
Every CSS colour syntax side by side: hex with alpha, rgb, hsl, hwb, lab, oklch, color-mix(), relative colour syntax, currentColor and gamut notes.
CSS CSS Color 4 (W3C CR Draft, 23 Nov 2026), MDN Nov 2026; conversions run with culori 4.0.2 · checked 28 Nov 2026
CSS Flexbox Cheat Sheet: Container, Item and Alignment Properties
Flexbox container and item properties, what the flex shorthand really expands to, gap, alignment and the min-width: auto overflow trap, with fixes.
CSS Flexbox CSS Flexbox Level 1 (W3C CR Draft, 14 Oct 2025) and MDN reference · checked 28 Nov 2026
CSS Grid Cheat Sheet: Templates, fr, minmax, Areas and Subgrid
CSS grid templates, the fr unit, repeat() with auto-fill vs auto-fit, named areas, line placement, the implicit grid and subgrid, with a worked card layout.
CSS Grid CSS Grid Level 2 (W3C CR Draft, 26 Mar 2025) and MDN reference · checked 28 Nov 2026
CSS Selectors Cheat Sheet: :is, :where, :has, Specificity and @layer
CSS selector types, :is(), :where(), :has() and :not(), specificity with worked numbers, cascade order, and how @layer and !important interact.
CSS Selectors Selectors Level 4 and CSS Cascade Level 5 via MDN; specificity run with the specificity 1.0.0 npm package · checked 28 Nov 2026
CSS Units Cheat Sheet: rem, em, Viewport, Container Units and clamp()
Every CSS length unit in one place: px and absolute units, rem vs em, ch and ex, svh/lvh/dvh, container query units and clamp(), min() and max().
CSS CSS Values and Units Level 4 (W3C Working Draft, 12 Mar 2024) and MDN as of Nov 2026 · checked 28 Nov 2026
Cypress Cheat Sheet: Commands, Retries, cy.intercept and Config
Cypress 16 reference: selectors and getByRole, how retries work, cy.intercept and fixtures, env changes in 16.0, config defaults and the run/open CLI.
Cypress Cypress 16.4.0 (released 25 Nov 2026), docs only · checked 28 Nov 2026
Emmet Cheat Sheet: Abbreviations for HTML and CSS
Emmet syntax with tested expansions: child, sibling, climb-up, multiplication, grouping, attributes, $ numbering, text, implicit tags and CSS shorthands.
Emmet emmet npm package 2.4.11 (the engine VS Code uses); syntax from docs.emmet.io · checked 28 Nov 2026
HTML Elements Cheat Sheet: Forms, Meta Tags, Images and Dialog
HTML elements and attributes that cause real bugs: button type, labels, input types, autocomplete, meta tags, link rel, img sizing, dialog and details.
HTML (WHATWG Living Standard) WHATWG HTML Living Standard (last updated 27 Nov 2026) and MDN reference pages · checked 28 Nov 2026
Jest and Vitest Cheat Sheet: Matchers, Mocks, Timers and CLI
Jest 30 and Vitest 5 side by side: matchers, mock functions, spies, fake timers, setup hooks, snapshots, CLI flags, and the differences that break a migration.
Jest, Vitest Jest 30.5.2 and Vitest 5.1.2, both run locally on Node 24.4.0 · checked 28 Nov 2026
Markdown Cheat Sheet: CommonMark, GFM and GitHub Syntax
Markdown syntax with each feature labelled CommonMark, GFM or GitHub-only: lists and indentation, code, links, tables, task lists, alerts and footnotes.
Markdown (CommonMark / GFM) CommonMark 0.31.2; GFM spec 0.29-gfm; examples run on commonmark.js 0.31.2 and markdown-it 15.0.3 · checked 28 Nov 2026
Next.js App Router Cheat Sheet: Files, Caching, Route Handlers
Next.js 16 App Router files, server vs client components, use cache, revalidateTag, route handlers, metadata and generateStaticParams, with 15.x notes.
Next.js Next.js 16.4.6 (latest on npm); notes for 15.5, which this site runs (15.5.29) · checked 28 Nov 2026
npm vs pnpm vs Yarn Cheat Sheet: Commands Side by Side
The same jobs in npm, pnpm and Yarn 4: add and remove packages, CI installs, scripts, dlx, workspaces, updates, audits and publishing.
npm, pnpm and Yarn npm 12.2.3, pnpm 12.23.0 and Yarn 4.19.0 docs; npm rows run on npm 11.4.2 · checked 28 Nov 2026
Playwright Cheat Sheet: Locators, Assertions, CLI and Config
Playwright Test in one page: which locator to pick, web-first assertions, actionability checks, the CLI for codegen, reports and traces, and config basics.
Playwright Playwright 1.65 docs (v1.65.1 tag, 13 Nov 2026); examples run on Playwright 1.49.1 · checked 28 Nov 2026
pytest Cheat Sheet: Fixtures, Parametrize, Markers and CLI
pytest 9.2 reference: fixture scopes and teardown, parametrize, markers, raises, tmp_path and monkeypatch, plus the CLI flags for picking and re-running tests.
pytest pytest 9.2.0 (released 27 Oct 2026), run locally on Python 3.12.8 · checked 28 Nov 2026
Python Environments Cheat Sheet: venv, pip and uv
Create and activate virtual environments on every OS, manage requirements and constraints with pip, and run uv projects, uvx and uv pip.
venv, pip and uv Python 3 venv docs, pip 26.3, uv 0.13.10 docs; venv and pip rows run on Python 3.12.8 with pip 26.3 · checked 28 Nov 2026
React Hooks Cheat Sheet: useState, useEffect, useActionState and use
React 19 hooks with signatures: effect cleanup, memoizing, transitions, use, useActionState, useOptimistic, useFormStatus and the rules of hooks.
React React 19.3 (latest on npm: 19.3.1); this repo uses 19.2.7 · checked 28 Nov 2026
Semver Cheat Sheet: Version Ranges, Caret, Tilde and Pre-releases
Semantic versioning in one page: the version format, precedence rules, npm range syntax (^ ~ x - ||), how ^0.x behaves and how pre-releases match.
Semantic Versioning SemVer 2.0.0 spec; node-semver 7.8.6 (every range run locally) · checked 28 Nov 2026
SEO Meta Tags Cheat Sheet: Title, Canonical, Robots, hreflang, Open Graph
The head tags Google documents: title, meta description, canonical, robots meta and X-Robots-Tag, robots.txt rules, hreflang and Open Graph, with examples.
Google Search and Open Graph Google Search Central docs and the Open Graph protocol (ogp.me), read on 28 Nov 2026 · checked 28 Nov 2026
Structured Data Cheat Sheet: JSON-LD and Google Rich Result Types
JSON-LD basics, the rich result types in Google's search gallery today, required vs recommended properties for common types, retired types and testing.
Google structured data (schema.org) Google Search Central structured data docs and search gallery, read on 28 Nov 2026 · checked 28 Nov 2026
SVG Cheat Sheet: viewBox, Path Commands, Shapes and Optimizing
SVG viewBox and preserveAspectRatio, every path command, basic shapes, fill and stroke, inline vs img vs CSS, accessible titles and optimizing with SVGO 4.
SVG MDN SVG reference and W3C SVG 2; optimizing examples run with SVGO 4.1.0 · checked 28 Nov 2026
Tailwind CSS v4 Cheat Sheet: @theme, Variants, Arbitrary Values and v3 Changes
Tailwind CSS v4.3 reference: CSS-first setup with @theme, responsive, dark, group and peer variants, arbitrary values, @utility, @apply and v3 renames.
Tailwind CSS Tailwind CSS v4.3.5 (released 6 Nov 2026) · checked 28 Nov 2026
TypeScript Types Cheat Sheet: Utility Types, Narrowing and Generics
TypeScript types that trip people up: utility types, narrowing, satisfies, generics, keyof, indexed access, mapped and conditional types.
TypeScript TypeScript 7.0.2 and 5.9.3 (examples compiled with both) · checked 28 Nov 2026
Web Accessibility Cheat Sheet: ARIA, WCAG 2.2 and Contrast
ARIA attributes developers actually use, the rules of ARIA, accessible names, the WCAG 2.2 criteria you meet most (including the new ones) and contrast ratios.
WCAG and WAI-ARIA WCAG 2.2 (W3C Recommendation, 12 Dec 2024 edition) and WAI-ARIA 1.2 (Recommendation, 6 Jun 2023) · checked 28 Nov 2026
Databases
MongoDB Aggregation Pipeline Cheat Sheet: Stages, Accumulators, $lookup
MongoDB aggregation stages from $match to $facet and $bucket, accumulators, common expressions and the stage order that keeps pipelines fast.
MongoDB MongoDB 9.0 manual (current) · checked 28 Nov 2026
MongoDB Operators Cheat Sheet: Query, Update and Aggregation
MongoDB query operators, projection rules, update operators like $set, $inc, $push and positional $, upserts and the common aggregation stages.
MongoDB MongoDB 9.0 manual (current) · checked 28 Nov 2026
Prisma Cheat Sheet: Schema, Relations, Migrate and Client Queries
Prisma 7 schema syntax, 1-1, 1-n and m-n relations, migrate and db commands, Client queries with select, include and transactions, plus what changed in v7.
Prisma ORM Prisma ORM 7.10.1 docs; schema examples validated with Prisma CLI 6.19.3 · checked 28 Nov 2026
psql Cheat Sheet: Meta-Commands, \copy, Variables and .psqlrc
The psql meta-commands worth memorising: the \d family, expanded output, timing, \copy for client-side CSV, variables, scripts and a sensible .psqlrc.
psql PostgreSQL 19 documentation (19.0 released 2026-11-19) · checked 28 Nov 2026
Redis Cheat Sheet: Data Types, Expiry, SCAN, Transactions and Pub/Sub
Redis commands grouped by data type, expiry and TTL rules, SCAN instead of KEYS, MULTI and WATCH, pub/sub semantics and RDB versus AOF persistence.
Redis Redis Open Source 8.12.0 (released 22 Nov 2026), redis.io docs; docs only · checked 28 Nov 2026
SQL Indexes and EXPLAIN Cheat Sheet: PostgreSQL and MySQL
Composite index column order, covering, partial and expression indexes, and how to read EXPLAIN and EXPLAIN ANALYZE output in PostgreSQL 19 and MySQL 8.4.
SQL indexes PostgreSQL 19 and MySQL 8.4 manuals; plan examples from SQLite 3.51.0 · checked 28 Nov 2026
SQL Joins, Window Functions and CTEs Cheat Sheet
Join types, ROW_NUMBER, RANK, LAG, LEAD, running sums with frames, and recursive CTEs, with PostgreSQL and MySQL 8.4 differences.
SQL PostgreSQL 19 and MySQL 8.4 manuals; examples run on SQLite 3.51.0 · checked 28 Nov 2026
SQLite Cheat Sheet: sqlite3 CLI, STRICT Tables, Pragmas and WAL
sqlite3 dot-commands, CSV import, type affinity versus STRICT tables, and the pragmas that matter: foreign_keys, journal_mode=WAL, busy_timeout and optimize.
SQLite SQLite 3.54.1 docs (2026-10-16); examples run on sqlite3 3.51.0 · checked 28 Nov 2026