Browse
All published sheets.
379 sheets
Sorted by category, then title
AWS CLI Cheat Sheet
Comprehensive AWS CLI commands for configuration, profiles, global options, queries, and common cross-service recipes.
aws-cli
Open sheet →
AWS CLI CloudFormation Cheat Sheet
AWS CLI CloudFormation commands for templates, stacks, change sets, events, package, and deploy workflows.
aws-cli
Open sheet →
AWS CLI EC2 Cheat Sheet
AWS CLI EC2 commands for instances, AMIs, key pairs, VPC networking, security groups, EBS volumes, and snapshots.
aws-cli
Open sheet →
AWS CLI ECR and ECS Cheat Sheet
AWS CLI ECR and ECS commands for repositories, image login and cleanup, clusters, services, task definitions, and tasks.
aws-cli
Open sheet →
AWS CLI IAM and STS Cheat Sheet
AWS CLI IAM and STS commands for users, groups, roles, policies, access keys, caller identity, and assume-role workflows.
aws-cli
Open sheet →
AWS CLI S3 Cheat Sheet
High-level and low-level AWS CLI S3 commands for buckets, objects, sync, versioning, encryption, and presigned URLs.
aws-cli
Open sheet →
Bash Arrays, Strings, and Text Handling
Indexed and associative arrays, string handling, read/mapfile, and common Bash text-processing patterns.
bash
Open sheet →
Bash Builtins, Job Control, and Shell Behavior
Core Bash builtins, shell options, history, aliases, job control, traps, and interactive-shell behavior.
bash
Open sheet →
Bash Cheat Sheet
Comprehensive Bash commands, shell syntax, quoting, variables, redirection, pipelines, and day-to-day scripting patterns.
bash
Open sheet →
Bash Conditionals, Loops, and Functions
Bash if/elif/case logic, test expressions, loops, functions, return codes, and robust control-flow patterns.
bash
Open sheet →
Bash Scripting Patterns and Practical Recipes
Production-minded Bash script patterns for files, arguments, parsing, temp files, logging, retries, and common automation tasks.
bash
Open sheet →
Bash Variables, Quoting, and Expansion
Bash variables, parameter expansion, quoting rules, command substitution, arithmetic, and shell expansion patterns.
bash
Open sheet →
CI/CD Pipelines: Containers, Services, and Environments
Container build/push flows, service dependencies, environment modeling, and deploy snippets.
ci-cd-pipelines
Open sheet →
CI/CD Pipelines: Debugging and Troubleshooting
Debug logs, common CI/CD failures, strict shell mode, retries, and faster pipeline diagnosis.
ci-cd-pipelines
Open sheet →
CI/CD Pipelines: Foundations and Examples
Core CI/CD concepts plus starter examples for GitHub Actions, GitLab CI, and Jenkins.
ci-cd-pipelines
Open sheet →
CI/CD Pipelines: Monorepos, Templates, and Maintainability
Selective execution, shared scripts, naming, and maintainable organization for growing automation estates.
ci-cd-pipelines
Open sheet →
CI/CD Pipelines: Releases, Rollbacks, and Quality Gates
Tag-based releases, canaries, rollbacks, smoke tests, migrations, and quality checks.
ci-cd-pipelines
Open sheet →
CI/CD Pipelines: Reuse, Matrix, Cache, and Artifacts
Reusable workflows, matrix builds, caching strategies, and artifacts across common CI/CD systems.
ci-cd-pipelines
Open sheet →
CI/CD Pipelines: Security, Secrets, and Governance
Least privilege, OIDC, protected variables, pinning, and release governance for safer pipelines.
ci-cd-pipelines
Open sheet →
CI/CD Pipelines: Stages and Deployment Patterns
Stage design, promotions, manual approvals, and deployment strategy examples for safer delivery.
ci-cd-pipelines
Open sheet →
Copilot CLI: Automation, Programmatic Mode, Scripts, and GitHub Actions
Programmatic Copilot CLI usage patterns for scripts, CI jobs, GitHub Actions, and reusable automation flows.
copilot-cli
Open sheet →
Copilot CLI: Hooks, MCP Servers, Skills, and Customization
JSON snippets and commands for extending GitHub Copilot CLI with hooks, MCP servers, skills, and repository initialization.
copilot-cli
Open sheet →
Copilot CLI: Install, Update, Authenticate, and Launch
Commands for installing GitHub Copilot CLI, authenticating, updating, and starting interactive or wrapped sessions.
copilot-cli
Open sheet →
Copilot CLI: Permissions, Config, Trusted Folders, and Environment Variables
Commands and JSON snippets for Copilot CLI permissions, tool access, trusted directories, environment variables, and persistent configuration.
copilot-cli
Open sheet →
Copilot CLI: Prompting, Interactive Use, and Core Workflows
Commands and prompt patterns for interactive use, one-shot prompts, file-aware context, and common terminal Copilot workflows.
copilot-cli
Open sheet →
Copilot CLI: Slash Commands, Shortcuts, Review, and Session Control
Slash commands and keyboard shortcuts for managing sessions, reviewing changes, sharing output, and using advanced agent features in Copilot CLI.
copilot-cli
Open sheet →
Copilot CLI Troubleshooting: Authentication, Access, Policies, and Recovery
Commands for diagnosing Copilot CLI authentication failures, token issues, wrapper install problems, and access-policy errors.
copilot-cli
Open sheet →
cURL Auth, TLS, and Proxy Security
Authentication, cookies, TLS verification, client certs, pinned keys, and proxy-secured curl workflows.
curl
Open sheet →
cURL Cheat Sheet
High-coverage curl commands for HTTP requests, APIs, downloads, uploads, cookies, redirects, and automation.
curl
Open sheet →
cURL Debugging, Performance, and Scripting
Tracing, DNS overrides, proxies, protocol selection, config files, timeouts, and script-friendly curl patterns.
curl
Open sheet →
cURL Download and Upload Workflows
Comprehensive curl patterns for downloads, retries, upload flows, range requests, SMTP, SFTP, and batch transfers.
curl
Open sheet →
cURL HTTP and API Workflows
HTTP methods, auth, JSON APIs, headers, caching, compression, and response inspection with curl.
curl
Open sheet →
Database Indexing Basics and Access Patterns
Core indexing concepts, selectivity, left-prefix behavior, and practical heuristics for when to add an index.
database-indexing
Open sheet →
EXPLAIN, ANALYZE, and Verify Index Usage
Use EXPLAIN tools across PostgreSQL, MySQL, SQLite, and MongoDB to prove whether an index actually helps.
database-indexing
Open sheet →
Indexing Anti-Patterns and Maintenance
Avoid over-indexing, duplicate indexes, low-value indexes, stale statistics, and maintenance mistakes.
database-indexing
Open sheet →
MongoDB Index Types and Query Patterns
Single-field, compound, multikey, text, wildcard, partial, TTL, and unique index patterns for MongoDB.
database-indexing
Open sheet →
MySQL Index Strategies and Verification
Composite indexes, invisible indexes, descending indexes, generated-column indexing, and EXPLAIN workflows in MySQL.
database-indexing
Open sheet →
Partial, Expression, and Functional Indexes
High-leverage index patterns for subsets of data and computed predicates across PostgreSQL, MySQL, and SQLite.
database-indexing
Open sheet →
PostgreSQL Index Types and Strategies
Use PostgreSQL B-tree, GIN, GiST, BRIN, partial indexes, expression indexes, and concurrent builds effectively.
database-indexing
Open sheet →
SQL B-tree, Composite, and Covering Indexes
Practical SQL indexing patterns for equality, range filters, ordering, include columns, and covering scans.
database-indexing
Open sheet →
SQLite Indexes and Query Planner
SQLite CREATE INDEX patterns, expression and partial indexes, EXPLAIN QUERY PLAN, and lightweight performance tuning.
database-indexing
Open sheet →
Docker Buildx Cheat Sheet
Modern BuildKit and Buildx reference for multi-platform builds, cache, secrets, and remote outputs.
docker
Open sheet →
Docker Cheat Sheet
Comprehensive Docker Engine CLI reference for images, containers, networks, volumes, registries, contexts, and cleanup.
docker
Open sheet →
Dockerfile Cheat Sheet
High-value Dockerfile instructions, patterns, and build flags for reproducible and efficient image builds.
docker
Open sheet →
Docker Swarm Cheat Sheet
Swarm cluster, node, service, and stack commands for container orchestration on Docker Engine.
docker
Open sheet →
Docker Compose Cheat Sheet
Commands for starting, stopping, inspecting, and operating Docker Compose projects.
docker-compose
Open sheet →
Docker Compose Dev, Debugging, CI, and Production Patterns
Developer workflows, troubleshooting commands, CI flows, and small-host production Compose patterns.
docker-compose
Open sheet →
Docker Compose Files and YAML Patterns
compose.yaml examples for services, variables, profiles, overrides, and dependency-aware startup.
docker-compose
Open sheet →
Docker Compose Networking, Volumes, and Runtime Controls
Compose patterns for ports, networks, volumes, secrets, configs, and runtime controls.
docker-compose
Open sheet →
fzf Basics: Search, Select, and Script Output
Core fzf usage patterns for filtering lists, selecting items, and integrating the result into shell workflows.
fzf
Open sheet →
fzf Install, Upgrade, and Shell Integration
Install fzf, enable shell integration, and configure global defaults for day-to-day use.
fzf
Open sheet →
fzf Layout, UI, and Styling
Tune layout, borders, headers, sorting, and visual style for cleaner fuzzy-finder interfaces.
fzf
Open sheet →
fzf Preview Windows, Key Bindings, and Actions
Use previews, key bindings, execute actions, and dynamic UI changes to build powerful interactive pickers.
fzf
Open sheet →
fzf Recipes: Files, ripgrep, Git, Processes, and Navigation
Practical pipeline recipes that combine fzf with fd, ripgrep, bat, Git, and shell utilities.
fzf
Open sheet →
fzf Reload, Event Bindings, and Dynamic Sources
Build live search interfaces with reload, change events, refresh-preview, and mode-switching key bindings.
fzf
Open sheet →
fzf Shell Completion and Key Bindings
Set up fuzzy shell completion and customize built-in key bindings like CTRL-T, CTRL-R, and ALT-C.
fzf
Open sheet →
fzf tmux, Editor Integration, Troubleshooting, and Performance
Use fzf with tmux and editors, and fix common issues involving shell integration, source commands, and large repositories.
fzf
Open sheet →
Git Branching Quick Reference
Common branching commands (create, switch, merge, rebase).
git
Open sheet →
Git Cheat Sheet
Comprehensive Git commands for day-to-day work, collaboration, history, releases, recovery, and advanced repository workflows.
git
Open sheet →
Git Config Cookbook
Ready-to-use Git configuration recipes for identity, pull/push policy, aliases, tools, safety, and performance.
git
Open sheet →
Git Hooks
Git hook locations, setup patterns, and reusable client-side hook snippets for linting, testing, policy, and automation.
git
Open sheet →
Git Internals and Plumbing
Low-level Git objects, refs, trees, index, commit creation, and packfile plumbing for advanced users and debugging.
git
Open sheet →
Git Patch and Email Workflows
Patch-oriented Git workflows using format-patch, apply, am, and range-diff for mailing-list and review-based collaboration.
git
Open sheet →
Git Recovery and Reflog
Git recovery patterns using reflog, ORIG_HEAD, fsck, dangling objects, and targeted reset or cherry-pick flows.
git
Open sheet →
Git Revision Syntax
Git revision selectors, ranges, parents, symbolic refs, and object/path addressing.
git
Open sheet →
Git Advanced Cheat Sheet
Advanced Git commands and workflows for rewriting history, recovering commits, debugging regressions, working with multiple trees, and maintaining repositories.
git-advanced
Open sheet →
Git Bisect, Cherry-pick, and Submodule Cheat Sheet
Advanced workflows for regression hunting, selective commit transfer, and repository dependency management.
git-advanced
Open sheet →
Git Rebase Cheat Sheet
Advanced rebase commands, interactive workflows, conflict handling, and branch-transplant patterns.
git-advanced
Open sheet →
Git Reflog and Recovery Cheat Sheet
Recover commits, branches, and work after resets, rebases, deletes, and mistaken force updates.
git-advanced
Open sheet →
Git Reset, Revert, and Restore Cheat Sheet
Understand the differences between reset, revert, and restore and use the right recovery command safely.
git-advanced
Open sheet →
Git Stash, Worktree, and Clean Cheat Sheet
Temporary work preservation, multi-worktree workflows, cleanup commands, and conflict-resolution reuse.
git-advanced
Open sheet →
GitHub Actions: Caching, Artifacts, and GitHub CLI Workflows
Cache dependencies, upload and download artifacts, and drive workflows with GitHub CLI commands in GitHub Actions.
github-actions
Open sheet →
GitHub Actions: Debugging, Logs, and Troubleshooting
Debug failing GitHub Actions workflows with log grouping, debug logging, step summaries, shell flags, and common troubleshooting patterns.
github-actions
Open sheet →
GitHub Actions: Expressions, Contexts, Variables, and Outputs
Expressions, contexts, env vars, configuration variables, step outputs, job outputs, and dynamic workflow logic in GitHub Actions.
github-actions
Open sheet →
GitHub Actions: Jobs, Steps, Matrix, and Reusable Building Blocks
Jobs, steps, matrix builds, conditional execution, reusable workflows, composite actions, and service containers in GitHub Actions.
github-actions
Open sheet →
GitHub Actions: Runners, Containers, Services, and Self-Hosted Execution
GitHub-hosted runners, self-hosted runners, job containers, service containers, labels, and operational patterns for GitHub Actions execution.
github-actions
Open sheet →
GitHub Actions: Secrets, Permissions, Security, and OIDC
Secure GitHub Actions workflows with permissions, environments, secrets, masking, fork safety, and OpenID Connect for cloud auth.
github-actions
Open sheet →
GitHub Actions: Testing, Build, Release, and Deploy Pipelines
Practical CI/CD recipes for testing, build matrices, release creation, package publishing, and environment-based deployments in GitHub Actions.
github-actions
Open sheet →
GitHub Actions: Workflow Syntax and Triggers
Workflow YAML structure, common triggers, path filters, schedule, workflow_dispatch, concurrency, and job basics for GitHub Actions.
github-actions
Open sheet →
GitHub CLI Auth, Alias, and Config
Authentication, enterprise usage, aliases, extensions, completion, org secrets, and administrative helpers.
github-cli
Open sheet →
GitHub CLI Cheat Sheet
Core GitHub CLI commands for auth, repository context, search, JSON output, and daily workflows.
github-cli
Open sheet →
GitHub CLI Issues and Actions
Issue triage plus GitHub Actions workflows, runs, secrets, variables, and caches.
github-cli
Open sheet →
GitHub CLI Releases, Gists, and API
Release management, gist workflows, and direct REST or GraphQL automation with gh api.
github-cli
Open sheet →
GitHub CLI Repos and Pull Requests
Repository creation, forking, syncing, pull request creation, review, and merge workflows in GitHub CLI.
github-cli
Open sheet →
Go CLI Cheat Sheet
Core go command workflows for build, run, test, env, fmt, vet, doc, install, list, clean, toolchains, and everyday module-aware development.
go-cli
Open sheet →
Go CLI Cross Compile and Release
Cross-compilation, build flags, ldflags, reproducible releases, CGO controls, and packaging patterns with the go command.
go-cli
Open sheet →
Go CLI Modules and Workspaces
Go modules and go work workflows for init, tidy, vendor, replace, workspaces, private modules, and dependency management.
go-cli
Open sheet →
Go CLI Testing and Benchmarks
go test patterns for package tests, focused runs, benchmarks, fuzzing, coverage, JSON output, and CI-friendly test workflows.
go-cli
Open sheet →
Go CLI Tools and Generate
go tool, go generate, code generation, formatting helpers, analysis tools, and practical developer automation with the Go CLI.
go-cli
Open sheet →
Htop Batch Alternatives, Exports, and Companion Commands
Practical command-line companions and non-interactive alternatives to htop for logs, scripts, and copyable output.
htop
Open sheet →
Htop Columns, Meters, Threads, and Display Options
Customize meters, visible columns, threads, kernel tasks, and display density for different monitoring scenarios.
htop
Open sheet →
Htop Config, Persistence, and Theming
Persist htop settings, edit configuration files, and manage practical theming and display preferences across sessions.
htop
Open sheet →
Htop Launch, Install, and Startup Flags
Core htop installation and launch commands, including startup options for delay, sorting, tree view, and PID filtering.
htop
Open sheet →
Htop Navigation, Search, Filter, Sort, and Tree View
Interactive keys and workflows for moving around htop, searching processes, filtering by command, changing sort columns, and working in tree view.
htop
Open sheet →
Htop Process Actions, Signals, and Priority Changes
Use htop to renice, kill, tag, and inspect processes, including shortcuts for signals, strace, lsof, and affinity-related workflows.
htop
Open sheet →
Htop Remote, Container, and Server Recipes
Common htop workflows for SSH sessions, containers, services, and production troubleshooting on Linux hosts.
htop
Open sheet →
Htop Troubleshooting and FAQ Recipes
Troubleshooting recipes for missing visibility, permission issues, terminal quirks, and common htop interpretation mistakes.
htop
Open sheet →
HTTP 1xx Informational Status Codes
Informational responses like 100 Continue and 103 Early Hints.
http-status-codes
Open sheet →
HTTP 2xx Success Status Codes
Successful responses like 200 OK, 201 Created, and 204 No Content.
http-status-codes
Open sheet →
HTTP 3xx Redirect Status Codes
Redirection responses like 301, 302, 307, and 308.
http-status-codes
Open sheet →
HTTP 4xx Client Error Status Codes
Client error responses like 400, 401, 403, 404, 409, 422, and 429.
http-status-codes
Open sheet →
HTTP 5xx Server Error Status Codes
Server error responses like 500, 502, 503, and 504.
http-status-codes
Open sheet →
HTTP Common Errors and Debugging
Common HTTP status code comparisons, cURL debugging recipes, and troubleshooting patterns.
http-status-codes
Open sheet →
HTTP Status Codes Cheat Sheet
Comprehensive HTTP status code reference with meanings, examples, and debugging guidance.
http-status-codes
Open sheet →
Java Loops Cheat Sheet
Quick reference for for/while/do-while/enhanced for loops in Java.
java
Open sheet →
JavaScript Arrays and Objects Cheat Sheet
Comprehensive array, object, collection, and string manipulation patterns in JavaScript.
javascript
Open sheet →
JavaScript Async and Promises Cheat Sheet
Promises, async/await, fetch, timers, generators, async iterables, and event loop patterns.
javascript
Open sheet →
JavaScript Cheat Sheet
Core JavaScript syntax, functions, classes, modules, and everyday language patterns.
javascript
Open sheet →
JavaScript DOM and Browser API Cheat Sheet
DOM selection, manipulation, browser events, storage, URL APIs, clipboard, observers, and forms.
javascript
Open sheet →
JavaScript Node.js Cheat Sheet
Node.js filesystem, HTTP, process, streams, events, child processes, and worker threads.
javascript
Open sheet →
JavaScript Regex, JSON, and Date Cheat Sheet
Regular expressions, JSON parsing and serialization, dates, Intl formatting, math, and crypto helpers.
javascript
Open sheet →
jq Arrays and Objects
Deep reference for jq arrays, objects, grouping, entries, path updates, reshaping, and structural manipulation.
jq
Open sheet →
jq Cheat Sheet
Core jq syntax, filters, selectors, arrays, objects, variables, sorting, grouping, formatting, and shell-friendly usage.
jq
Open sheet →
jq CLI Recipes
Real-world jq commands for APIs, cloud tooling, DevOps output, reporting, logs, and shell scripting.
jq
Open sheet →
jq Filters and Transformations
Advanced jq patterns for regex, booleans, dates, math, recursive descent, filtering, and output shaping.
jq
Open sheet →
JSON API Payload Patterns
Reusable JSON payload shapes for APIs: envelopes, pagination, errors, metadata, partial updates, and event-style messages.
json
Open sheet →
JSON Basics
Core JSON syntax, valid values, root structures, and foundational examples for working with JSON documents.
json
Open sheet →
JSON Escaping and Encoding
Escape sequences, Unicode, URLs, embedded JSON strings, and encoding pitfalls when storing or transporting JSON.
json
Open sheet →
JSON Formatting, Minifying, and Pretty-Printing
Commands and patterns for compact JSON, human-readable formatting, stable sorting, and terminal-friendly inspection.
json
Open sheet →
JSONL and NDJSON
Newline-delimited JSON patterns for logs, streams, ETL, and large-file processing workflows.
json
Open sheet →
JSON Objects and Arrays
Patterns for nested objects, arrays, list items, nullability, and common data-shape decisions in JSON.
json
Open sheet →
JSON Schema Validation
Practical JSON Schema examples for required fields, types, enums, arrays, nested objects, and validation workflows.
json
Open sheet →
JSON Types and Values
Examples and edge cases for strings, numbers, booleans, null, arrays, and objects in JSON.
json
Open sheet →
JSON Validation and Common Errors
How to validate JSON, spot parse failures, repair common mistakes, and debug malformed payloads quickly.
json
Open sheet →
kubeadm Cheat Sheet
Bootstrap, join, cert, kubeconfig, reset, phase, image, and upgrade commands for kubeadm-managed clusters.
kubernetes
Open sheet →
Kubernetes JSONPath and Kustomize Cheat Sheet
JSONPath recipes, custom output patterns, jq/yq workflows, and Kustomize commands supported by kubectl.
kubernetes
Open sheet →
Kubernetes & kubectl Cheat Sheet
Comprehensive kubectl commands for contexts, resources, apply flows, creation, deletion, logs, and cluster introspection.
kubernetes
Open sheet →
Kubernetes Networking, Storage, and Config Cheat Sheet
Services, ingress, EndpointSlices, network policies, PVCs, PVs, storage classes, ConfigMaps, Secrets, and nodes.
kubernetes
Open sheet →
Kubernetes Troubleshooting Cheat Sheet
Debugging, inspection, RBAC checks, rollout failures, node health, and maintenance-oriented kubectl workflows.
kubernetes
Open sheet →
Kubernetes Workloads Cheat Sheet
Deployments, StatefulSets, DaemonSets, Jobs, CronJobs, autoscaling, rollouts, and workload maintenance.
kubernetes
Open sheet →
Kubernetes Debugging Cheat Sheet
Core kubectl troubleshooting commands for pods, deployments, services, events, logs, exec sessions, and ephemeral debugging.
kubernetes-debugging
Open sheet →
Kubernetes Logs and Events Cheat Sheet
Find pod logs, previous container logs, event timelines, kube-system logs, and cluster incident evidence quickly.
kubernetes-debugging
Open sheet →
Kubernetes Network Debugging Cheat Sheet
Debug Services, DNS, Ingress, network policies, connectivity, endpoints, and port-forwarding issues.
kubernetes-debugging
Open sheet →
Kubernetes Node Debugging Cheat Sheet
Diagnose node readiness, kubelet issues, pressure conditions, cordon/drain, and node-level debugging with kubectl debug.
kubernetes-debugging
Open sheet →
Kubernetes Pod Debugging Cheat Sheet
Troubleshoot Pending, CrashLoopBackOff, image pull, readiness, liveness, and init container problems.
kubernetes-debugging
Open sheet →
Kubernetes YAML Cheat Sheet
High-value Kubernetes YAML patterns for Pods, Deployments, Services, probes, resources, scheduling, and day-to-day manifest authoring.
kubernetes-yaml
Open sheet →
Kubernetes YAML Config and Secrets
ConfigMap, Secret, projected volume, envFrom, and secure configuration patterns.
kubernetes-yaml
Open sheet →
Kubernetes YAML Kustomize and CRDs
Kustomize overlays, patches, generators, and CRD/CR authoring patterns.
kubernetes-yaml
Open sheet →
Kubernetes YAML Networking
Services, Ingress, NetworkPolicy, ports, and service exposure manifests.
kubernetes-yaml
Open sheet →
Kubernetes YAML Workloads
YAML patterns for Deployments, StatefulSets, DaemonSets, Jobs, CronJobs, HPAs, and PodDisruptionBudgets.
kubernetes-yaml
Open sheet →
Linux Command Cheat Sheet
Comprehensive Linux command reference covering navigation, files, text processing, permissions, processes, system information, networking, archives, services, storage, and troubleshooting.
linux
Open sheet →
Linux Networking Admin Cheat Sheet
Comprehensive Linux networking administration reference covering iproute2, DNS, HTTP debugging, TLS, SSH tunnels, packet capture, and firewall inspection.
linux
Open sheet →
Linux Package Management Cheat Sheet
Comprehensive Linux package management reference for apt, dnf, yum, pacman, zypper, rpm, and dpkg workflows across common distributions.
linux
Open sheet →
Linux Permissions and Security Cheat Sheet
High-value Linux permissions and security reference covering users, sudo, ACLs, special mode bits, SSH access, SELinux, and AppArmor basics.
linux
Open sheet →
Linux Shell Scripting Cheat Sheet
High-value Linux shell scripting reference covering variables, expansion, conditionals, loops, functions, redirection, pipelines, traps, getopts, and script debugging.
linux
Open sheet →
Linux Backup and Disk Imaging Cheat Sheet
Backup, copy, imaging, clone, and storage troubleshooting workflows on Linux.
linux-disk-storage
Open sheet →
Linux Disk Storage Cheat Sheet
Disk inventory, partitions, formatting, and capacity analysis for Linux systems.
linux-disk-storage
Open sheet →
Linux Filesystems and Mounts Cheat Sheet
Mount, unmount, fstab, filesystem check, and repair workflows on Linux.
linux-disk-storage
Open sheet →
Linux LVM, RAID, and Encryption Cheat Sheet
LVM volume management, mdadm RAID, and LUKS encryption workflows.
linux-disk-storage
Open sheet →
Linux Filesystem Cheat Sheet
High-value Linux filesystem commands for navigating, listing, inspecting, copying, moving, linking, and organizing files and directories.
linux-filesystem
Open sheet →
Linux Find and Locate Cheat Sheet
Powerful Linux search commands using find, locate, xargs, and metadata filters.
linux-find-locate
Open sheet →
Linux Networking Cheat Sheet
Comprehensive Linux networking commands for interfaces, sockets, packet capture, and throughput testing.
linux-networking
Open sheet →
Linux Networking: DNS, HTTP, and TLS Testing
DNS troubleshooting, resolver inspection, HTTP probing, and TLS certificate testing from Linux.
linux-networking
Open sheet →
Linux Networking: Firewalls, NAT, and Netfilter
nftables, iptables, ufw, firewalld, conntrack, and packet flow debugging commands.
linux-networking
Open sheet →
Linux Networking: Routing, VLANs, Bridges, and Tunnels
Linux routing tables, policy routing, bridges, VLANs, bonds, and tunnel configuration commands.
linux-networking
Open sheet →
Linux Networking: Troubleshooting and Diagnostics
Reachability, latency, DNS, proxy, logs, and real-time diagnostics for Linux network incidents.
linux-networking
Open sheet →
Linux Paths and Navigation Cheat Sheet
Navigate Linux paths efficiently with cd, pushd/popd, globbing, basename, dirname, and canonical path tools.
linux-paths-navigation
Open sheet →
Linux Permissions and Links Cheat Sheet
Change permissions, ownership, umask, and symbolic or hard links on Linux.
linux-permissions-links
Open sheet →
Linux /proc and Process Debugging
Low-level Linux process inspection with /proc, syscall tracing, profilers, debuggers, and core dumps.
linux-processes
Open sheet →
Linux Processes Cheat Sheet
Comprehensive Linux process inspection, control, scheduling, and backgrounding workflows.
linux-processes
Open sheet →
Linux Process Monitoring
Interactive and sampled monitoring for Linux processes, threads, memory, sockets, and scheduler behavior.
linux-processes
Open sheet →
Linux Signals and Job Control
Linux signals, process groups, shell job control, and safe batch-termination patterns.
linux-processes
Open sheet →
Linux systemd and Service Processes
systemd-oriented process inspection, signaling, cgroup views, transient units, and service troubleshooting.
linux-processes
Open sheet →
Linux systemd Analyze and Troubleshooting Cheat Sheet
Use systemd-analyze, unit verification, logs, and dependency tools to diagnose systemd problems.
linux-systemd-analyze-troubleshooting
Open sheet →
Linux journalctl Cheat Sheet
Read, filter, follow, export, and troubleshoot systemd journal logs.
linux-systemd-journalctl
Open sheet →
Linux systemd Service Files Cheat Sheet
Author, edit, override, and harden systemd .service files with practical examples.
linux-systemd-service-files
Open sheet →
Linux systemd Services Cheat Sheet
Core systemctl commands, unit inspection, service lifecycle management, dependencies, and operational workflows.
linux-systemd-services
Open sheet →
Linux systemd Units and Timers Cheat Sheet
Work with timer units, socket activation, path units, transient services, and user services.
linux-systemd-units-timers
Open sheet →
Linux Text and File Operations Cheat Sheet
Core Linux commands for viewing files, comparing content, touching, truncating, splitting, and combining files.
linux-text-file-ops
Open sheet →
Linux cut, sort, uniq, tr, paste, join, and comm Cheat Sheet
Column extraction, sorting, deduplication, character translation, file combining, and list comparison.
linux-text-processing
Open sheet →
Linux grep and ripgrep Cheat Sheet
Search text with grep, egrep, fgrep, and ripgrep including regex, file globs, recursion, and context.
linux-text-processing
Open sheet →
Linux Pipelines, xargs, split, diff, and Practical Recipes Cheat Sheet
Build practical shell pipelines, batch commands with xargs, compare files, and split or reshape data.
linux-text-processing
Open sheet →
Linux sed and awk Cheat Sheet
Edit text streams with sed and parse structured text with awk.
linux-text-processing
Open sheet →
Linux Text Processing Cheat Sheet
Core Linux text processing commands and shell patterns for searching, filtering, editing, formatting, and analyzing text files and streams.
linux-text-processing
Open sheet →
Makefile Cheat Sheet
Comprehensive GNU make and Makefile reference covering targets, prerequisites, recipes, variables, includes, conditionals, pattern rules, and command-line usage.
makefile
Open sheet →
Makefile Debugging, Parallelism & CI
Debug make behavior, inspect variables, run parallel builds safely, and build reliable CI targets.
makefile
Open sheet →
Makefile Functions & Text Processing
GNU make text, path, conditional, shell, and metaprogramming functions with practical examples.
makefile
Open sheet →
Makefile Pattern Rules & Dependency Generation
Pattern rules, wildcarding, implicit rules, static pattern rules, and generated dependency files in GNU make.
makefile
Open sheet →
Makefile Portable POSIX Patterns
Portable makefile patterns that work across POSIX make environments, avoiding GNU-only features when needed.
makefile
Open sheet →
Makefile Recipes for Real Projects
Production-oriented Makefile targets for apps, Docker, Terraform, Python, Node, Go, and deployment workflows.
makefile
Open sheet →
MongoDB Aggregation Pipeline Patterns
Group, project, sort, unwind, lookup, facet, and aggregate analytics data with MongoDB pipelines.
mongodb
Open sheet →
MongoDB Backup, Restore, and Replica Set Workflows
Use mongodump, mongorestore, replica set commands, and diagnostic tools for operational MongoDB workflows.
mongodb
Open sheet →
MongoDB CRUD for Documents
Insert, find, update, replace, and delete documents with the core mongosh collection methods.
mongodb
Open sheet →
MongoDB Import, Export, and Database Tools
Use mongoimport, mongoexport, bsondump, and GridFS tools for practical MongoDB data movement workflows.
mongodb
Open sheet →
MongoDB Indexes, Explain Plans, and Performance
Create indexes, inspect query plans, and troubleshoot common MongoDB query performance issues.
mongodb
Open sheet →
MongoDB Queries, Projection, Sort, and Pagination
Use filters, logical operators, projections, sorting, skip, and limit to shape query results efficiently.
mongodb
Open sheet →
MongoDB Shell and Connection Basics
Connect with mongosh, switch databases, inspect collections, and run the most common shell workflows.
mongodb
Open sheet →
MongoDB Transactions and Change Streams
Use sessions, multi-document transactions, and change streams for modern event-driven and consistency-sensitive MongoDB applications.
mongodb
Open sheet →
MongoDB Update Operators and Array Patterns
Use $set, $unset, $inc, $push, $addToSet, positional updates, and arrayFilters for real-world MongoDB mutations.
mongodb
Open sheet →
MongoDB Users, Roles, and Administrative Commands
Create users, grant roles, inspect server status, and run the most common administrative commands in MongoDB.
mongodb
Open sheet →
MySQL Aggregation and Window Functions Cheatsheet
group by, having, count, sum, avg, row_number, lag, running totals, and analytical query patterns in MySQL.
mysql
Open sheet →
MySQL Backup, Restore, Import, and Export Cheatsheet
mysqldump, mysql restore, load data infile, select into outfile, mysqlimport, and MySQL Shell dump/load workflows.
mysql
Open sheet →
MySQL Client and Connection Cheatsheet
mysql client commands for connecting, switching databases, inspecting metadata, and working efficiently in interactive or scripted sessions.
mysql
Open sheet →
MySQL DDL and Schema Design Cheatsheet
create, alter, rename, and drop databases and tables in MySQL, with practical patterns for primary keys, unique keys, and foreign keys.
mysql
Open sheet →
MySQL Functions, JSON, and Date Cheatsheet
now, date_add, date_sub, date_format, timestampdiff, json_extract, json_set, json_object, concat, coalesce, and case in MySQL.
mysql
Open sheet →
MySQL Indexes, EXPLAIN, and Performance Cheatsheet
index design, show index, explain, explain analyze, analyze table, and practical performance tuning workflows in MySQL.
mysql
Open sheet →
MySQL Joins, Subqueries, and CTEs Cheatsheet
inner joins, left joins, self joins, subqueries, derived tables, and common table expressions in MySQL.
mysql
Open sheet →
MySQL Procedures, Triggers, and Events Cheatsheet
stored procedures, stored functions, delimiters, call, triggers, and scheduled events in MySQL.
mysql
Open sheet →
MySQL SELECT, INSERT, UPDATE, and DELETE Cheatsheet
practical MySQL CRUD queries including filtering, sorting, pagination basics, inserts, updates, deletes, truncation, and upsert patterns.
mysql
Open sheet →
MySQL Transactions and Locking Cheatsheet
start transaction, commit, rollback, savepoints, select for update, isolation levels, and InnoDB lock troubleshooting.
mysql
Open sheet →
MySQL Users, Grants, and Privileges Cheatsheet
create users, alter passwords, grant privileges, show grants, revoke access, and manage MySQL accounts safely.
mysql
Open sheet →
Node.js CLI
Node.js CLI cheat sheets for runtime flags, debugging, watch mode, test runner, environment variables, and production execution patterns.
nodejs-cli
Open sheet →
Node.js CLI Environment & Config
Node.js CLI environment and config cheat sheets for NODE_OPTIONS, runtime environment variables, proxy settings, CA certificates, and launch patterns.
nodejs-cli
Open sheet →
Node.js CLI Performance & Profiling
Node.js CLI performance cheat sheets for memory tuning, CPU profiling, heap analysis, coverage, and source-map-aware debugging.
nodejs-cli
Open sheet →
Node.js CLI Recipes
Node.js CLI recipes for watch mode, built-in tests, REPL usage, shebang scripts, and practical automation patterns.
nodejs-cli
Open sheet →
Node.js CLI Security & Permissions
Node.js CLI security cheat sheets for the permission model, network and filesystem restrictions, eval hardening, and TLS/crypto settings.
nodejs-cli
Open sheet →
npm Audit & Package Maintenance
Security auditing, package maintenance, and npm org/team workflows.
npm
Open sheet →
npm Cheat Sheet
Core npm CLI, package inspection, package.json editing, and daily workflow commands.
npm
Open sheet →
npm Config, Auth & Cache
Configuration, npmrc, cache management, profile, and token workflows.
npm
Open sheet →
npm Install & Dependencies
Install, update, remove, lockfile, and local-development npm dependency workflows.
npm
Open sheet →
npm Publish & Registry
Publishing, versioning, dist-tags, auth, and registry metadata commands.
npm
Open sheet →
npm Scripts & Workspaces
Scripts, lifecycle hooks, npm exec, and workspace workflows.
npm
Open sheet →
pip Cheat Sheet
Core pip commands for installing, upgrading, uninstalling, inspecting, and managing Python packages.
pip
Open sheet →
pip Config, Cache, and Debugging Cheat Sheet
pip configuration, cache management, network troubleshooting, verbose logs, and environment diagnostics.
pip
Open sheet →
pip Install and Dependencies Cheat Sheet
Dependency installation patterns with pip, including constraints, editable installs, extras, local paths, VCS installs, and resolver control.
pip
Open sheet →
pip Requirements and Locking Cheat Sheet
Patterns for requirements files, constraints, repeatable installs, hashes, wheelhouses, and reproducible environments.
pip
Open sheet →
pip, Virtual Environments, and Interpreters Cheat Sheet
Use pip correctly across Python versions, venvs, pyenv-style setups, CI, and system interpreters.
pip
Open sheet →
pnpm Cheat Sheet
Comprehensive pnpm CLI reference for installs, dependency management, scripts, filtering, and inspection.
pnpm
Open sheet →
pnpm CI, Env, and Patching
CI installs, fetch, production pruning, Node runtime management, patching, and troubleshooting.
pnpm
Open sheet →
pnpm Config and Store
Configuration, .npmrc, store/cache operations, and installation model settings.
pnpm
Open sheet →
pnpm Install and Dependencies
Dependency types, package sources, versions, lockfiles, and reproducible installs.
pnpm
Open sheet →
pnpm Publish and Registry
Pack, publish, dist-tags, registries, auth, and package metadata queries.
pnpm
Open sheet →
pnpm Workspaces
Workspace setup, filtering, recursive execution, deploy flows, and catalogs.
pnpm
Open sheet →
PostgreSQL Administration Cheat Sheet
Server lifecycle, utility commands, grants, monitoring, and cluster maintenance tasks.
postgresql
Open sheet →
PostgreSQL Advanced Cheat Sheet
Replication, transactions, FDWs, extensions, and specialized PostgreSQL workflows.
postgresql
Open sheet →
PostgreSQL Backup and Restore Cheat Sheet
pg_dump, pg_restore, pg_dumpall, pg_basebackup, COPY, and migration workflows.
postgresql
Open sheet →
PostgreSQL Cheat Sheet
Core PostgreSQL commands, SQL patterns, and object management for daily engineering work.
postgresql
Open sheet →
PostgreSQL Performance Cheat Sheet
EXPLAIN, vacuum, planner settings, indexing, and practical tuning recipes.
postgresql
Open sheet →
psql Cheat Sheet
Deep psql reference for connection flags, slash commands, formatting, and automation.
postgresql
Open sheet →
Python Cheat Sheet
Core Python syntax, control flow, operators, collections, and everyday language patterns.
python
Open sheet →
Python Data Structures
Lists, tuples, dictionaries, sets, deque, Counter, defaultdict, heapq, and collection idioms.
python
Open sheet →
Python Functions and Comprehensions
Functions, parameters, lambda, decorators, comprehensions, generators, and functional helpers.
python
Open sheet →
Python OOP and Modules
Classes, dataclasses, inheritance, properties, abstract base classes, modules, and package patterns.
python
Open sheet →
Python Standard Library Patterns
itertools, functools, json, datetime, uuid, regex, subprocess, typing, and enum recipes.
python
Open sheet →
Python Strings, Files, and Exceptions
String handling, file I/O, pathlib, JSON, and exception-handling patterns.
python
Open sheet →
Python asyncio Advanced
Advanced loop management, low-level scheduling, and platform-aware asyncio usage.
python-asyncio
Open sheet →
Python asyncio Cheat Sheet
Core asyncio patterns for writing concurrent I/O-bound Python programs with async and await.
python-asyncio
Open sheet →
Python asyncio Recipes
Real-world asyncio recipes for HTTP concurrency, retries, and pipelines.
python-asyncio
Open sheet →
Python asyncio Streams and Subprocesses
Network streams, subprocesses, and non-blocking integration patterns.
python-asyncio
Open sheet →
Python Debugging Cheat Sheet
Core Python debugging commands, traceback inspection, runtime introspection, and practical troubleshooting workflows.
python-debugging
Open sheet →
Python Logging and Tracing Cheat Sheet
Reference for Python logging, stack traces, warning visibility, trace hooks, and instrumentation patterns.
python-debugging
Open sheet →
Python pdb and Breakpoint Cheat Sheet
Focused reference for pdb commands, breakpoints, stepping, stack frames, and conditional debugging.
python-debugging
Open sheet →
Python Profiling and Troubleshooting Cheat Sheet
Profile Python programs, inspect memory and imports, and diagnose slow or stuck processes.
python-debugging
Open sheet →
Python Test Debugging Cheat Sheet
pytest and unittest debugging patterns for isolating failures, flaky tests, fixtures, and CI-only issues.
python-debugging
Open sheet →
Python venv Cheat Sheet
Comprehensive Python venv reference covering creation, activation, pip usage, requirements, inspection, and recovery workflows.
python-venv
Open sheet →
Python venv + pip Cheat Sheet
Package installation, requirements, editable installs, wheel workflows, and dependency troubleshooting inside Python virtual environments.
python-venv
Open sheet →
Python venv Project Setup Cheat Sheet
Project-level setup patterns for Python virtual environments, pyproject.toml, editable installs, dev tools, and team onboarding.
python-venv
Open sheet →
Python venv Troubleshooting Cheat Sheet
Diagnose activation problems, broken pip, wrong interpreter selection, PATH confusion, and environment drift in Python virtual environments.
python-venv
Open sheet →
React Hooks Cheat Sheet
Built-in React Hooks reference covering state, effects, refs, context, memoization, transitions, and store subscriptions.
react-hooks
Open sheet →
React Hooks Patterns
Reusable custom hook patterns for UI state, data fetching, forms, persistence, and interaction handling.
react-hooks
Open sheet →
React Hooks Pitfalls and Best Practices
Common React Hooks mistakes, stale closure issues, dependency pitfalls, and practical best practices.
react-hooks
Open sheet →
React Hooks Recipes
Practical React Hooks recipes for UI interactions, timers, measurement, polling, and optimistic updates.
react-hooks
Open sheet →
React Hooks with TypeScript
Type-safe React Hooks patterns for state, refs, reducers, and custom hooks.
react-hooks
Open sheet →
Redis Admin and redis-cli Cheat Sheet
redis-cli operational workflows, latency inspection, slowlog, config, ACL, clients, and safe administrative controls.
redis
Open sheet →
Redis Cheat Sheet
Comprehensive Redis commands for redis-cli, key lifecycle, strings, expiration, and core operational workflows.
redis
Open sheet →
Redis Data Types Cheat Sheet
High-value Redis commands for lists, sets, hashes, and sorted sets used in queues, objects, tags, and leaderboards.
redis
Open sheet →
Redis Persistence, Replication, and Cluster Cheat Sheet
RDB, AOF, replication, failover, Lua scripts, functions, and cluster command references for operational Redis use.
redis
Open sheet →
Redis Transactions, Pub/Sub, and Streams Cheat Sheet
Atomic transactions, optimistic locking, pub/sub messaging, streams, consumer groups, geo commands, bitmaps, and HyperLogLog.
redis
Open sheet →
Regex Cheat Sheet
Core regular expression syntax, classes, quantifiers, groups, lookarounds, flags, and performance techniques.
regex
Open sheet →
Regex Examples and Cookbook
Large cookbook of validation, extraction, cleanup, and code-search regex recipes for everyday engineering work.
regex
Open sheet →
Regex for PCRE, grep, ripgrep, and sed
Regex patterns and command-line workflows for grep, ripgrep, sed, awk, and advanced PCRE-style features.
regex
Open sheet →
Regex for VS Code and IDE Search
Regex patterns and search/replace recipes for VS Code, JetBrains IDEs, and common editor refactors.
regex
Open sheet →
Regex in JavaScript
JavaScript RegExp syntax, APIs, flags, named captures, and high-value browser/Node recipes.
regex
Open sheet →
REST API Authentication, Authorization, and Versioning
Bearer auth, API keys, permission errors, versioning strategies, and compatibility patterns for HTTP APIs.
rest-api
Open sheet →
REST API Basics: Resources, Routes, and CRUD
Core REST API patterns for resource-oriented URLs, nested resources, and standard CRUD request examples.
rest-api
Open sheet →
REST API Best Practices and Anti-Patterns
High-signal design rules, consistency patterns, and common mistakes to avoid in production APIs.
rest-api
Open sheet →
REST API Methods and Idempotency
HTTP methods, safe vs unsafe semantics, and idempotency examples for API consumers and designers.
rest-api
Open sheet →
REST API Pagination, Filtering, Sorting, and Search
Common collection query patterns including offset pagination, cursor pagination, filtering, sorting, and search.
rest-api
Open sheet →
REST API Request and Response Patterns
JSON request bodies, envelope choices, sparse fieldsets, includes, concurrency control, and common response contracts.
rest-api
Open sheet →
REST API Resource Naming and URL Design
Naming conventions for resources, relationships, nested endpoints, and clean URL design.
rest-api
Open sheet →
REST API Status Codes and Error Response Design
Practical HTTP status codes, error response bodies, validation failures, and troubleshooting-friendly API error contracts.
rest-api
Open sheet →
Config and Shell Integration
Persist preferred flags, create custom types, and combine ripgrep with fd, fzf, git, and editors.
ripgrep
Open sheet →
Globs, Types, and Ignore Rules
Control what ripgrep searches with globs, type filters, hidden files, and ignore behavior.
ripgrep
Open sheet →
Output, Context, and Reporting
Control headings, context lines, counts, paths, columns, and machine-readable output.
ripgrep
Open sheet →
Performance, Debugging, and Multiline Search
Understand ripgrep defaults, debug missing results, and use PCRE2 or multiline search when required.
ripgrep
Open sheet →
Real-World Code Search Recipes
High-value ripgrep recipes for refactors, security scans, framework audits, logs, and docs.
ripgrep
Open sheet →
Regex and Fixed Strings
Use basic regex, PCRE2, word boundaries, alternation, and literal searches with ripgrep.
ripgrep
Open sheet →
Replace, Preprocess, and Encodings
Preview replacements, search transformed files, and handle compressed or non-UTF8 data.
ripgrep
Open sheet →
ripgrep Basics
Core `rg` searches for files, code, and text with line numbers, smart defaults, and recursive search behavior.
ripgrep
Open sheet →
Rust CLI Build, Run, Test, and Lint
Everyday Cargo workflows for checking, building, running, testing, formatting, linting, and cleaning Rust CLI projects.
rust-cli
Open sheet →
Rust CLI Cargo Config, Environment, Docs, and Debugging
Cargo configuration, environment variables, docs generation, and troubleshooting commands for Rust CLI development.
rust-cli
Open sheet →
Rust CLI Cheat Sheet
Core rustup and Cargo commands for creating, building, running, and inspecting Rust CLI projects.
rust-cli
Open sheet →
Rust CLI Dependencies, Features, and Workspaces
Dependency declarations, feature flags, workspace commands, and reusable patterns for larger Rust CLI projects.
rust-cli
Open sheet →
Rust CLI Package, Install, Publish, and Release
Package local crates, install binaries, publish to crates.io, and prepare Rust CLI releases.
rust-cli
Open sheet →
Rust CLI rustup, Toolchains, Components, and Targets
Manage Rust toolchains with rustup, switch channels, install components, and add cross-compilation targets.
rust-cli
Open sheet →
Rust CLI Troubleshooting: Build Errors and Diagnostics
Commands for investigating compiler errors, Cargo diagnostics, verbose output, and fix suggestions in Rust CLI projects.
rust-cli
Open sheet →
Rust CLI Troubleshooting: CI, Environment, Build Scripts, and Publishing
Commands for debugging CI failures, environment mismatches, build script output, installation problems, and publish checks in Rust CLI projects.
rust-cli
Open sheet →
Rust CLI Troubleshooting: Dependencies, Features, and Lockfiles
Commands for analyzing dependency trees, feature activation, duplicate crates, and lockfile behavior in Rust CLI projects.
rust-cli
Open sheet →
Rust CLI Troubleshooting: Manifest, Packages, and Workspaces
Commands and examples for debugging Cargo.toml issues, package selection mistakes, and workspace confusion in Rust CLI repos.
rust-cli
Open sheet →
Rust CLI Troubleshooting: rustup, Toolchains, Components, and Targets
Commands for fixing toolchain mismatches, missing components, and cross-compilation target issues in Rust CLI projects.
rust-cli
Open sheet →
Rust CLI Troubleshooting: Tests, Doctests, and Documentation
Commands for debugging failing tests, capturing output, isolating flaky cases, and fixing documentation-generation issues in Rust CLI projects.
rust-cli
Open sheet →
SQL Cheat Sheet
Core SQL syntax and patterns for querying, filtering, sorting, joining, grouping, and modifying data.
sql
Open sheet →
SQL DDL and DML
Create and change schema objects, then insert, update, delete, merge, and manage transactional data changes.
sql
Open sheet →
SQL Functions and Aggregation
Reference for string, date, numeric, conditional, null-handling, and aggregate SQL functions.
sql
Open sheet →
SQL Indexing and Performance
Query tuning patterns with EXPLAIN, indexing, keyset pagination, deduplication, and optimization-oriented SQL recipes.
sql
Open sheet →
SQL Joins and Subqueries
Advanced relational query patterns for joins, subqueries, EXISTS, IN, set operations, and correlated queries.
sql
Open sheet →
SQL Window Functions and CTEs
Use CTEs, recursive queries, ranking, running totals, partitions, and lag/lead patterns for analytical SQL.
sql
Open sheet →
SQLite CLI and Shell Cheatsheet
sqlite3 shell commands for opening databases, inspecting schema, formatting output, importing CSV, and scripting common interactive workflows.
sqlite
Open sheet →
SQLite CRUD and SELECT Cheatsheet
High-value SELECT, INSERT, UPDATE, DELETE, UPSERT, ORDER BY, LIMIT, and filtering patterns for day-to-day SQLite development.
sqlite
Open sheet →
SQLite DDL and Schema Design Cheatsheet
CREATE TABLE, constraints, generated columns, foreign keys, defaults, and schema design patterns for production SQLite databases.
sqlite
Open sheet →
SQLite Full-Text Search (FTS5) Cheatsheet
FTS5 virtual tables, MATCH queries, prefix search, phrase search, bm25 ranking, snippets, and highlighting patterns for SQLite search features.
sqlite
Open sheet →
SQLite Import, Export, and Backup Cheatsheet
CSV import/export, SQL dumps, VACUUM INTO, backup copies, and repeatable data movement patterns for SQLite databases.
sqlite
Open sheet →
SQLite Indexes and Query Planner Cheatsheet
CREATE INDEX patterns, covering and partial indexes, EXPLAIN QUERY PLAN, ANALYZE, and practical tuning tips for SQLite queries.
sqlite
Open sheet →
SQLite Joins, CTEs, and Window Functions Cheatsheet
JOIN patterns, recursive CTEs, ranking functions, running totals, and analytical SQL patterns for SQLite.
sqlite
Open sheet →
SQLite JSON Functions Cheatsheet
json_extract, json_set, json_each, JSON operators, generated columns, and practical JSON query/update patterns in SQLite.
sqlite
Open sheet →
SQLite PRAGMA and Administration Cheatsheet
High-signal PRAGMA commands for foreign keys, cache, synchronous settings, page size, temp storage, health checks, and general SQLite administration.
sqlite
Open sheet →
SQLite Transactions, WAL, and Locking Cheatsheet
BEGIN modes, COMMIT and ROLLBACK, savepoints, WAL mode, busy timeouts, and concurrency patterns for SQLite applications.
sqlite
Open sheet →
SQLite Triggers, Views, and Generated Columns Cheatsheet
CREATE VIEW, CREATE TRIGGER, audit logging, derived values, generated columns, and automation patterns in SQLite.
sqlite
Open sheet →
Aggregation After Joins and NULL Handling
Counting, summing, pre-aggregating, and handling NULLs correctly after one-to-many and outer joins.
sql-joins
Open sheet →
INNER, LEFT, RIGHT, and FULL OUTER JOIN Patterns
Practical SQL patterns for inner, outer, and reconciliation-style joins, including full outer join emulation.
sql-joins
Open sheet →
Join Performance, EXPLAIN, and Optimization
SQL join tuning with indexes, plan inspection, row reduction, and troubleshooting guidance.
sql-joins
Open sheet →
Many-to-Many Joins and Bridge Tables
Many-to-many SQL join patterns with bridge tables, aggregation, filtering, and index guidance.
sql-joins
Open sheet →
Self Joins and Hierarchies
SQL self join examples for managers, duplicates, comparisons, and basic hierarchy modeling.
sql-joins
Open sheet →
Semi-Joins and Anti-Joins
High-value EXISTS, IN, NOT EXISTS, and LEFT JOIN IS NULL patterns for membership and missing-row queries.
sql-joins
Open sheet →
SQL Join Basics and Join Types
Core SQL join types with practical examples, NULL behavior, and quick rules for correct join selection.
sql-joins
Open sheet →
SQL Join Patterns and Pitfalls
Common SQL join mistakes, reusable templates, and correctness rules for production queries.
sql-joins
Open sheet →
SQL Window Functions: Deduplication, Gaps and Islands, and Sessionization
Use ROW_NUMBER, LAG, and running groups to deduplicate rows, detect gaps, and form islands or sessions.
sql-window-functions
Open sheet →
SQL Window Functions: FIRST_VALUE, LAST_VALUE, NTH_VALUE, and Positional Analytics
Positional window functions for first, last, and nth values inside ordered partitions.
sql-window-functions
Open sheet →
SQL Window Functions: LAG, LEAD, Deltas, and Time-Series Comparisons
Compare rows to prior or next rows with LAG and LEAD for change detection, retention, and trend analysis.
sql-window-functions
Open sheet →
SQL Window Functions: OVER Clause, PARTITION BY, ORDER BY, and Frames
Core window function syntax, partitions, ordering, and frame clauses for analytic SQL queries.
sql-window-functions
Open sheet →
SQL Window Functions: Percentiles, Bucketing, and Distribution Analysis
Percent rank, cumulative distribution, percentile-style bucketing, and segmentation patterns.
sql-window-functions
Open sheet →
SQL Window Functions: Performance, EXPLAIN, and Dialect Notes
How to tune window queries, reduce sorts, structure indexes, and account for cross-dialect differences.
sql-window-functions
Open sheet →
SQL Window Functions: Ranking, Top N per Group, and Percent Rank
Ranking functions such as ROW_NUMBER, RANK, DENSE_RANK, NTILE, PERCENT_RANK, and CUME_DIST.
sql-window-functions
Open sheet →
SQL Window Functions: Running Totals, Moving Averages, and Cumulative Metrics
Rolling metrics, cumulative sums, moving averages, and period-over-period analytics with frame clauses.
sql-window-functions
Open sheet →
OpenSSH Server Admin Cheat Sheet
sshd administration, config validation, systemd control, logging, hardening, authorized keys, and certificates.
ssh
Open sheet →
SCP and SFTP Cheat Sheet
SSH-based file transfer with scp and sftp, including recursive copies, jump hosts, interactive commands, and batch mode.
ssh
Open sheet →
SSH Cheat Sheet
Comprehensive SSH client commands for login, remote execution, auth, multiplexing, jump hosts, and practical options.
ssh
Open sheet →
SSH Config Cheat Sheet
Client-side SSH configuration examples for aliases, defaults, patterns, includes, ProxyJump, multiplexing, and effective config inspection.
ssh
Open sheet →
SSH Keys and Agent Cheat Sheet
SSH key generation, authorized_keys management, ssh-keyscan, host keys, ssh-agent, ssh-add, and certificate basics.
ssh
Open sheet →
SSH Tunnels and Forwarding Cheat Sheet
Local, remote, and dynamic SSH forwarding with practical database, web, and bastion tunnel recipes.
ssh
Open sheet →
Stripe CLI Cheat Sheet
Core Stripe CLI commands for login, auth, help, webhooks, testing, logs, and common resource operations.
stripe-cli
Open sheet →
Stripe CLI Connect & Billing Workflows
Connect, subscriptions, invoices, test clocks, and billing-oriented Stripe CLI workflows.
stripe-cli
Open sheet →
Stripe CLI Logs, Config, and Troubleshooting
Profiles, config, request logs, diagnostics, and troubleshooting patterns for the Stripe CLI.
stripe-cli
Open sheet →
Stripe CLI Resource Management
Resource CRUD patterns for customers, products, prices, payment intents, checkout sessions, refunds, and subscriptions.
stripe-cli
Open sheet →
Stripe CLI Webhooks & Event Testing
Stripe CLI webhook forwarding, listen, trigger, fixtures, and local integration testing patterns.
stripe-cli
Open sheet →
Terraform CLI Cheat Sheet
Core Terraform CLI commands for init, plan, apply, state, output, variables, workspaces, and automation.
terraform
Open sheet →
Terraform HCP Remote and CI Cheat Sheet
Commands and snippets for HCP Terraform remote runs, CLI auth, automation, and CI-friendly usage.
terraform
Open sheet →
Terraform Language Patterns Cheat Sheet
High-value HCL patterns for variables, locals, outputs, loops, conditionals, dynamic blocks, and data shaping.
terraform
Open sheet →
Terraform Modules and Providers Cheat Sheet
Commands and snippets for modules, providers, version constraints, registry access, and dependency management.
terraform
Open sheet →
Terraform Troubleshooting and Migration Cheat Sheet
Commands and patterns for debugging, upgrades, migration, and state repair in Terraform.
terraform
Open sheet →
Terraform Workspaces and State Cheat Sheet
Manage Terraform CLI workspaces, local and remote state, imports, and state surgery commands.
terraform
Open sheet →
tmux Configuration and Customization
tmux .tmux.conf settings for prefix changes, mouse support, indexing, reloading, and status bar customization.
tmux
Open sheet →
tmux Copy Mode, Scrollback, and Clipboard
tmux copy-mode commands, scrollback capture, search, buffers, and clipboard configuration patterns.
tmux
Open sheet →
tmux Plugins and Productivity Setup
tmux plugin manager patterns, TPM setup, and common plugin snippets for restoring sessions, sensible defaults, and clipboard workflows.
tmux
Open sheet →
tmux Remote Sessions, SSH, and Pairing
tmux patterns for remote servers, resilient SSH sessions, multi-client visibility, and collaboration workflows.
tmux
Open sheet →
tmux Scripting, Formats, and Automation
tmux commands for listing state, using format strings, conditional logic, send-keys automation, and repeatable workspace bootstrapping.
tmux
Open sheet →
tmux Sessions, Windows, and Panes
Core tmux commands and interactive shortcuts for managing sessions, windows, panes, splits, and layouts.
tmux
Open sheet →
tmux Troubleshooting and Debugging
tmux commands and config snippets for diagnosing key bindings, options, environment issues, TERM problems, and server resets.
tmux
Open sheet →
TypeScript Cheat Sheet
Core TypeScript syntax, typing patterns, and compiler commands.
typescript
Open sheet →
TypeScript Classes and Modules
Classes, access modifiers, inheritance, modules, and validation boundaries.
typescript
Open sheet →
TypeScript Functions and Narrowing
Function typing, overloads, control-flow narrowing, and async typing.
typescript
Open sheet →
TypeScript tsconfig and Tooling
tsconfig.json patterns, diagnostics, and project references.
typescript
Open sheet →
TypeScript Types and Generics
Advanced type operators, mapped types, conditional types, and utility types.
typescript
Open sheet →
TypeScript Utility Types and Recipes
Built-in utility types and practical application patterns.
typescript
Open sheet →
Neovim LSP, Treesitter, and Plugins
Language-aware development workflows in Neovim with built-in LSP, Treesitter, and plugin managers.
vim-neovim
Open sheet →
Neovim Lua Config, Keymaps, and Autocmds
Modern Neovim configuration patterns using Lua, keymaps, options, and autocommands.
vim-neovim
Open sheet →
Vim / Neovim Basics: Modes and Navigation
Core modal editing concepts, motions, and movement commands for everyday editing.
vim-neovim
Open sheet →
Vim / Neovim Buffers, Windows, and Tabs
Manage multiple files and layouts with buffers, splits, and tab pages.
vim-neovim
Open sheet →
Vim / Neovim CLI Startup, Diff, and Recovery
Launch editors with flags, compare files, recover swap data, and use terminal-friendly startup patterns.
vim-neovim
Open sheet →
Vim / Neovim Command-line, Help, and Sessions
Use the command line efficiently, navigate help, and save working context with sessions.
vim-neovim
Open sheet →
Vim / Neovim Editing: Operators and Text Objects
Delete, change, yank, repeat, and target text precisely with motions and text objects.
vim-neovim
Open sheet →
Vim / Neovim Search, Substitute, and Macros
Search efficiently, run substitutions, and automate repetitive edits with macros.
vim-neovim
Open sheet →
Vim / Neovim Visual Mode, Block Editing, Registers, and Marks
Select text precisely, edit columns, control registers, and jump back to saved positions.
vim-neovim
Open sheet →
VS Code Cheat Sheet
Comprehensive VS Code reference for navigation, editing, multi-cursor, search, terminal, debugging, settings, and Git workflows.
vscode
Open sheet →
VS Code Debugging and Tasks
Launch configurations, breakpoints, tasks.json, and common debugging workflows in VS Code.
vscode
Open sheet →
VS Code Git and Productivity
Daily Git workflows, compare views, merge conflicts, and general productivity patterns inside VS Code.
vscode
Open sheet →
VS Code Keyboard Shortcuts
High-value VS Code shortcuts for navigation, editing, multi-cursor, search, panels, and windows.
vscode
Open sheet →
VS Code Search and Regex
Search, replace, regex, and multi-file refactoring patterns in VS Code.
vscode
Open sheet →
VS Code settings.json Cookbook
Useful user and workspace settings.json snippets for formatting, files, search, editor behavior, and terminal preferences.
vscode
Open sheet →
VS Code Terminal and CLI
Integrated terminal workflows plus `code` CLI commands for opening files, folders, diffs, and extensions.
vscode
Open sheet →
YAML Anchors, Aliases, and Merge Keys
Reusable YAML patterns using anchors and aliases, with merge examples and commands for expanding and validating resolved config.
yaml
Open sheet →
YAML Basics
Core YAML syntax, indentation rules, maps, lists, and practical validation commands for day-one and day-100 YAML workflows.
yaml
Open sheet →
YAML Config and API Patterns
Application config, OpenAPI, environment settings, and interoperability patterns for YAML across modern tooling.
yaml
Open sheet →
YAML for DevOps, Kubernetes, and CI
Kubernetes manifests, GitHub Actions, Helm, Compose, and YAML-powered automation workflows with practical validation commands.
yaml
Open sheet →
YAML Indentation and Structure
Indentation patterns, nested lists and maps, and practical commands for catching whitespace and structure mistakes.
yaml
Open sheet →
YAML Multi-Document Streams
Document separators, multi-resource YAML files, and commands for splitting, filtering, and validating streamed YAML.
yaml
Open sheet →
YAML Scalars, Strings, and Multiline Blocks
Plain scalars, quoted strings, literal and folded blocks, and the quoting rules that prevent common YAML mistakes.
yaml
Open sheet →
YAML Validation, Linting, and Troubleshooting
Common syntax errors, duplicate keys, parser checks, and validation workflows for debugging YAML faster.
yaml
Open sheet →
YAML with yq: Query, Edit, and Transform
High-value yq commands for reading, updating, filtering, converting, and merging YAML in local scripts and CI pipelines.
yaml
Open sheet →