DevTools Logo

Cheat Sheets

129 quick-reference guides

Quick-reference guides for the syntax and patterns developers use every day

129 guides

JSON Cheat Sheet

Data Formats

Quick reference for JSON syntax, data types, escaping, and common pitfalls — with examples.

YAML Cheat Sheet

Data Formats

Quick reference for YAML scalars, collections, anchors, block styles, and indentation pitfalls.

JavaScript Cheat Sheet

Languages

Modern JavaScript quick reference: types, arrays, objects, destructuring, promises, and common idioms.

CSS Selectors Cheat Sheet

Languages

Quick reference for CSS selectors: basic, attribute, pseudo-classes, pseudo-elements, and combinators.

Vim Cheat Sheet

Editors & Tools

Quick reference for Vim modes, movement, editing, search, and the commands developers use most.

Bash Cheat Sheet

CLI & Shell

Quick reference for Bash: variables, redirection, pipes, conditionals, loops, and one-liners.

Git Cheat Sheet

Version Control

Essential Git commands: setup, staging, branching, merging, undo, and remote workflows.

Docker Cheat Sheet

Containers

Docker CLI reference: images, containers, volumes, networks, Compose, and cleanup.

curl Cheat Sheet

CLI & Shell

curl flags and patterns: methods, headers, auth, data, cookies, and common API calls.

grep Cheat Sheet

CLI & Shell

grep patterns and flags: literal/regex search, inversion, context, files, and one-liners.

find Cheat Sheet

CLI & Shell

GNU find reference: by name/type/size/time, actions, exec, and prune patterns.

Python Cheat Sheet

Languages

Modern Python quick reference: data types, comprehensions, strings, files, and common idioms.

Regular Expressions Cheat Sheet

Languages

Regex reference: anchors, character classes, quantifiers, groups, lookaround, and common patterns.

chmod Cheat Sheet

CLI & Shell

Linux file permissions: symbolic and octal modes, common combos, and pitfalls.

Cron Cheat Sheet

CLI & Shell

Crontab syntax reference: fields, special strings, ranges, and common schedules.

awk Cheat Sheet

CLI & Shell

awk one-liners: fields, patterns, actions, FS/OFS, and common text-processing recipes.

Conventional Commits Cheat Sheet

Version Control

Conventional Commits spec: types, scope, breaking changes, and examples.

Markdown Cheat Sheet

Data Formats

Markdown reference: headings, emphasis, lists, links, code, tables, and extensions.

HTML Cheat Sheet

Languages

HTML reference: structure, semantics, forms, accessibility, and common elements.

HTTP Status Codes Cheat Sheet

Web & Network

HTTP response status codes: 1xx–5xx classes, common codes, and when to use them.

ASCII Cheat Sheet

Reference

ASCII reference: printable characters, control codes, and decimal/hex/octal values.

npm Cheat Sheet

CLI & Shell

npm, pnpm, and Yarn package workflows: install, scripts, semver, lockfiles, configuration, publishing, and npx.

SSH Cheat Sheet

CLI & Shell

SSH remote access and security: keys, config aliases, file transfer, forwarding, agents, host verification, and permissions.

sed Cheat Sheet

CLI & Shell

sed stream editing patterns: substitutions, addresses, ranges, deletion, extended regular expressions, and hold-space workflows.

tar Cheat Sheet

CLI & Shell

tar archive workflows: create, extract, inspect, compress with gzip/bzip2/xz, exclude paths, preserve permissions, and transfer archives.

tmux Cheat Sheet

Editors & Tools

tmux key bindings and commands for prefixes, sessions, windows, panes, copy mode, and configuration.

systemd Cheat Sheet

CLI & Shell

systemd commands and concepts for service lifecycle, unit files, journal logs, timers, and user services.

kubectl Cheat Sheet

Containers

kubectl commands and concepts for resources, contexts, logs, exec, labels, scaling, and rollouts.

NGINX Cheat Sheet

Web & Network

NGINX directives and commands for server blocks, locations, reverse proxying, TLS, headers, rate limits, and reloads.

OpenSSL Cheat Sheet

Security Tools

Practical OpenSSL reference for keys, CSRs, certificates, TLS inspection, hashing, HMAC, symmetric crypto, and chain verification.

MySQL Cheat Sheet

Reference

Practical MySQL reference covering connections, SELECT, JOINs, GROUP BY, DDL, indexes, and backup with mysqldump.

Redis Cheat Sheet

Reference

Redis CLI and data-type commands covering strings, lists, hashes, sets, sorted sets, key management, pub/sub, and persistence.

Dotenv Cheat Sheet

Data Formats

.env file format, variable interpolation, precedence, framework loading, and security best practices for environment-based configuration.

ESLint Cheat Sheet

Languages

ESLint 9 flat config: eslint.config.js structure, rule severity, plugins, ignores, CLI usage, and auto-fix workflows.

TypeScript Cheat Sheet

Languages

TypeScript 5.x reference covering basic types, unions, interfaces, generics, narrowing, utility types, and tsconfig essentials.

Tailwind CSS Cheat Sheet

Languages

Tailwind utility-first reference for spacing, responsive prefixes, state variants, dark mode, @apply, config, and arbitrary values.

VS Code Cheat Sheet

Editors & Tools

Visual Studio Code reference: command palette, keyboard shortcuts, multi-cursor, snippets, settings.json, tasks.json, terminal, and extensions.

React 19 Cheat Sheet

Modern Frontend

Quick reference guide for React 19: Hooks, Server Components, Server Actions, useActionState, and modern UI patterns.

Next.js App Router Cheat Sheet

Modern Frontend

Quick reference guide for Next.js App Router: Routing, Server Components, Server Actions, Caching, and Metadata API.

Vue 3 Composition API Cheat Sheet

Modern Frontend

Quick reference guide for Vue 3: Composition API, script setup, reactivity (ref/reactive), computed, watch, and directives.

Svelte 5 & SvelteKit Cheat Sheet

Modern Frontend

Quick reference guide for Svelte 5 Runes ($state, $derived, $effect), components, props, and SvelteKit routing.

Angular Signals & CLI Cheat Sheet

Modern Frontend

Quick reference guide for Angular: Signals, standalone components, control flow syntax (@if, @for), and CLI commands.

Node.js Core Modules Cheat Sheet

Languages

Quick reference guide for Node.js core modules: fs/promises, path, stream, http, events, child_process, and Buffer.

Express.js Framework Cheat Sheet

Languages

Quick reference guide for Express.js: Routing, middleware pipeline, request/response API, error handling, and Router modularization.

NestJS Framework Cheat Sheet

Languages

Quick reference guide for NestJS: Controllers, Services, Modules, DTO validation, Interceptors, and Dependency Injection.

Go (Golang) Language Cheat Sheet

Languages

Quick reference guide for Go: Structs, interfaces, goroutines, channels, slices, maps, and standard CLI commands.

Rust Language Cheat Sheet

Languages

Quick reference guide for Rust: Ownership, borrowing, pattern matching, Option/Result, structs, enums, and Cargo commands.

PostgreSQL SQL Cheat Sheet

Databases

Quick reference guide for PostgreSQL: JSONB, window functions, indexing, CTEs, and psql CLI.

MongoDB & Mongoose Cheat Sheet

Databases

Quick reference guide for MongoDB: Aggregation pipeline, CRUD operations, indexing, and Mongoose schemas.

SQLite Database Cheat Sheet

Databases

Quick reference guide for SQLite: Dot commands, schema definition, pragmas, and CLI flags.

Prisma ORM Syntax Cheat Sheet

Databases

Quick reference guide for Prisma ORM: Schema definition, relations, client queries, and CLI migrations.

Drizzle ORM Syntax Cheat Sheet

Databases

Quick reference guide for Drizzle ORM: Table definitions, TypeScript queries, relational queries, and Drizzle Kit.

Elasticsearch Query DSL Cheat Sheet

Databases

Quick reference guide for Elasticsearch: Query DSL, bool queries, index mappings, and cluster health APIs.

Supabase SDK & RLS Cheat Sheet

Databases

Quick reference guide for Supabase: JS client SDK, Row Level Security (RLS) policies, storage, and auth.

Terraform HCL Cheat Sheet

Containers & Cloud

Quick reference guide for Terraform: HCL syntax, resource blocks, state manipulation, and CLI commands.

GitHub Actions Workflow Cheat Sheet

CI/CD & DevOps

Quick reference guide for GitHub Actions: Workflow YAML syntax, matrix builds, custom secrets, and triggers.

Docker Compose Spec Cheat Sheet

Containers & Cloud

Quick reference guide for Docker Compose: Specification format, service definitions, volume/network mounts, and CLI.

AWS CLI Quick Reference Cheat Sheet

Containers & Cloud

Quick reference guide for AWS CLI: S3 sync/copy, EC2 management, Lambda invoke, IAM policies, and CloudWatch.

Kubernetes Helm Charts Cheat Sheet

Containers & Cloud

Quick reference guide for Helm: Helm install/upgrade/rollback, chart structure, templates, and CLI.

Ansible Playbook Cheat Sheet

CI/CD & DevOps

Quick reference guide for Ansible: Playbook syntax, inventory files, roles structure, and CLI modules.

Linux Networking CLI Cheat Sheet

CLI & Shell

Quick reference guide for Linux Networking: ip, ss, netstat, dig, traceroute, iptables, and ufw.

Caddy Server & Caddyfile Cheat Sheet

Web & Network

Quick reference guide for Caddy Server: Caddyfile directives, reverse proxy, automatic HTTPS, and headers.

PromQL & Metrics Cheat Sheet

CI/CD & DevOps

Quick reference guide for Prometheus & PromQL: Metric types, rate functions, selectors, and alert rules.

Vitest & Jest Testing Cheat Sheet

Testing

Quick reference guide for Vitest & Jest: Test suite syntax, assertion methods, mocks, spies, and async testing.

Playwright E2E Testing Cheat Sheet

Testing

Quick reference guide for Playwright: Locators, page actions, assertions, fixtures, and CLI runner.

pnpm Package Manager Cheat Sheet

Package Managers

Quick reference guide for pnpm: Workspace filters, monorepo commands, lockfile management, and store.

Vite Build Tool Cheat Sheet

Build Tools

Quick reference guide for Vite: vite.config.ts, plugin configuration, environment variables, and dev server.

Python FastAPI Cheat Sheet

Languages

Quick reference guide for Python FastAPI: Path operations, Pydantic v2 schemas, dependency injection, and async.

Laravel Framework & Artisan Cheat Sheet

Languages

Quick reference guide for Laravel: Artisan CLI commands, Eloquent ORM queries, Blade directives, and routing.

Java Spring Boot Cheat Sheet

Languages

Quick reference guide for Java Spring Boot: Annotations, REST controllers, Spring Data JPA, and application properties.

GraphQL Schema & Query Cheat Sheet

Data Formats

Quick reference guide for GraphQL: Schema Definition Language (SDL), queries, mutations, resolvers, and subscriptions.

JWT & OAuth 2.0 Syntax Cheat Sheet

Security Tools

Quick reference guide for JWT & OAuth 2.0: Structure, authorization code grant + PKCE, client credentials, and claims.

Web Security Headers Cheat Sheet

Security Tools

Quick reference guide for Web Security Headers: CSP, HSTS, X-Frame-Options, CORS, and security policy rules.

Protocol Buffers (proto3) Cheat Sheet

Web & Network

Quick reference guide for Protocol Buffers (proto3): Syntax, scalar types, messages, enums, services, and protoc CLI.

Web Crypto API Cheat Sheet

Security Tools

Quick reference guide for Web Crypto API: SubtleCrypto hashing, HMAC, key generation, encryption, and JWK export.

WebSocket Protocol Cheat Sheet

Web & Network

Quick reference guide for WebSocket Protocol: JS WebSocket API, connection handshake headers, ping/pong, and frames.

Cypher Query Language Cheat Sheet

Databases

Quick reference guide for Cypher & Neo4j: MATCH, CREATE, MERGE, relationship patterns, and graph traversal.

React State Management Cheat Sheet

Modern Frontend

Quick reference guide for Zustand & Redux Toolkit: Store creation, middleware, actions, selectors, and async thunks.

Native DOM & Web APIs Cheat Sheet

Web & Network

Quick reference guide for Native DOM & Web APIs: querySelector, event delegation, MutationObserver, IntersectionObserver, and Storage.

Accessibility (a11y) Cheat Sheet

Web & Network

Quick reference guide for Web Accessibility (a11y): ARIA roles, screen reader attributes, focus management, and keyboard navigation.

Webpack 5 Config Cheat Sheet

Build Tools

Quick reference guide for Webpack 5: Entry/output, loaders, plugins, code splitting, and dev server.

Prettier & Biome Config Cheat Sheet

Editors & Tools

Quick reference guide for Prettier & Biome: Configuration rules, CLI commands, formatting options, and ignore files.

Yarn v4 Berry Cheat Sheet

Package Managers

Quick reference guide for Yarn v4 Berry: Workspaces syntax, Plug'n'Play (PnP) commands, constraints, and plugins.

Zsh & Fish Shell Config Cheat Sheet

CLI & Shell

Quick reference guide for Zsh & Fish Shell: Configuration files, aliases, custom prompts, functions, and environment variables.

Advanced Git Workflows Cheat Sheet

Version Control

Quick reference guide for Advanced Git: Interactive rebase, cherry-pick, bisect, reflog recovery, and worktrees.

GDB & LLDB Debugging Cheat Sheet

Editors & Tools

Quick reference guide for GDB & LLDB: Breakpoints, stepping execution, inspecting memory, watchpoints, and stack traces.

Advanced Regex Patterns Cheat Sheet

Languages

Quick reference guide for Advanced Regex: Positive/Negative lookaheads, lookbehinds, named capture groups, and backreferences.

Dockerfile Cheat Sheet

Containers & Cloud

Quick reference for writing Dockerfiles: base images, instructions, multi-stage builds, best practices, and .dockerignore.

Kubernetes Manifests Cheat Sheet

Containers & Cloud

Quick reference for writing Kubernetes YAML: Pod, Deployment, Service, Ingress, ConfigMap, and common kubectl apply patterns.

OpenAPI & Swagger Cheat Sheet

Reference

Quick reference for the OpenAPI 3.1 specification: paths, operations, schemas, components, security, and spec organization.

JSON Schema Cheat Sheet

Data Formats

Quick reference for JSON Schema: core keywords, validation rules, arrays, nested objects, references, and common patterns.

JSONPath Cheat Sheet

Data Formats

Quick reference for JSONPath expressions: root, child, wildcard, filters, slices, and JSONPath-Plus extensions.

SQL Queries Cheat Sheet

Databases

Quick reference for writing efficient SQL: SELECT, JOINs, aggregation, window functions, CTEs, and query performance basics.

Content Security Policy Cheat Sheet

Security Tools

Quick reference for Content-Security-Policy: source expressions, directive reference, common policy templates, and reporting.

SEO & Structured Data Cheat Sheet

Web & Network

Quick reference for on-page SEO: robots.txt, meta tags, sitemap.xml, Open Graph, and JSON-LD structured data for search engines.

Base64 & Binary Encoding Cheat Sheet

Data Formats

Quick reference for Base64 and binary encoding: padding, URL-safe variants, hexadecimal, binary, and common conversion patterns.

Hashing & Checksums Cheat Sheet

Security Tools

Quick reference for hash functions and checksums: MD5, SHA-1, SHA-2, SHA-3, HMAC, CRC32, and when to use each.

UUID, ULID & Token Formats Cheat Sheet

Reference

Quick reference for identifier and token formats: UUID v1-v8, ULID, NanoID, BIP39 mnemonics, and common token grammars.

Timestamps & Timezones Cheat Sheet

Reference

Quick reference for time handling: ISO 8601, Unix timestamps, UTC, offsets, DST, and formatting patterns across languages.

SVG Cheat Sheet

Visual Tools

Quick reference for scalable vector graphics: viewBox, shapes, paths, transformations, gradients, and optimization basics.

CSS Grid & Flexbox Cheat Sheet

Modern Frontend

Quick reference for CSS layout: Flexbox alignment, Grid template areas, auto-fit, gap, and when to reach for each layout model.

CI/CD Pipeline Config Cheat Sheet

CI/CD & DevOps

Quick reference for CI/CD configuration: GitHub Actions, GitLab CI, Jenkins, CircleCI, and Travis CI syntax compared.

Apache HTTP Server & .htaccess Cheat Sheet

Web & Network

Quick reference for Apache HTTP Server: virtual hosts, directives, URL rewriting, .htaccess, and security hardening.

AWS IAM & S3 Policies Cheat Sheet

Security Tools

Quick reference for AWS IAM and S3 policies: JSON policy structure, actions, conditions, resource ARNs, and least-privilege patterns.

SSL/TLS Certificates & CSRs Cheat Sheet

Security Tools

Quick reference for SSL/TLS certificates: CSR generation, certificate types, chain files, validation, and openssl workflows.

CORS & API Headers Cheat Sheet

Web & Network

Quick reference for CORS and API headers: preflight requests, response headers, Authorization, caching, and common configurations.

XML, TOML & Config Formats Cheat Sheet

Data Formats

Quick reference for configuration formats: XML structures, TOML tables/arrays, and when to choose each serialization.

DNS Records & Lookups Cheat Sheet

Web & Network

DNS record types (A, AAAA, CNAME, MX, TXT, NS, PTR, SOA), lookup commands, and troubleshooting flows.

AWS CloudFormation Cheat Sheet

Containers & Cloud

CloudFormation template structure, resources, parameters, outputs, intrinsic functions, and CLI workflows.

Azure ARM Templates Cheat Sheet

Containers & Cloud

Azure Resource Manager template structure, resources, parameters, variables, outputs, and deployment commands.

Kubernetes Resources & Limits Cheat Sheet

Containers & Cloud

Kubernetes CPU/memory requests, limits, quotas, limit ranges, and resource sizing guidance.

ER Diagrams & Data Modeling Cheat Sheet

Databases

Entity-relationship notation (crow's foot, Chen), cardinality, keys, normalization, and schema design patterns.

GPG / PGP Encryption Cheat Sheet

Security Tools

GPG key generation, symmetric and asymmetric encryption, signing, key management, and revocation.

Webhooks Cheat Sheet

Web & Network

Webhook concepts, payload formats, signatures, retries, security, and local testing patterns.

API Testing & Postman Cheat Sheet

Web & Network

HTTP methods, status codes, request structure, Postman collections, environments, and test assertions.

URL Structure & Parsing Cheat Sheet

Web & Network

URL anatomy (scheme, host, port, path, query, fragment), encoding rules, and parsing across languages.

Semantic Versioning Cheat Sheet

Reference

SemVer rules, version bumping, pre-release and build metadata, ranges, and comparison logic.

CSV Data Cheat Sheet

Data Formats

CSV format rules, delimiters, quoting, escaping, parsing pitfalls, and common transformations.

Service Workers Cheat Sheet

Modern Frontend

Service worker lifecycle, caching strategies, fetch handling, registration, and offline patterns.

Browser Compatibility & Baseline Cheat Sheet

Modern Frontend

Web platform Baseline status, feature detection, caniuse workflows, and cross-browser testing strategies.

QR Codes Cheat Sheet

Reference

QR code structure, versions, error correction levels, encoding modes, and generation/scanning guidance.

LLM Prompt Engineering Cheat Sheet

Reference

Prompt structure, roles, few-shot examples, chain-of-thought, and common techniques for better LLM output.

LLM Token Counting Cheat Sheet

Reference

What tokens are, tokenization, counting methods, context windows, and cost estimation for LLMs.

TLS Handshake Cheat Sheet

Security Tools

TLS 1.3 and 1.2 handshake steps, cipher suites, certificate validation, and troubleshooting.

Database Migrations Cheat Sheet

Databases

Migration workflows, up/down patterns, expand-contract, versioning, and zero-downtime strategies.

Stored Procedures Cheat Sheet

Databases

Stored procedure syntax, parameters, control flow, error handling, and best practices across SQL dialects.

Network Ports Cheat Sheet

Web & Network

Common TCP/UDP port numbers, port ranges, and how to check open ports and services.

IP Addresses & Subnetting Cheat Sheet

Web & Network

IPv4/IPv6 formats, CIDR notation, subnet masks, address classes, and subnet calculation.

MIME Types Cheat Sheet

Web & Network

Common MIME types, Content-Type headers, multipart forms, and how to detect and set them correctly.