Developer Cheatsheet
A collection of 159+ command cheatsheets covering Docker, Kubernetes, Git, Linux, Nginx, MySQL, Python, JavaScript and more. Find fast, copy directly.
Recently Updated
Version Control
4 cheatsheets.gitignore Cheatsheet - Ignore Patterns & Rules
One-page reference for .gitignore patterns: glob matching, directories vs files, negation, global ignore and common language templates. Quick lookup, copy directly.
Git Cheatsheet - Command Reference
One-page Git command reference covering code commit & stash, branch creation & merge, commit revert & recovery, and remote repository operations — 30+ common operations for daily collaboration and commit recovery scenarios. Quick lookup, copy and run.
Git Branch Management Cheatsheet - Command Reference
One-page Git branch operations reference covering branch creation & switching, merge & rebase, remote branch push & pull, and branch deletion & cleanup. Covers high-frequency usage for team collaboration. Quick lookup, copy and run.
Git Log Cheatsheet - Git Commit History Reference
One-page Git Log quick reference with 48+ common commands across 7 grouped sections (git). Quick lookup, copy and run.
SysOps
41 cheatsheetsLinux Troubleshooting Cheatsheet - System Fault Diagnosis Command Reference
One-page Linux troubleshooting reference covering CPU diagnosis, memory analysis, disk I/O, network troubleshooting, and process management. Quick find, direct copy.
Vim Cheatsheet - Editor Command Reference
One-page Vim reference covering cursor movement, text editing, search and replace, visual mode, and save/exit operations. Quick find, direct copy.
Systemd Cheatsheet - Systemd Service Management Command Reference
One-page Systemd quick reference with 47+ common commands across 7 grouped sections (systemd, systemctl, journalctl). Quick lookup, copy and run.
Cron Cheatsheet - Cron Expression & Task Scheduling Reference
One-page Cron quick reference with 43+ common commands across 7 grouped sections (cron, crontab, linux). Quick lookup, copy and run.
CI/CD Commands Cheatsheet - CI/CD Pipeline Debugging Reference
One-page CI/CD quick reference with 33+ common commands across 6 grouped sections (cicd, github-actions, gitlab-ci, jenkins). Quick lookup, copy and run.
MQ Commands Cheatsheet - Kafka/RabbitMQ/RocketMQ Reference
One-page MQ quick reference with 32+ common commands across 6 grouped sections (mq, kafka, rabbitmq, rocketmq). Quick lookup, copy and run.
Languages
35 cheatsheetsPython Cheatsheet - Command Reference
One-page Python cheatsheet covering variables, data types, strings, lists, dicts, functions, file I/O, exception handling, and more. Quick lookup, copy-ready.
JavaScript Cheatsheet - ES6+ Command Reference
One-page JavaScript ES6+ cheatsheet covering let/const, arrow functions, destructuring, template literals, Promise/async-await, modules, and array methods. Quick lookup, copy-ready.
Go Cheatsheet - Go Syntax & Concurrency Reference
One-page Go quick reference with 44+ common commands across 7 grouped sections (go, golang). Quick lookup, copy and run.
NumPy Cheatsheet - NumPy Functions & Array Operations Reference
One-page NumPy quick reference with 40+ common commands across 5 grouped sections (numpy, python). Quick lookup, copy and run.
Java Cheatsheet - Java & JVM Command Reference
One-page Java quick reference with 34+ common commands across 5 grouped sections (java, jvm, maven, gradle). Quick lookup, copy and run.
PHP Cheatsheet - PHP & Composer Command Reference
One-page PHP quick reference with 36+ common commands across 5 grouped sections (php, composer, cli). Quick lookup, copy and run.
Web Services
13 cheatsheetscurl / wget Cheatsheet - Command-line File Download & HTTP Requests
One-page curl & wget reference: GET/POST requests, headers & cookies, resumable download, proxy auth and debugging, with a side-by-side comparison. Quick lookup, copy directly.
Nginx Cheatsheet - Nginx Configuration & Command Reference
One-page Nginx reference covering config testing with nginx -t/-s reload, location matching priority, proxy_pass reverse proxy snippets, and access/error log troubleshooting. Quick reference, copy directly.
curl Cheatsheet - curl HTTP Debugging Command Reference
One-page curl HTTP debugging reference covering GET/POST basics, -v/-I/-w for detailed debugging, -x proxy & timeout, -u/-F/-o for auth and upload. Quick reference, copy directly.
HTML Cheatsheet - HTML Tags & Attributes Reference
One-page HTML quick reference with 52+ common commands across 7 grouped sections (html). Quick lookup, copy and run.
CSS3 Cheatsheet - CSS3 Properties & Layout Reference
One-page CSS3 quick reference with 59+ common commands across 8 grouped sections (css). Quick lookup, copy and run.
Emmet Cheatsheet - Emmet Abbreviation & Syntax Reference
One-page Emmet quick reference with 39+ common commands across 4 grouped sections (emmet, html, css). Quick lookup, copy and run.
Databases
9 cheatsheetsSQL Cheatsheet - Common Query Syntax & Examples
One-page SQL reference: SELECT, JOIN, aggregation, subqueries, window functions, transactions and DDL, with runnable examples. Quick lookup, copy directly.
MySQL Cheatsheet - MySQL Command Reference
One-page MySQL command reference covering database & table management, CRUD operations, index optimization, user privileges, backup & recovery, and replication. Quick lookup, copy and paste.
PostgreSQL Cheatsheet - PostgreSQL Command Reference
One-page PostgreSQL command reference covering connection & role management, database & table operations, query analysis, lock & transaction troubleshooting, backup & recovery, and streaming replication. Quick lookup, copy and paste.
Redis Cheatsheet - Redis Command Reference
One-page Redis command reference covering string & data structure operations, key space management, persistence configuration, memory troubleshooting, slow query monitoring, and cluster & replication. Quick lookup, copy and paste.
MongoDB Cheatsheet - MongoDB Command Reference
One-page MongoDB quick reference with 43+ common commands across 6 grouped sections (mongodb, nosql). Quick lookup, copy and run.
Neo4j Cypher Cheatsheet - Neo4j Graph Database Command Reference
One-page Neo4j Cypher quick reference with 40+ common commands across 6 grouped sections (neo4j, cypher). Quick lookup, copy and run.
Containers & Orchestration
4 cheatsheetsDocker CLI Cheatsheet - Command Reference
One-page Docker CLI command reference covering image build/pull, container run/exec/logs, network & volume, Compose orchestration, and system prune — 30+ common operations with key flags and troubleshooting scenarios. Quick lookup, copy and run.
kubectl Cheatsheet - Command Reference
One-page kubectl command reference covering pod querying & log diagnosis, deployment scaling & rolling updates, context & namespace switching, and event troubleshooting — 20+ common operations with CrashLoop and ImagePullBackOff debugging paths. Quick lookup, copy and run.
Docker Compose Cheatsheet - Command Reference
One-page Docker Compose command reference covering multi-service orchestration, log tracking & status inspection, config validation & build, network & named volume management, and horizontal scaling — 20+ common operations with key flags and troubleshooting scenarios. Quick lookup, copy and run.
Dockerfile Cheatsheet - Docker Image Build Reference
One-page Dockerfile quick reference with 38+ common commands across 7 grouped sections (docker, dockerfile). Quick lookup, copy and run.
Reference
16 cheatsheetsRegex Cheatsheet - Common Patterns & Syntax Reference
One-page Regex reference covering character classes, anchors, quantifiers, groups, lookahead/lookbehind, greedy vs lazy matching, plus practical patterns for email, URL and phone. Quick lookup, copy directly.
HTTP Methods Cheatsheet - REST/HTTP Verbs & Idempotency
One-page HTTP methods & REST semantics: GET/POST/PUT/PATCH/DELETE verbs, idempotency, safe methods, status-code pairing and common misuses. Pairs with the HTTP Status Codes sheet for API design & debugging. Quick lookup, copy directly.
Regular Expressions Cheatsheet - Regex Syntax Reference
One-page regex syntax reference covering character classes, quantifiers, anchors, groups & captures, lookahead/lookbehind, common patterns, and flags. For grep/sed/awk/JavaScript/Python. Quick lookup, copy and paste.
HTTP Status Codes Cheatsheet - HTTP Response Status Code Reference
One-page HTTP Status Codes quick reference with 38+ common commands across 5 grouped sections (http, nginx, rest). Quick lookup, copy and run.
Markdown Cheatsheet - Markdown Syntax Reference
One-page Markdown syntax reference covering headings, text formatting, links & images, lists, code blocks, tables, blockquotes, and GFM extensions. For writing docs and READMEs. Quick lookup, copy and paste.
LaTeX Cheatsheet - LaTeX Academic Typesetting Reference
One-page LaTeX quick reference with 45+ common commands across 7 grouped sections (latex). Quick lookup, copy and run.
Dev Tools
18 cheatsheetsVSCode Cheatsheet - VS Code Shortcut Reference
One-page VSCode quick reference with 44+ common commands across 7 grouped sections (vscode). Quick lookup, copy and run.
Emacs Cheatsheet - Emacs Shortcut Reference
One-page Emacs quick reference with 48+ common commands across 7 grouped sections (emacs). Quick lookup, copy and run.
ChatGPT Cheatsheet - AI Prompt Reference
One-page ChatGPT quick reference with 35+ common commands across 6 grouped sections (chatgpt, ai, prompt). Quick lookup, copy and run.
Pandoc Cheatsheet - Document Conversion Command Reference
One-page Pandoc quick reference with 38+ common commands across 6 grouped sections (pandoc, markdown, pdf). Quick lookup, copy and run.
Homebrew Cheatsheet - macOS Package Manager Reference
One-page Homebrew quick reference with 38+ common commands across 6 grouped sections (homebrew, brew, mac). Quick lookup, copy and run.
XPath Cheatsheet - XML/HTML Selector Syntax Reference
One-page XPath quick reference with 34+ common commands across 5 grouped sections (xpath, xml, html). Quick lookup, copy and run.
Config Formats
6 cheatsheetsEnv Vars Cheatsheet - .env Config & dotenv Usage
One-page reference for .env files and dotenv usage: variable definition, referencing, type casting, multi-environment files, framework integration and security pitfalls. Quick lookup, copy directly.
.dockerignore Cheatsheet - Docker Build Context Ignore Rules
One-page .dockerignore reference: glob patterns, ignoring files & directories, .dockerignore vs .gitignore differences, slimming the build context, and common pitfalls. Quick lookup, copy directly.
YAML Cheatsheet - YAML Syntax Reference
One-page YAML quick reference with 54+ common commands across 8 grouped sections (yaml). Quick lookup, copy and run.
JSON Cheatsheet
One-page JSON reference: data types, objects, arrays, nested structures, common patterns, and validation. Covers high-frequency usage for writing config files and API data.
TOML Cheatsheet - TOML Configuration Reference
One-page TOML quick reference with 38+ common commands across 6 grouped sections (toml). Quick lookup, copy and run.
INI Cheatsheet - INI Configuration Reference
One-page INI quick reference with 52+ common commands across 8 grouped sections (ini). Quick lookup, copy and run.
AI CLI
5 cheatsheetsClaude Code CLI Cheatsheet - Anthropic AI Coding Agent Full Reference
One-page Claude Code (Anthropic terminal AI coding agent) reference covering install, launch, CLI flags, session & dev slash commands, MCP server management, and prompt file references. Includes -p print mode, -c/-r session resume, --permission-mode, --worktree, claude mcp, and more. Copy-ready.
Codex CLI Cheatsheet - OpenAI Terminal Coding Agent Full Reference
One-page OpenAI Codex CLI (Rust-built terminal coding agent) reference covering install, auth, interactive/non-interactive exec, session management, model & config, sandbox & approval modes, MCP and Codex Cloud. Includes codex / codex exec / --full-auto / --yolo / codex mcp. Copy-ready.
Gemini CLI Cheatsheet - Google Terminal AI Agent Full Reference
One-page Google Gemini CLI (open-source Apache 2.0 terminal AI agent, 2M context) reference covering install, auth, run modes, global flags, session slash commands, MCP & extensions, and GEMINI.md project memory. Includes -p headless, -y/--approval-mode, gemini mcp, gemini extensions. Copy-ready.
Cursor Editor CLI Cheatsheet - AI Editor Command Line & Agent Flags
One-page Cursor (VS Code fork AI editor) command-line tool and Cursor Agent reference. Covers opening files/folders, window management, diff compare, extension management, rendering & performance, remote dev, debugging, plus cursor-agent non-interactive calls and git core.editor integration. Copy-ready.
Aider Cheatsheet - Open-Source Terminal AI Pair Programming Full Reference
One-page Aider (open-source Apache 2.0 terminal AI pair programmer, 100+ models, auto git commits) reference covering install, model & reasoning, files & context, chat modes, Git & run, session tools, and advanced usage. Includes /add, /architect, --lint-cmd, /undo, /voice. Copy-ready.
AI Prompts
3 cheatsheetsChatGPT Prompts Cheatsheet - Effective Prompt Writing Techniques
One-page ChatGPT prompt writing cheatsheet covering role setting, structured output (JSON/table/Markdown), code generation & review, text processing, Few-shot prompting, and Chain of Thought. Copy-ready templates to boost answer quality.
Claude Prompts Cheatsheet - Claude AI Prompt Writing Techniques
One-page Claude prompt cheatsheet highlighting 200K long context, Constitutional AI, and jailbreak refusal. Covers long-doc processing, code generation & analysis, role-play, structured output, multi-turn dialogue, and safety boundaries. Copy-ready templates.
Midjourney Prompts Cheatsheet - AI Image Generation Parameters
One-page Midjourney AI art prompt and parameter reference covering basics (--ar/--v/--q/--niji), style keywords, composition & camera, lighting & mood, negative prompts & weights (--no/::), and advanced tips (seed/chaos/stylize). Copy and combine.
Shortcuts
5 cheatsheetsVSCode Keyboard Shortcuts Cheatsheet
One-page VSCode keyboard shortcuts reference covering General, Editing, Navigation, Search, Window Management, and Terminal. macOS and Windows side-by-side, 30+ high-frequency shortcuts. Quick lookup.
macOS Keyboard Shortcuts Cheatsheet
One-page macOS keyboard shortcuts reference covering General, Finder, Screenshots, Window Management, System, and Text Editing. 30+ high-frequency shortcuts to boost Mac productivity.
Windows Keyboard Shortcuts Cheatsheet
One-page Windows keyboard shortcuts reference covering General, File Explorer, Screenshots, Window Management, System, and Command Line. 30+ high-frequency shortcuts to boost Windows productivity.
Chrome Browser Keyboard Shortcuts Cheatsheet
One-page Chrome browser keyboard shortcuts reference covering Tabs, Windows, Browsing, Address Bar, DevTools, and Mouse. macOS and Windows side-by-side, 25+ high-frequency shortcuts.
Slack Keyboard Shortcuts Cheatsheet
One-page Slack keyboard shortcuts reference covering Messages, Channels, Navigation, Search, and Formatting. macOS and Windows side-by-side, 20+ high-frequency shortcuts for team collaboration.