Developer Cheatsheet

A collection of 192+ command cheatsheets covering Docker, Kubernetes, Git, Linux, Nginx, MySQL, Python, JavaScript and more. Find fast, copy directly.

Instant Search Weekly Updates Bilingual Open Source
192Cheatsheets
1,164Groups
7,342Commands
12Categories

Original Guides View all guides →

Cheatsheets answer "how to write the command"; guides answer "what to do when things break" — original long-form troubleshooting with copy-ready commands.

SysOps

41 cheatsheets
View All

Web Services

13 cheatsheets
View All

Databases

9 cheatsheets
View All

SQL 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.

Reference

16 cheatsheets
View All

Regex 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 code reference covering 1xx-5xx with meanings, common causes and troubleshooting scenarios (http, nginx, rest). Quick lookup for API debugging.

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.

AI CLI

27 cheatsheets
View All

Hermes Agent CLI Cheatsheet - Nous Terminal Multi-Backend AI Agent

One-page Hermes Agent (Nous Research open-source, model-agnostic terminal AI agent) reference covering install, model & tool config, gateway, and setup wizard. Includes hermes, hermes model, hermes tools, hermes config set, hermes gateway. Copy-ready.

Kilo Code CLI Cheatsheet - Terminal Open-source Coding Agent

One-page Kilo Code CLI (terminal AI coding agent, same engine as the IDE extensions) reference covering install, interactive & one-off tasks, and model integrations. Includes kilo, kilo run, kilo --mode, kilo --auto, kilo auth, kilo mcp. Copy-ready.

Pi CLI Cheatsheet - earendil Terminal Multi-Model Coding Agent

One-page Pi (earendil-works multi-model terminal coding agent) reference covering install, interactive sessions, headless mode, and session/model management. Includes pi, pi -c, pi -p, pi @file, /login, /model. Copy-ready.

Kimi Code CLI Cheatsheet - Moonshot Terminal AI Coding Agent

One-page Kimi Code CLI (Moonshot AI terminal AI coding agent, wired to Kimi models) reference covering install, interactive & single instructions, and sessions & models. Includes kimi, kimi -p, kimi -C, /login, /init, /model. Copy-ready.

Grok CLI Cheatsheet - xAI Grok Build Terminal Coding Agent

One-page Grok CLI (xAI Grok Build terminal AI coding agent) reference covering install, interactive sessions, and headless mode. Includes grok, grok -p, grok inspect, XAI_API_KEY, /model. Copy-ready.

Warp Agent CLI Cheatsheet - In-Terminal AI Coding Agent

One-page Warp Agent CLI (AI coding agent built into the Warp terminal) reference covering install, core agent commands, and integrations & cloud agents. Includes /agent, /model, /plan, /orchestrate, /mcp, oz agent run. Copy-ready.

AI Prompts

14 cheatsheets
View All

Prompt Engineering General Techniques Cheatsheet - Role/Structure/Constraints/CoT

One-page model-agnostic prompt engineering techniques covering role anchoring, structured output, explicit constraints, Few-shot, Chain of Thought, self-verification, and pitfalls. Copy-ready templates, not tied to any specific tool.

RAG Prompt Cheatsheet - Context-grounded Answers & Hallucination Control

One-page Retrieval-Augmented Generation (RAG) prompt patterns covering answer-only-from-context, cite sources, handle no-answer, fuse multi-passage evidence, and flag conflicts. Copy-ready, emphasizing traceability and hallucination control.

AI Agent System Prompt Cheatsheet - Role/Tools/Guardrails/Reflection

One-page autonomous-agent system-prompt patterns covering goal/role definition, tool declarations, step-by-step decision loops, guardrails & permissions, error handling and reflection. Copy-ready, emphasizing control and safety.

Text-to-Image Prompt Cheatsheet - Subject/Style/Composition/Light/Params

One-page text-to-image (Midjourney/Stable Diffusion/SDXL, model-agnostic) prompt structure covering subject, style & artists, composition & lens, light & material, negative prompts, and common params. Copy-ready.

Code-generation Prompt Cheatsheet - Requirement/Context/Constraints/Acceptance

One-page code-generation prompt patterns covering requirement & context handoff, language/framework/version constraints, I/O contracts, edge cases & tests, and acceptance criteria. Copy-ready, emphasizing compilable, runnable output.

DeepSeek Prompts Cheatsheet - R1 Reasoning & V3 Chat Writing Techniques

One-page DeepSeek prompt writing cheatsheet, distinguishing the reasoning model R1 (deepseek-reasoner) from the chat model V3 (deepseek-chat). Covers R1 hard rules (no system prompt, instructions in user, no few-shot, temperature 0.6) and V3 system-lock, few-shot, JSON/function calling. Copy-ready templates.