<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>LaoHand Developer Cheatsheet</title>
    <link>https://laohand.com/</link>
    <description>New and updated developer command cheatsheets — Docker, Kubernetes, Git, Linux, databases, languages and more. Find fast, copy directly.</description>
    <language>zh-CN</language>
    <lastBuildDate>Thu, 10 Sep 2026 00:00:00 GMT</lastBuildDate>
    <atom:link href="https://laohand.com/rss.xml" rel="self" type="application/rss+xml" />
  <item>
    <title>Terraform State Management in Practice: Remote Backends and State Splitting</title>
    <link>https://laohand.com/guides/terraform-state-management/</link>
    <guid isPermaLink="true">https://laohand.com/guides/terraform-state-management/</guid>
    <description>The state file is the source of truth in Terraform: it is the collaboration bottleneck and the file most likely to cause a catastrophe. A lost local state means orphaned resources, and concurrent applies mean two engineers acting on the same resource. This guide covers remote backend selection and configuration, the real semantics of state locking including who may unlock and how to unlock safely, correct state splitting by environment and by component, and how import blocks and moved blocks reshape resource addresses without recreating anything.</description>
    <pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate>
    <category>config</category>
  </item>
  <item>
    <title>Team Git Workflows in Practice: Branching Models and Conflict Resolution</title>
    <link>https://laohand.com/guides/git-workflow-teams/</link>
    <guid isPermaLink="true">https://laohand.com/guides/git-workflow-teams/</guid>
    <description>Branch model choice, the boundary between rebase and merge, and why conflicts keep recurring all point to the same underlying problem: a team without an explicit commit contract. This guide compares the applicable boundaries of trunk-based development and gitflow, gives concrete rules for &quot;rebase locally, merge on shared branches&quot;, explains the destructive edge of history rewriting plus recovery options, analyzes common causes of conflict — parallel edits to the same file, formatters, case-insensitive filesystems — and lays out a message and formatting convention that keeps history readable.</description>
    <pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate>
    <category>vcs</category>
  </item>
  <item>
    <title>CSS Grid Layout in Practice: From Two Columns to Fully Responsive</title>
    <link>https://laohand.com/guides/css-grid-layout/</link>
    <guid isPermaLink="true">https://laohand.com/guides/css-grid-layout/</guid>
    <description>The hard part of CSS Grid is not syntax but how fr units distribute space, when auto and minmax are resolved, and how the implicit grid is filled. Starting from the coordinate system of a grid container, this guide explains the precise meaning of fr remainder distribution, why 1fr can overflow, the difference between minmax and auto-fill versus auto-fit, how grid-auto-flow changes placement, and closes with a copy-ready responsive recipe, canonical centering solutions, and a rule for choosing between Grid and Flexbox.</description>
    <pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate>
    <category>web</category>
  </item>
  <item>
    <title>MySQL Index Design in Practice: Composite Indexes and the Leftmost Prefix</title>
    <link>https://laohand.com/guides/mysql-index-design/</link>
    <guid isPermaLink="true">https://laohand.com/guides/mysql-index-design/</guid>
    <description>Column order in a composite index is a structural decision, not a matter of taste, because it determines whether the index can be used at all. Starting from B+ tree ordering, this guide explains why the leftmost prefix rule holds, why a range condition stops further index usage, how to order columns by selectivity, equality, and sort direction, how covering indexes remove table lookups, and which scenarios genuinely break index usage: function wrapping, implicit type conversion, leading wildcards, and charset mismatches.</description>
    <pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate>
    <category>db</category>
  </item>
  <item>
    <title>Redis Caching in Practice: Hot-Key Breakdowns, Penetrations, and Avalanches</title>
    <link>https://laohand.com/guides/redis-cache-patterns/</link>
    <guid isPermaLink="true">https://laohand.com/guides/redis-cache-patterns/</guid>
    <description>Cache breakdown, penetration, and avalanche sound alike but have completely different causes: a hot key expiring under concurrency, repeated lookups of keys that do not exist, and mass simultaneous invalidation or instance loss. This guide works through each root cause, then covers mutex rebuilds, logical expiry, null-value caching, Bloom filters, TTL jitter, and two-level local caching for hot keys.</description>
    <pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate>
    <category>db</category>
  </item>
  <item>
    <title>SQL Query Optimization in Practice: Locating Slow Queries Through Execution Plans</title>
    <link>https://laohand.com/guides/sql-query-optimization/</link>
    <guid isPermaLink="true">https://laohand.com/guides/sql-query-optimization/</guid>
    <description>Every slow query investigation starts with the execution plan, not with guesswork. This guide walks MySQL EXPLAIN field by field — type, possible_keys, key, rows, filtered, Extra — explains which type values really mean a full table scan and which Extra entries are warning signs, then catalogues six classic index-failure scenarios (implicit type conversion, wrapping a column in a function, leading-wildcard LIKE, broken leftmost-prefix on a composite index, OR mixing, mismatched sort direction) and closes with what SELECT * actually costs and how to rewrite it.</description>
    <pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate>
    <category>db</category>
  </item>
  <item>
    <title>Nginx Load Balancing in Practice: Upstream, Rate Limiting, and Health Checks</title>
    <link>https://laohand.com/guides/nginx-load-balancing/</link>
    <guid isPermaLink="true">https://laohand.com/guides/nginx-load-balancing/</guid>
    <description>proxy_pass is only the entry point — all traffic distribution logic lives in the upstream block. This guide compares the three built-in balancing methods and their distribution pitfalls, shows how max_fails and proxy_next_upstream combine into real failover, explains what upstream keepalive actually buys and where it hurts, and covers the three directives WebSocket needs plus a reusable rate-limiting setup.</description>
    <pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate>
    <category>web</category>
  </item>
  <item>
    <title>Log Analysis in Practice: journald, logrotate, and Multi-Line Troubleshooting</title>
    <link>https://laohand.com/guides/linux-log-analysis/</link>
    <guid isPermaLink="true">https://laohand.com/guides/linux-log-analysis/</guid>
    <description>Disk filled by logs, a systemd unit that refuses to start, yesterday&apos;s logs suddenly &quot;missing&quot; — all three trace the same pipeline: write, rotate, query. This guide filters with journald&apos;s structured fields, gives the correct order for emergency disk reclamation plus handling of files already written after a journal vacuum, and covers logrotate&apos;s copytruncate hazard and how multi-line logs get joined differently in journald, logrotate, and the collection agent.</description>
    <pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate>
    <category>sysops</category>
  </item>
  <item>
    <title>Kubernetes Autoscaling in Practice: Dividing Work Between HPA, VPA, and Node Scaling</title>
    <link>https://laohand.com/guides/k8s-autoscaling/</link>
    <guid isPermaLink="true">https://laohand.com/guides/k8s-autoscaling/</guid>
    <description>&quot;Scale out at 80% CPU&quot; is not how Kubernetes actually behaves. This guide draws the boundaries between the three autoscaling layers: which signals HPA can use, why metrics-server is a hard dependency, why VPA and HPA fight over the same resource fields, and when Custom Metrics or plain node scaling is the right answer.</description>
    <pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate>
    <category>container</category>
  </item>
  <item>
    <title>Kubernetes Network Policies in Practice: From Open-by-Default to Least Privilege</title>
    <link>https://laohand.com/guides/k8s-network-policy/</link>
    <guid isPermaLink="true">https://laohand.com/guides/k8s-network-policy/</guid>
    <description>Pods talk to each other by default, and having zero NetworkPolicy objects means fully open, not locked down. This guide starts from that default behaviour, explains why ingress and egress must be reasoned about separately, clarifies that the CNI plugin is where policy is actually enforced, and walks through six common reasons a policy you wrote never takes effect.</description>
    <pubDate>Fri, 02 Oct 2026 00:00:00 GMT</pubDate>
    <category>container</category>
  </item>
  <item>
    <title>Troubleshooting Sluggish VS Code: Extensions, Indexing and File Watching</title>
    <link>https://laohand.com/guides/vscode-performance-tuning/</link>
    <guid isPermaLink="true">https://laohand.com/guides/vscode-performance-tuning/</guid>
    <description>Input lag and stalled saves are rarely editor bugs. A reproducible order: bisect with an empty window to isolate extensions, clean up extension hosts, control index scope with files.exclude and search.exclude, and tune watching on large repositories.</description>
    <pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate>
    <category>devtools</category>
  </item>
  <item>
    <title>CI Cache Design: Repository Size, Shallow Clones and Cache Keys</title>
    <link>https://laohand.com/guides/git-ci-caching/</link>
    <guid isPermaLink="true">https://laohand.com/guides/git-ci-caching/</guid>
    <description>When CI stalls at the clone step, repository size and cache policy are usually to blame. Shallow clone, partial clone, filter flags, cache key design, and separating artifacts from source.</description>
    <pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate>
    <category>vcs</category>
  </item>
  <item>
    <title>Config Management Evolution: From .env Files to Secret Managers</title>
    <link>https://laohand.com/guides/dotenv-vs-config-management/</link>
    <guid isPermaLink="true">https://laohand.com/guides/dotenv-vs-config-management/</guid>
    <description>A four-stage path from local .env to a secret manager, with applicability boundaries, rotation mechanics and failure modes for each stage.</description>
    <pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate>
    <category>config</category>
  </item>
  <item>
    <title>Engineering Nginx Configuration: Layout and Organization</title>
    <link>https://laohand.com/guides/nginx-config-structure/</link>
    <guid isPermaLink="true">https://laohand.com/guides/nginx-config-structure/</guid>
    <description>How to keep nginx.conf from becoming a 3000-line monolith: include boundaries, map and geo usage, and locking location priority down with tests.</description>
    <pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate>
    <category>config</category>
  </item>
  <item>
    <title>Practical TypeScript Type Design: From any to Maintainable Types</title>
    <link>https://laohand.com/guides/typescript-type-design/</link>
    <guid isPermaLink="true">https://laohand.com/guides/typescript-type-design/</guid>
    <description>any silently spreads into a type black hole. Discriminated unions, generic constraints and a debugging path for narrowing failures that actually scale.</description>
    <pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate>
    <category>language</category>
  </item>
  <item>
    <title>Python Async in Practice: asyncio Pitfalls and Concurrency Patterns</title>
    <link>https://laohand.com/guides/python-async-patterns/</link>
    <guid isPermaLink="true">https://laohand.com/guides/python-async-patterns/</guid>
    <description>Wrote asyncio code but the service is still serial? This guide covers five frequent pitfalls: isolating blocking calls with to_thread or run_in_executor, the exception-propagation difference between asyncio.gather and TaskGroup, forgetting to create an event loop, connection-pool capacity traps, and correct use of wait_for and Semaphore for timeouts and rate limiting.</description>
    <pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate>
    <category>language</category>
  </item>
  <item>
    <title>Redis Persistence Options: RDB, AOF and Hybrid Strategies</title>
    <link>https://laohand.com/guides/redis-persistence-choice/</link>
    <guid isPermaLink="true">https://laohand.com/guides/redis-persistence-choice/</guid>
    <description>RDB or AOF? appendfsync everysec or always? Starting from the multi-part AOF of Redis 7, this guide compares the data-loss windows and throughput cost of the three fsync policies, explains how writes during an RDB snapshot are handled, and covers data-integrity considerations during failover plus a working configuration template.</description>
    <pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate>
    <category>db</category>
  </item>
  <item>
    <title>PostgreSQL Connection Pooling: PgBouncer and the Connection Explosion</title>
    <link>https://laohand.com/guides/postgresql-connection-pooling/</link>
    <guid isPermaLink="true">https://laohand.com/guides/postgresql-connection-pooling/</guid>
    <description>Production dies with FATAL: sorry, too many clients already and the connection count grows like a stock chart. This guide covers the exact symptoms of exhausted max_connections, a comparison of the three PgBouncer pooling modes and their feature limitations, and concrete queries to locate a connection storm.</description>
    <pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate>
    <category>db</category>
  </item>
  <item>
    <title>MySQL Deadlock Troubleshooting: From SHOW ENGINE INNODB STATUS to Root Cause</title>
    <link>https://laohand.com/guides/mysql-deadlock-troubleshooting/</link>
    <guid isPermaLink="true">https://laohand.com/guides/mysql-deadlock-troubleshooting/</guid>
    <description>ERROR 1213 keeps killing production transactions and nobody knows which two statements circled each other. This guide walks the full path: reading every line of the deadlock report, matching the lock holder to the waiter, understanding gap-lock impact, rewriting batch updates in primary-key order, and keeping evidence with innodb_print_all_deadlock.</description>
    <pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate>
    <category>db</category>
  </item>
  <item>
    <title>WebSocket Reverse Proxy: Nginx Configuration and Timeout Traps</title>
    <link>https://laohand.com/guides/websocket-proxy-setup/</link>
    <guid isPermaLink="true">https://laohand.com/guides/websocket-proxy-setup/</guid>
    <description>WebSocket connections keep dropping behind Nginx, handshakes return 400, or messages vanish in a cluster? Start from the minimal Upgrade header setup, then fix silent disconnects caused by the 60s proxy_read_timeout default, sticky sessions, and a copy-paste debugging checklist.</description>
    <pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate>
    <category>web</category>
  </item>
  <item>
    <title>HTTPS and TLS Tuning: Session Resumption, OCSP and Handshake Cost</title>
    <link>https://laohand.com/guides/https-ssl-tuning/</link>
    <guid isPermaLink="true">https://laohand.com/guides/https-ssl-tuning/</guid>
    <description>TLS handshakes are the dominant latency source for short-lived connections. This guide covers session cache versus session tickets, what changes in TLS 1.3, how OCSP stapling removes a client round trip, and a prioritized optimization and verification path for high-connection-churn sites.</description>
    <pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate>
    <category>web</category>
  </item>
  <item>
    <title>Nginx Rate Limiting: Combining limit_conn and limit_req</title>
    <link>https://laohand.com/guides/nginx-rate-limiting/</link>
    <guid isPermaLink="true">https://laohand.com/guides/nginx-rate-limiting/</guid>
    <description>A misconfigured limit is worse than none: without a shared zone, throttling degrades to per-worker accounting. This guide distinguishes limit_req from limit_conn, explains burst queues and the nodelay flag, covers why the shared memory zone is mandatory, and orders the debugging steps for a 429 spike.</description>
    <pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate>
    <category>web</category>
  </item>
  <item>
    <title>Docker Compose Networks and Volumes in Practice</title>
    <link>https://laohand.com/guides/docker-compose-network/</link>
    <guid isPermaLink="true">https://laohand.com/guides/docker-compose-network/</guid>
    <description>Why containers cannot reach each other over localhost, and when to choose a named volume over a bind mount. This guide covers the DNS difference between the default bridge and user-defined networks, service name resolution, published ports versus exposed ports, and the operational trade-offs of both mount styles.</description>
    <pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate>
    <category>container</category>
  </item>
  <item>
    <title>How to Set Kubernetes Resource Requests and Limits</title>
    <link>https://laohand.com/guides/kubernetes-resource-limits/</link>
    <guid isPermaLink="true">https://laohand.com/guides/kubernetes-resource-limits/</guid>
    <description>Requests drive scheduling and QoS class; limits cap runtime usage, and CPU and memory behave nothing alike under a cap. This guide covers QoS classification, CFS throttling versus OOMKill, LimitRange defaults, and how to correctly attribute an OOMKilled container.</description>
    <pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate>
    <category>container</category>
  </item>
  <item>
    <title>Kubernetes Probe Tuning: How liveness and readiness Should Be Split</title>
    <link>https://laohand.com/guides/kubernetes-probe-tuning/</link>
    <guid isPermaLink="true">https://laohand.com/guides/kubernetes-probe-tuning/</guid>
    <description>Misconfigured probes are a top cause of phantom restarts and pods stuck in NotReady. This guide separates the semantics of the three probe types, shows how startupProbe removes restart loops, and gives a repeatable debugging path with kubectl events.</description>
    <pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate>
    <category>container</category>
  </item>
  <item>
    <title>Prometheus Metric Design: Type Selection and Cardinality Control</title>
    <link>https://laohand.com/guides/prometheus-metric-design/</link>
    <guid isPermaLink="true">https://laohand.com/guides/prometheus-metric-design/</guid>
    <description>Choosing the wrong metric type makes rate() and alerting rules produce wrong conclusions, and a single user_id label can take down a Prometheus cluster. This guide gives decision rules for Counter, Gauge, Histogram and Summary, a method for estimating and bounding cardinality, naming and label conventions, and how to catch high-cardinality metrics during review.</description>
    <pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate>
    <category>sysops</category>
  </item>
  <item>
    <title>TCP Connection Troubleshooting and Tuning: TIME_WAIT, Port Exhaustion and Backlog</title>
    <link>https://laohand.com/guides/linux-tcp-tuning/</link>
    <guid isPermaLink="true">https://laohand.com/guides/linux-tcp-tuning/</guid>
    <description>Cannot assign requested address, connect failures, dropped SYNs — most TCP-layer failures are readable from the connection state distribution. This guide covers ss state filtering, the real causes of port exhaustion and TIME_WAIT buildup, the three layers behind somaxconn and backlog, and the correct boundary for tcp_tw_reuse.</description>
    <pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate>
    <category>sysops</category>
  </item>
  <item>
    <title>inode Exhaustion: The Disk Is Not Full but Writes Still Fail</title>
    <link>https://laohand.com/guides/linux-inode-exhaustion/</link>
    <guid isPermaLink="true">https://laohand.com/guides/linux-inode-exhaustion/</guid>
    <description>The classic symptom is &quot;No space left on device&quot; while df -h shows only 20% used. The filesystem has run out of inodes — every file, directory, and symlink consumes one, regardless of how much data it holds. This guide explains the two independent ledgers, why small-file workloads are the danger, how to count files per directory, and how to clean up safely.</description>
    <pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate>
    <category>sysops</category>
  </item>
  <item>
    <title>Diagnosing Disk IO Bottlenecks: from iostat to Per-Process Attribution</title>
    <link>https://laohand.com/guides/linux-io-wait-diagnosis/</link>
    <guid isPermaLink="true">https://laohand.com/guides/linux-io-wait-diagnosis/</guid>
    <description>Slow system at 30% CPU usually means the disk queue is the bottleneck. This guide covers what %util and %await actually mean, why %util 100% is not a verdict, how to read iostat -x, how PSI pressure reveals who is being slowed, and how to attribute wait time to specific processes.</description>
    <pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate>
    <category>sysops</category>
  </item>
  <item>
    <title>systemd Timers in Practice: Replacing cron with Timer Units</title>
    <link>https://laohand.com/guides/linux-systemd-timers-guide/</link>
    <guid isPermaLink="true">https://laohand.com/guides/linux-systemd-timers-guide/</guid>
    <description>cron gives you five environment variables, no catch-up, no dependencies, and logs scattered across syslog. systemd timers give unified logging, inspectable failures, Persistent catch-up, and a far richer scheduling language — plus a clean mapping from existing crontab entries.</description>
    <pubDate>Wed, 30 Sep 2026 00:00:00 GMT</pubDate>
    <category>sysops</category>
  </item>
  <item>
    <title>Prompt Engineering for Coding Agents: Make Claude Code / Codex a Reliable Collaborator</title>
    <link>https://laohand.com/guides/coding-agents-prompt-engineering/</link>
    <guid isPermaLink="true">https://laohand.com/guides/coding-agents-prompt-engineering/</guid>
    <description>Getting a coding agent right on the first try is not about the model but the instruction quality. This guide explains context constraints, minimal-change rules, test-first practice and review prompts, so you can craft reproducible prompts with fewer hallucinations.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>ai-prompt</category>
  </item>
  <item>
    <title>Take Claude Code Through a Real Bug-Fix Flow</title>
    <link>https://laohand.com/guides/claude-code-real-workflow/</link>
    <guid isPermaLink="true">https://laohand.com/guides/claude-code-real-workflow/</guid>
    <description>Walk a real bug from reproduction and tests to surgical fixes and regression verification, with exact instructions.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Prettier and ESLint Together: Formatting and Linting That Do Not Fight</title>
    <link>https://laohand.com/guides/prettier-eslint-config-guide/</link>
    <guid isPermaLink="true">https://laohand.com/guides/prettier-eslint-config-guide/</guid>
    <description>Prettier handles formatting and ESLint enforces quality, but when their rules overlap they fight each other and pre-commit runs get messy. This guide explains how to divide responsibilities, turn off conflicting rules, unify config, and enforce everything in CI.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>config</category>
  </item>
  <item>
    <title>Environment Variables and .env Management: Practical Details Beyond 12-Factor</title>
    <link>https://laohand.com/guides/environment-variables-dotenv/</link>
    <guid isPermaLink="true">https://laohand.com/guides/environment-variables-dotenv/</guid>
    <description>Secrets in code, environment variables drifting across environments, and .env committed to git — almost every project trips on these. Following the 12-factor principle, this guide clarifies precedence, injection methods, and how to manage local and CI config safely.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>config</category>
  </item>
  <item>
    <title>VSCode Debugging Primer: From launch.json to Hovering Over a Variable</title>
    <link>https://laohand.com/guides/vscode-debugging-launchjson/</link>
    <guid isPermaLink="true">https://laohand.com/guides/vscode-debugging-launchjson/</guid>
    <description>Compared with sprinkling console.log everywhere, debugging lets you pause and inspect the call stack and every variable at each step. Starting from editing launch.json, this guide gets Node and front-end projects debugging, then walks through the sidebar, watch expressions and conditional breakpoints.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>devtools</category>
  </item>
  <item>
    <title>tmux Session Management and Reuse: Remote Dev That Survives SSH Drops</title>
    <link>https://laohand.com/guides/tmux-session-management/</link>
    <guid isPermaLink="true">https://laohand.com/guides/tmux-session-management/</guid>
    <description>One dropped SSH and a half-run build, open files and a dozen panes are all gone. This guide shows how tmux named sessions, detach/attach reuse and window/pane layout let you reconnect after a network drop and pick up exactly where you left off.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>devtools</category>
  </item>
  <item>
    <title>MySQL Index Design and EXPLAIN Analysis: From Wasteful to Zero Slow Queries</title>
    <link>https://laohand.com/guides/mysql-index-design-explain/</link>
    <guid isPermaLink="true">https://laohand.com/guides/mysql-index-design-explain/</guid>
    <description>You keep adding indexes yet slow queries do not go away — that usually means the indexes themselves are misdesigned. Starting from real business SQL, this guide covers composite index column order, covering indexes and index-failure scenarios, then walks through EXPLAIN output section by section so you can actually read a plan.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>db</category>
  </item>
  <item>
    <title>Cache Penetration, Breakdown and Avalanche: Identify and Protect Three Redis Faults</title>
    <link>https://laohand.com/guides/redis-cache-thundering-herd/</link>
    <guid isPermaLink="true">https://laohand.com/guides/redis-cache-thundering-herd/</guid>
    <description>When your API suddenly slows down or your database collapses, three kinds of cache faults are usually to blame. This guide uses realistic log symptoms to help you tell apart penetration, breakdown and avalanche, then lays out practical defenses including mutex locks, null-caching and never-expiring hot keys.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>db</category>
  </item>
  <item>
    <title>PostgreSQL Slow-Query Diagnosis and Tuning: From EXPLAIN to shared_buffers</title>
    <link>https://laohand.com/guides/postgresql-slow-query-tuning/</link>
    <guid isPermaLink="true">https://laohand.com/guides/postgresql-slow-query-tuning/</guid>
    <description>Slow query tuning is a three-step ladder: find the query, read the plan, tune the config. This guide covers enabling the slow log, telling Seq Scan from Index Scan in EXPLAIN, and the core knobs that give the best bang for buck on buffers and concurrency.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>db</category>
  </item>
  <item>
    <title>MySQL Logical Backup and Restore: mysqldump, Faster Imports, and Recovering from Accidental Deletes</title>
    <link>https://laohand.com/guides/mysql-backup-and-restore/</link>
    <guid isPermaLink="true">https://laohand.com/guides/mysql-backup-and-restore/</guid>
    <description>Exporting with mysqldump is easy; the hard parts are whether the dump restores cleanly, whether the restores fast enough, and whether an accidental delete comes back. This guide covers consistency flags, single-transaction isolation, import-acceleration knobs, and a binlog-based recovery flow.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>db</category>
  </item>
  <item>
    <title>Debugging REST APIs End-to-End with curl: Methods, Headers, Auth, Upload, and Diagnosis</title>
    <link>https://laohand.com/guides/curl-api-debugging/</link>
    <guid isPermaLink="true">https://laohand.com/guides/curl-api-debugging/</guid>
    <description>curl is the first scene of most API debugging; this guide starts from &quot;see exactly what a request sent&quot;, covering GET/POST, query vs body, Bearer/JWT auth, Multipart uploads, and reading status code plus timing from one response.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>web</category>
  </item>
  <item>
    <title>HTTPS Certificates and Let&apos;s Encrypt Auto-Renewal: From Issuance to a cron Fallback</title>
    <link>https://laohand.com/guides/ssl-cert-auto-renewal/</link>
    <guid isPermaLink="true">https://laohand.com/guides/ssl-cert-auto-renewal/</guid>
    <description>Manually requesting a cert is easy; the hard part is renewing it before expiry automatically. This guide walks certbot through webroot and HTTP-01 validation, configures renewal on port 80, and pairs it with two fallbacks so missing a renewal still does not take the site down.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>web</category>
  </item>
  <item>
    <title>Nginx Reverse Proxy in Practice: location Priority, proxy_pass, and Upstream Balancing Done Right</title>
    <link>https://laohand.com/guides/nginx-reverse-proxy-setup/</link>
    <guid isPermaLink="true">https://laohand.com/guides/nginx-reverse-proxy-setup/</guid>
    <description>Misconfigured proxies usually come down to location matching order and trailing-slash traps; this guide corrects the most commonly botched configs line by line and walks you through wiring a real Node backend into a load-balanced reverse proxy.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>web</category>
  </item>
  <item>
    <title>Linux File Permissions and sudo in Practice: chmod/ACL/setuid and Privilege Boundaries</title>
    <link>https://laohand.com/guides/linux-file-permissions-guide/</link>
    <guid isPermaLink="true">https://laohand.com/guides/linux-file-permissions-guide/</guid>
    <description>From bit permissions to ACLs to why setuid exists, this guide clarifies exactly how read/write/execute are computed, when the special bits backfire, and why sudo should not be a blanket ALL—plus a safer habit before you break something.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>sysops</category>
  </item>
  <item>
    <title>Debugging systemd Service Startup Failures: From status and Dependencies to Ordering Deadlocks</title>
    <link>https://laohand.com/guides/systemd-service-debugging/</link>
    <guid isPermaLink="true">https://laohand.com/guides/systemd-service-debugging/</guid>
    <description>systemctl is-failed is just the first step; this guide splits failures into four kinds—launcher error, process instantly exiting, dependency not ready, and port never listening—with the right log entry and fix for each.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>sysops</category>
  </item>
  <item>
    <title>Linux Network Troubleshooting Field Manual: Connectivity, Packet Loss, Latency, and DNS</title>
    <link>https://laohand.com/guides/linux-network-troubleshooting/</link>
    <guid isPermaLink="true">https://laohand.com/guides/linux-network-troubleshooting/</guid>
    <description>From unreachable pings to crawling slowness and flaky domain resolution, this guide walks layer by layer—link, IP, transport, application—showing which command and which field to look at, with copy-run experiments along the way.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>sysops</category>
  </item>
  <item>
    <title>Linux Memory Exhaustion and OOM Hunting: From dmesg to the Process Likely Out of Control</title>
    <link>https://laohand.com/guides/linux-memory-oom-hunting/</link>
    <guid isPermaLink="true">https://laohand.com/guides/linux-memory-oom-hunting/</guid>
    <description>When a server claims it is out of memory it rarely tells the whole truth; this guide shows how to use free, /proc/meminfo, cgroups, and dmesg to close in on the process actually eating memory, and how to configure against recurring OOM kills.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>sysops</category>
  </item>
  <item>
    <title>Python Packaging and Dependency Locking: From pyproject.toml to PyPI</title>
    <link>https://laohand.com/guides/python-packaging-guidance/</link>
    <guid isPermaLink="true">https://laohand.com/guides/python-packaging-guidance/</guid>
    <description>For turning scripts into publishable packages: pyproject.toml for metadata, venv isolation, lock files for reproducible environments, and releasing to PyPI with twine.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>language</category>
  </item>
  <item>
    <title>JavaScript Error Handling: From try/catch to Global Fallbacks and Retry</title>
    <link>https://laohand.com/guides/javascript-error-handling-patterns/</link>
    <guid isPermaLink="true">https://laohand.com/guides/javascript-error-handling-patterns/</guid>
    <description>A practical catalog for backend and full-stack JS: catching sync and async errors, Promise unhandledrejection, global fallbacks, and exponential-backoff retries.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>language</category>
  </item>
  <item>
    <title>Dockerfile Security Hardening: Shrinking the Attack Surface</title>
    <link>https://laohand.com/guides/dockerfile-security-hardening/</link>
    <guid isPermaLink="true">https://laohand.com/guides/dockerfile-security-hardening/</guid>
    <description>A landing checklist for image maintainers and service containerizers: non-root user, read-only root FS, dropping capabilities, layer hygiene, and image scanning.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>container</category>
  </item>
  <item>
    <title>Kubernetes HPA: Configuring and Verifying Autoscaling</title>
    <link>https://laohand.com/guides/kubernetes-hpa-scaling/</link>
    <guid isPermaLink="true">https://laohand.com/guides/kubernetes-hpa-scaling/</guid>
    <description>For engineers comfortable with Deployments but new to autoscaling: from installing metrics-server, writing an HPA, to load-testing and actually watching replicas scale out.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>container</category>
  </item>
  <item>
    <title>docker compose Multi-Service Integration and Startup Troubleshooting</title>
    <link>https://laohand.com/guides/docker-compose-troubleshooting/</link>
    <guid isPermaLink="true">https://laohand.com/guides/docker-compose-troubleshooting/</guid>
    <description>Getting to the bottom of ordering, environment variables, port collisions, and service-name DNS inside the compose network, with copyable yaml and debugging commands.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>container</category>
  </item>
  <item>
    <title>Parallel Development with git worktree: Multiple Branches at Once</title>
    <link>https://laohand.com/guides/git-worktree-parallel-dev/</link>
    <guid isPermaLink="true">https://laohand.com/guides/git-worktree-parallel-dev/</guid>
    <description>For devs juggling several branches who fear stash chaos while switching, here is how to keep one clean worktree per task and never stash-swap again.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>vcs</category>
  </item>
  <item>
    <title>Git Submodule Management and Its Common Traps</title>
    <link>https://laohand.com/guides/git-submodule-best-practices/</link>
    <guid isPermaLink="true">https://laohand.com/guides/git-submodule-best-practices/</guid>
    <description>A field guide to when a submodule actually makes sense, how to add, clone, and update it, and the standard escape hatches for empty dirs after clone, branch drift, and nesting.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>vcs</category>
  </item>
  <item>
    <title>Bisecting: Pinpoint the Commit That Introduced a Bug</title>
    <link>https://laohand.com/guides/git-bisect-bug-hunting/</link>
    <guid isPermaLink="true">https://laohand.com/guides/git-bisect-bug-hunting/</guid>
    <description>For anyone tired of hunting commits by gut feel, this is the binary-search way to find the commit that broke something, including making the check scriptable so bisect runs hands-free.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>vcs</category>
  </item>
  <item>
    <title>Git Merge and Rebase Conflict Resolution in Practice</title>
    <link>https://laohand.com/guides/git-merge-conflict-resolution/</link>
    <guid isPermaLink="true">https://laohand.com/guides/git-merge-conflict-resolution/</guid>
    <description>For developers branching daily, this guide reads merge conflict markers end to end with reproducible cases and shows how to handle merge, rebase, and rename conflicts.</description>
    <pubDate>Sun, 06 Sep 2026 00:00:00 GMT</pubDate>
    <category>vcs</category>
  </item>
  <item>
    <title>HTTP Caching in Practice: Configuring Cache-Control and ETag Correctly</title>
    <link>https://laohand.com/guides/http-caching-headers/</link>
    <guid isPermaLink="true">https://laohand.com/guides/http-caching-headers/</guid>
    <description>Misconfigured caching ends one of two ways: users never see updates, or origin traffic explodes. This guide covers the split between freshness and validation caching, the hashed-asset vs HTML strategy divide, plus ready-to-use Nginx config and verification commands.</description>
    <pubDate>Mon, 31 Aug 2026 00:00:00 GMT</pubDate>
    <category>web</category>
  </item>
  <item>
    <title>YAML Gotchas: Type Coercion, Indentation and Multiline Strings</title>
    <link>https://laohand.com/guides/yaml-gotchas/</link>
    <guid isPermaLink="true">https://laohand.com/guides/yaml-gotchas/</guid>
    <description>YAML files that &quot;look right but run wrong&quot; usually fail in three places: silently coerced scalars, misplaced indentation, and ambiguous multiline strings. This guide dissects each trap with detection methods and a toolchain.</description>
    <pubDate>Mon, 31 Aug 2026 00:00:00 GMT</pubDate>
    <category>config</category>
  </item>
  <item>
    <title>Bash Script Safety: set -euo pipefail and trap for Trustworthy Scripts</title>
    <link>https://laohand.com/guides/bash-safe-scripting/</link>
    <guid isPermaLink="true">https://laohand.com/guides/bash-safe-scripting/</guid>
    <description>A Bash script that &quot;finishes&quot; is not a script that &quot;worked&quot;: failed commands do not stop it, empty variables pass silently, and pipes hide upstream crashes. This guide fixes all of them with a copy-ready skeleton (set -euo pipefail + trap + quoting discipline).</description>
    <pubDate>Mon, 31 Aug 2026 00:00:00 GMT</pubDate>
    <category>sysops</category>
  </item>
  <item>
    <title>VSCode Remote Development: Remote-SSH Setup and Connection Debugging</title>
    <link>https://laohand.com/guides/vscode-remote-dev/</link>
    <guid isPermaLink="true">https://laohand.com/guides/vscode-remote-dev/</guid>
    <description>A weak laptop, code on an intranet server, GPUs in the cluster — Remote-SSH keeps the UI local while code and terminal run remotely, feeling native. This guide covers setup, passwordless auth, common connection failures and experience tuning.</description>
    <pubDate>Sun, 30 Aug 2026 00:00:00 GMT</pubDate>
    <category>devtools</category>
  </item>
  <item>
    <title>Python Virtual Environments in Practice: venv, Dependency Pinning and Cross-Platform Gotchas</title>
    <link>https://laohand.com/guides/python-venv-dependencies/</link>
    <guid isPermaLink="true">https://laohand.com/guides/python-venv-dependencies/</guid>
    <description>&quot;Works on my machine&quot; usually means mixed environments. This guide builds a clean flow with the stdlib venv: create, activate, pin and reproduce — plus the three frequent pitfalls: Windows activation, version drift and cross-platform dependencies.</description>
    <pubDate>Sun, 30 Aug 2026 00:00:00 GMT</pubDate>
    <category>language</category>
  </item>
  <item>
    <title>SSH Passwordless Login: from ssh-keygen to Permission denied</title>
    <link>https://laohand.com/guides/ssh-passwordless-setup/</link>
    <guid isPermaLink="true">https://laohand.com/guides/ssh-passwordless-setup/</guid>
    <description>Passwordless SSH boils down to one sentence: put the public key into the remote authorized_keys. What blocks you is usually the three hidden gates — file permissions, the home directory, and SELinux. This guide covers the full setup and a step-by-step debugging path.</description>
    <pubDate>Sun, 30 Aug 2026 00:00:00 GMT</pubDate>
    <category>web</category>
  </item>
  <item>
    <title>Kubernetes CrashLoopBackOff: Diagnose a Restart-Looping Pod in 5 Steps</title>
    <link>https://laohand.com/guides/k8s-crashloopbackoff-troubleshooting/</link>
    <guid isPermaLink="true">https://laohand.com/guides/k8s-crashloopbackoff-troubleshooting/</guid>
    <description>CrashLoopBackOff is not one error but a state: the container dies on start, and Kubernetes retries with backoff. This guide gives the shortest path — exit code → previous logs → probes → resources → dependencies.</description>
    <pubDate>Sun, 30 Aug 2026 00:00:00 GMT</pubDate>
    <category>container</category>
  </item>
  <item>
    <title>Redis Slowdown Playbook: Big Keys, Blocking Commands and Eviction</title>
    <link>https://laohand.com/guides/redis-troubleshooting-playbook/</link>
    <guid isPermaLink="true">https://laohand.com/guides/redis-troubleshooting-playbook/</guid>
    <description>Redis processes commands on a single thread, so one blocking hotspot slows the whole instance. This guide follows the order &quot;memory level → big keys → blocking commands → eviction and persistence&quot;, each step with copy-ready commands.</description>
    <pubDate>Sun, 30 Aug 2026 00:00:00 GMT</pubDate>
    <category>db</category>
  </item>
  <item>
    <title>MySQL Slow Query Tuning: Slow Log, EXPLAIN and Indexing</title>
    <link>https://laohand.com/guides/mysql-slow-query-tuning/</link>
    <guid isPermaLink="true">https://laohand.com/guides/mysql-slow-query-tuning/</guid>
    <description>&quot;The database is slow&quot; usually means a handful of slow SQL statements. This guide offers a repeatable flow: use the slow log to circle the most expensive queries, read the plan with EXPLAIN, decide whether an index pays off, and spot the most common index-defeating patterns.</description>
    <pubDate>Sun, 30 Aug 2026 00:00:00 GMT</pubDate>
    <category>db</category>
  </item>
  <item>
    <title>Linux CPU at 100%: the Shortest Path from top to the Thread Stack</title>
    <link>https://laohand.com/guides/linux-cpu-100-locating/</link>
    <guid isPermaLink="true">https://laohand.com/guides/linux-cpu-100-locating/</guid>
    <description>A reusable path to find why Linux CPU is pegged: classify the load, pin the thread, and capture what it is executing.</description>
    <pubDate>Sun, 30 Aug 2026 00:00:00 GMT</pubDate>
    <category>sysops</category>
  </item>
  <item>
    <title>Linux Disk Full: Locate the Real Culprit with df, du and lsof</title>
    <link>https://laohand.com/guides/linux-disk-full-troubleshooting/</link>
    <guid isPermaLink="true">https://laohand.com/guides/linux-disk-full-troubleshooting/</guid>
    <description>A &quot;No space left on device&quot; error does not mean you should delete files at random. This guide walks through the full path — filesystem water level, directory drill-down, and &quot;deleted but still held&quot; files — plus a safe cleanup order that will not destroy data.</description>
    <pubDate>Sun, 30 Aug 2026 00:00:00 GMT</pubDate>
    <category>sysops</category>
  </item>
  <item>
    <title>Nginx 502 Bad Gateway? Locate It in 5 Steps</title>
    <link>https://laohand.com/guides/nginx-502-troubleshooting/</link>
    <guid isPermaLink="true">https://laohand.com/guides/nginx-502-troubleshooting/</guid>
    <description>A 502 means Nginx itself is fine but got an invalid response from the upstream (backend/proxy). This guide gives the shortest path: process → config → timeout → resources → logs.</description>
    <pubDate>Mon, 24 Aug 2026 00:00:00 GMT</pubDate>
    <category>web</category>
  </item>
  <item>
    <title>Docker Image Slimming: 5 Steps from 1.2GB to 120MB</title>
    <link>https://laohand.com/guides/docker-image-slimming/</link>
    <guid isPermaLink="true">https://laohand.com/guides/docker-image-slimming/</guid>
    <description>Five steps to shrink a Docker image from 1.2GB to 120MB, each with a reusable Dockerfile snippet and verification.</description>
    <pubDate>Mon, 24 Aug 2026 00:00:00 GMT</pubDate>
    <category>container</category>
  </item>
  <item>
    <title>Git Accident Recovery: Fix Wrong Commits, Wrong Branches and Deleted Branches</title>
    <link>https://laohand.com/guides/git-accident-recovery/</link>
    <guid isPermaLink="true">https://laohand.com/guides/git-accident-recovery/</guid>
    <description>Wrong commit, wrong push, or deleted branch? Copy-ready recovery commands with clear safety boundaries for each.</description>
    <pubDate>Mon, 24 Aug 2026 00:00:00 GMT</pubDate>
    <category>vcs</category>
  </item>
  <item>
    <title>Tabnine CLI Cheatsheet - Terminal AI Coding Assistant Full Reference</title>
    <link>https://laohand.com/tabnine/</link>
    <guid isPermaLink="true">https://laohand.com/tabnine/</guid>
    <description>Tabnine CLI is often treated as a bolt-on to the IDE plugin, but treated as a standalone tool it suits a specific class of task: asking questions about a repository, or having it read and rewrite files, without opening an editor at all. Knowing what runtime dependencies package.json actually declares, explaining code inside a GUI-less build container, or running one refactoring pass over a module in CI - in each case launching an editor just to ask is pure waste. This sheet covers install and launch, interactive commands, authentication and automation, and file operations, with @ references to files or directories at the centre, letting the tool read the context instead of having you paste it. Reach for it when the deciding question is whether a human needs to stay in the loop: the interactive mode suits exploration and repeated adjustment, while -p suits one-shot scripted calls. Authentication is the prerequisite for both shapes, and a non-interactive environment without a token will simply fail repeatedly. · Sections: Install and Start, Interactive Commands, Auth and Automation · e.g. npm install -g @tabnine/cli, tabnine, tabnine --version</description>
    <pubDate>Thu, 10 Sep 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>SGLang CLI Cheatsheet - sglang.launch_server Inference Full Reference</title>
    <link>https://laohand.com/sglang/</link>
    <guid isPermaLink="true">https://laohand.com/sglang/</guid>
    <description>Standing up a self-hosted model API is easy; making it fast is the real work. SGLang leans on RadixAttention, which organizes prompt prefixes into a radix tree so multi-turn conversations and shared system prompts reuse KV cache automatically, cutting time-to-first-token noticeably on long prefixes. This table groups launch_server options into startup, quantization and precision, and performance, covering tensor parallel splitting, speculative or expert parallel sizing, quantization choice, and the memory fraction reserved for the KV cache. A workable decision order: check whether the model fits on one GPU, add tensor parallelism if it does not, quantize only if adding cards is not an option, and touch the KV cache ratio last because it directly costs throughput. Reach for it when you need a local OpenAI-compatible endpoint, when benchmarking throughput, or when production latency is high but GPU utilization looks unremarkable. The real difference from vLLM is prefix cache efficiency, so pick by request shape. · Sections: Basic Launch, Quantization and Precision, Performance and Advanced · e.g. python -m sglang.launch_server --model-path meta-llama/Meta-Llama-3-8B-Instruct, python -m sglang.launch_server --model-path model --host 0.0.0.0 --port 30000, python -m sglang.launch_server --model-path model --tp 2</description>
    <pubDate>Thu, 10 Sep 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>gptme CLI Cheatsheet - Terminal AI Agent Full Reference</title>
    <link>https://laohand.com/gptme/</link>
    <guid isPermaLink="true">https://laohand.com/gptme/</guid>
    <description>gptme is a personal agent that lives in the terminal and carries its own shell, Python, web and vision tools. It reads files, runs commands and fans out to sub-agents without pinning you to one provider. What separates it from a chat assistant is that it acts rather than advises, which means the two things that decide whether it helps are context and permissions. Index the project so retrieval carries your codebase into the conversation, and grant or revoke individual tools with +tool and -tool rather than enabling everything, especially anywhere the run is unattended. For scripting, -y removes the interactive confirmation and --output-format json returns structured output; together they are the prerequisite for wiring it into CI or a long-running job. Sections cover basic conversation, tools and context, and session and tool management. Because it runs commands, treat prompts as input to a program under your control: prefer narrow tool grants, and read the output before piping it into anything else. · Sections: Basic Chat, Tools and Context, Sessions and Tooling · e.g. gptme &quot;hello&quot;, gptme &quot;fix TODOs&quot; main.py, gptme -m anthropic/claude-sonnet-4-20250514</description>
    <pubDate>Thu, 10 Sep 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Open WebUI CLI Cheatsheet - open-webui Self-hosted AI Platform Full Reference</title>
    <link>https://laohand.com/open-webui/</link>
    <guid isPermaLink="true">https://laohand.com/open-webui/</guid>
    <description>Open WebUI solves the problem of teams needing models without everyone managing separate vendor consoles: it aggregates Ollama and any OpenAI-compatible service behind one interface with user accounts, an admin panel, knowledge bases and conversation history, so model access is issued centrally instead of via personal API keys. This sheet covers installation and launch, updating and maintenance, and deployment and configuration. Two operational details decide whether the deployment survives. First, the data directory must be set explicitly - launched via a temporary runner, chats, user settings and knowledge-base indexes disappear when the process exits, and that loss usually surfaces only when someone reports their history is gone. Second, concurrency during upgrades: running database migrations with multiple replicas or workers in parallel can corrupt the store, so the correct sequence is scale down to a single replica, complete the migration, then scale back out. These two are the most common real failure sources in self-hosted deployments; most other settings can be tuned later. · Sections: Install and Start, Update and Maintenance, Deploy and Config · e.g. pip install open-webui, open-webui serve, open-webui serve --port 8088</description>
    <pubDate>Thu, 10 Sep 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Tabby CLI Cheatsheet - Self-hosted AI Coding Assistant Full Reference</title>
    <link>https://laohand.com/tabby/</link>
    <guid isPermaLink="true">https://laohand.com/tabby/</guid>
    <description>Tabby targets one specific job: code completion with model weights, indexing, and the API all on your own machine, so an IDE plugin only has to point its completion endpoint at localhost, with no external database and no cloud account. This table groups installation and startup, models and indexing, and configuration and API, covering how tabby serve launches the service, how download fetches models, and when scheduler should trigger repository indexing. The judgment is straightforward: whether completion feels good depends on model choice and index quality rather than on the deployment itself, so get one baseline completion model running and confirm the latency is acceptable before investing in answer-engine context. Reach for it when an internal network cannot install hosted services, when a team should share one private completion backend, or when the answer engine needs context from the current repository. Against a general-purpose gateway such as LocalAI, Tabby is tuned for editor completion and gives up broad chat capability in exchange. · Sections: Install and Start, Models and Indexing, Config and API · e.g. ./tabby serve --model StarCoder-1B, ./tabby serve --model StarCoder-1B --device cuda, ./tabby serve --model StarCoder-1B --device metal</description>
    <pubDate>Thu, 10 Sep 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Phidata CLI Cheatsheet - phi Multi-agent Workspace Full Reference</title>
    <link>https://laohand.com/phidata/</link>
    <guid isPermaLink="true">https://laohand.com/phidata/</guid>
    <description>Delivering an agent application often costs more in environment drift than in the logic itself, because every new machine, teammate, or staging box means reconfiguring dependencies and credentials again. Phidata, now part of the Agno ecosystem, takes the opposite stance: the phi command line initializes the framework, creates and switches workspaces, and turns resource declarations into a local Docker environment or real resources on AWS. This table groups initialization and auth, workspace management, and resource deployment, focusing on how configuration files map to environments and when the local docker profile should give way to the production aws one. The test is blunt: can a clean machine restore the entire environment with one command, or do you still have to hand-write an .env? Reach for it when several people develop an agent together, when a demo must become a shippable service, or when you want credentials out of every individual workstation. Against a hand-rolled service plus Dockerfile, the extra abstraction is resource declarations plus deployment targets, which pays off only if you genuinely run multiple environments. · Sections: Init and Auth, Workspace Management, Resources and Deploy · e.g. pip install -U phidata, phi init, phi auth</description>
    <pubDate>Thu, 10 Sep 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>CrewAI CLI Cheatsheet - crewai Multi-agent Framework Full Reference</title>
    <link>https://laohand.com/crewai/</link>
    <guid isPermaLink="true">https://laohand.com/crewai/</guid>
    <description>CrewAI splits multi-agent collaboration into two shapes that differ not in capability but in determinism. A crew hands a set of roles and tasks to the framework to orchestrate; a flow is code you write yourself, defining steps and branches. The first saves you code at the cost of an execution path that is not guaranteed identical between runs; the second costs a little more code and buys reproducibility, debuggability and breakpoints. Which one to pick depends on whether the process itself must be controlled: content production and research summaries, where a correct result is enough, usually suit a crew, while anything involving approval, fallback and retry generally needs a flow. This sheet covers install and creation, running and training, tools and maintenance, and help and troubleshooting, noting that create crew and create flow generate two entirely different directory layouts that should not be mixed. Reach for it when behaviour looks wrong: first confirm which shape you are running, then consider reset-mem, because a stale memory file is the real reason behind tasks edits that appear to do nothing. · Sections: Install and Create, Run and Train, Tooling and Maintenance · e.g. pip install crewai, crewai create crew my_crew, crewai create flow my_flow</description>
    <pubDate>Thu, 10 Sep 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Mentat CLI Cheatsheet - Terminal Multi-file AI Coding Agent Full Reference</title>
    <link>https://laohand.com/mentat/</link>
    <guid isPermaLink="true">https://laohand.com/mentat/</guid>
    <description>Mentat is an AI coding agent that runs in the terminal, and its core artifact is not a code snippet pasted into a conversation but a unified diff spanning multiple files. You supply files and a requirement, it produces a patch, and you decide whether to apply it. That shape implies several concrete consequences. Review is a required step rather than an optional courtesy, because edits cross file boundaries and a fragment view hides the knock-on changes. It honours .gitignore and stays within the paths you pass, so the safety boundary is drawn by your arguments. And on a large repository, choosing files by hand is not realistic, so retrieval-driven context cuts down how much you have to feed it. Sections cover installation and first steps, context control, and interactive versus scripted use. For large refactors, state the scope once and apply diffs methodically rather than holding many single-file conversations. · Sections: Install and Start, Context Control, Interaction and Scripting · e.g. pip install mentat-ai, mentat, mentat --help</description>
    <pubDate>Thu, 10 Sep 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>GPT Engineer CLI Cheatsheet - gpte Code Generation Full Reference</title>
    <link>https://laohand.com/gpt-engineer/</link>
    <guid isPermaLink="true">https://laohand.com/gpt-engineer/</guid>
    <description>GPT Engineer sits in a different category from Copilot-style tools. It does not complete the function you are typing; it accepts a written requirement and materialises a whole runnable project directory on disk. The test for choosing it is whether your goal is a working skeleton from nothing - if so it removes the mechanical work of creating directories, declaring dependencies and writing a README. If you only need to change three lines in an existing file, the prompt overhead outweighs the benefit. This sheet is split into install and create, improve and feedback, and model and flags. Start with --steps, because it decides the internal workflow: clarify asks questions first, tdd writes tests first, and evaluate reviews an implementation without rewriting it, so the flow should follow the nature of the task rather than defaulting blindly. When improving an existing codebase, -i lets you select which files enter the context window, and selecting too much is the most common source of context overflow and drift. For a new project, drop the requirement into a file named prompt inside the project directory and pass only the path. · Sections: Install and Create, Improve and Feedback, Model and Flags · e.g. pip install gpt-engineer, gpt-engineer projects/my-new-project, gpte projects/my-new-project</description>
    <pubDate>Thu, 10 Sep 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>LM Studio CLI Cheatsheet - lms Model Management Full Reference</title>
    <link>https://laohand.com/lmstudio/</link>
    <guid isPermaLink="true">https://laohand.com/lmstudio/</guid>
    <description>The value of the lms command is that it turns LM Studio desktop model management into a scriptable interface. When it earns its place: preparing a model, starting a server or running an evaluation from CI or an automation script, where the desktop GUI becomes an obstacle. If you are only chatting locally, the graphical interface is faster and this detour is unnecessary. The sheet lays out install and status, model management, and service and chat, chaining ls, ps, get, import, load, unload, server and chat into one workflow. The detail most often missed is the difference between ls and ps: ls lists what is downloaded on disk, ps lists what is currently loaded into memory, and the gap between them is where your VRAM goes. Reach for this sheet when you hit an out-of-memory error despite having downloaded only one model, or when you need to point any OpenAI-compatible client at a local model. · Sections: Install and Status, Model Management, Serve and Chat · e.g. lms, lms --help, lms status</description>
    <pubDate>Thu, 10 Sep 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>LocalAI CLI Cheatsheet - local-ai Self-hosted Inference Server Full Reference</title>
    <link>https://laohand.com/localai/</link>
    <guid isPermaLink="true">https://laohand.com/localai/</guid>
    <description>Plenty of teams want to keep using the OpenAI SDK without shipping code off the network, and LocalAI is the swap-in path: point base_url at localhost and models, embeddings, and speech all stay on your own machine. This table groups service startup, model management, and API and fine-tuning, explaining the difference between run and serve under the local-ai entry point, how the models subcommands install and list what you have, and how the fine-tuning endpoints are called. The deciding variable is the match between hardware and model size: whether it runs without a GPU depends on parameter count and quantization level, not on LocalAI itself, so validate the whole chain with a few-hundred-megabyte quantized model before attempting anything larger. Reach for it when compliance requires data to stay inside the network, when a development environment must reproduce a model behavior offline, or when routing between a small local model and a large hosted one. Against GPU-only serving stacks such as vLLM, it behaves more like a local AI gateway with model management and multimodal support built in. · Sections: Start Server, Model Management, API and Finetune · e.g. local-ai run, local-ai serve, docker run -p 8080:8080 localai/localai</description>
    <pubDate>Thu, 10 Sep 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>MLC-LLM CLI Cheatsheet - mlc_llm Compile and Serve Full Reference</title>
    <link>https://laohand.com/mlc-llm/</link>
    <guid isPermaLink="true">https://laohand.com/mlc-llm/</guid>
    <description>MLC-LLM compiles popular open models into efficient local GPU (CUDA, Metal, Vulkan) runtimes. mlc_llm is its unified CLI: chat interactively, serve an OpenAI-compatible endpoint, or convert a HuggingFace model into deployable weights. This sheet covers the three subcommands and common flags so you can launch local inference. · Sections: Interactive Chat, Serve and Convert, Flags and Help · e.g. mlc_llm chat HF://mlc-ai/Llama-3-8B-Instruct-q4f16_1-MLC, mlc_llm chat model --device cuda, mlc_llm chat model --device mac</description>
    <pubDate>Thu, 10 Sep 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>llama.cpp Cheatsheet - llama-cli Flags &amp; GGUF</title>
    <link>https://laohand.com/llama-cli/</link>
    <guid isPermaLink="true">https://laohand.com/llama-cli/</guid>
    <description>llamacpp (llama.cpp) is a lightweight inference engine in C/C++ that runs GGUF quantized models on CPU, Apple Silicon, and various GPUs. llama-cli is its built-in terminal chat frontend for quick local verification and offline inference. This llamacpp command sheet covers model loading, sampling, context, and performance flags so you can start a chat on a laptop. · Sections: Basic Inference, Sampling and Context, Performance and Advanced · e.g. llama-cli -m model.gguf -p &quot;hello&quot;, llama-cli -m model.gguf --interactive, llama-cli -m model.gguf -ngl 35</description>
    <pubDate>Thu, 10 Sep 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Open Interpreter CLI Cheatsheet - Terminal AI Coding Agent Full Reference</title>
    <link>https://laohand.com/open-interpreter/</link>
    <guid isPermaLink="true">https://laohand.com/open-interpreter/</guid>
    <description>The substantive difference between Open Interpreter and other coding agents is that it plans first and shows you the steps before touching files, which makes it usable on a real project rather than only in a throwaway sandbox - useful precisely when you are not sure how far the agent will go. When it fits: the task is operating an environment you already have, such as batch file processing, config edits, running analysis scripts, rather than authoring a new feature; and you need it to execute commands to verify results instead of only emitting code for you to run. Model selection has an order too - verify prompts and safety flags against a cloud model first, then switch to a local model, so you are never debugging two variables at once. This sheet covers installation and launch, run modes and flags, safety and interaction, and advanced usage, with emphasis on the auto-execute switch: it suits read-only or confined environments, and before using it in a repo with uncommitted work, confirm the working tree is clean. · Sections: Install and Launch, Run Modes and Flags, Safety and Interaction · e.g. pip install open-interpreter, pipx install open-interpreter, interpreter</description>
    <pubDate>Thu, 10 Sep 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Nginx Cheatsheet - Nginx Configuration &amp; Command Reference</title>
    <link>https://laohand.com/nginx/</link>
    <guid isPermaLink="true">https://laohand.com/nginx/</guid>
    <description>For engineers debugging 502/504s, adjusting location routing, or setting up reverse proxies. The hard part of Nginx is not the sheer number of directives but the details — location matching rules, whether proxy_pass carries a trailing slash, and upstream timeout tuning — which fail silently and only surface as anomalies under traffic. By the end you will validate with nginx -t before reloading, trace upstream errors back to the backend from the error log, and tell apart 502 Bad Gateway from 504 Gateway Timeout. · Sections: Commands &amp; Testing, Location Matching Priority, Reverse Proxy Snippets · e.g. nginx -t, nginx -s reload, nginx -T</description>
    <pubDate>Thu, 10 Sep 2026 00:00:00 GMT</pubDate>
    <category>nginx</category>
  </item>
  <item>
    <title>Bash Cheatsheet - Shell Scripting Command Reference</title>
    <link>https://laohand.com/bash/</link>
    <guid isPermaLink="true">https://laohand.com/bash/</guid>
    <description>A script that runs is not the same as a script that is correct. Most bash failures in production come from three details: unquoted values that get word-split, an empty variable expanding into a malformed command, and a failing pipeline stage silently ignored because pipefail is off. The sheet covers six baseline groups — variables, conditionals, loops, functions, string operations and file tests — and closes with parameter expansion and debugging, the latter being what actually moves a script from running to correct. The variables group earns its place: ${var:-default} for a fallback, ${#var} for length and ${var//a/b} for global replacement handle cases that otherwise become chains of if statements. Within conditionals, [[ ]] beats [ ] because it skips word splitting and adds =~ matching plus &amp;&amp; and || chaining. The functions group covers return conventions, the local keyword, and losing the quotes around &quot;$@&quot; — a common genuine bug. The debugging group covers set -x, set -u, set -euo pipefail and bash -n, and that last combo is worth making the first line of any script that is not throwaway. · Sections: Variables, Conditionals, Loops · e.g. NAME=&quot;value&quot;, echo $NAME, echo ${NAME}</description>
    <pubDate>Thu, 10 Sep 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>Git Cheatsheet - 80+ Commands, Branch &amp; Rebase</title>
    <link>https://laohand.com/git/</link>
    <guid isPermaLink="true">https://laohand.com/git/</guid>
    <description>Day-to-day Git work clusters into five things: slicing changes into well-formed commits, moving commits between branches, undoing a mistake, confirming that local and remote agree, and finding who introduced a particular line and when. This sheet is organised into staging and committing, branching and merging, undo and revert, remotes and troubleshooting, git log, plus an FAQ and a block of high-frequency supplementary commands. The judgement is never the spelling of a command but whether the operation is reversible. What you touch - the index or the working tree, a local commit or one already pushed - usually leaves exactly one tool available, so the sheet spells out the boundary between restore, which discards working tree changes, reset, which moves the branch pointer and by default leaves the working tree alone, and revert, which adds an inverse commit. Reach for it when a pipeline fails on one commit and you need to locate it, when a rebase has gone wrong and you need to abort, or when you must inspect two versions at once without checking out. · Sections: Commit &amp; Stash, Branch &amp; Merge, Revert &amp; Undo · e.g. git status -s, git add -p, git commit -m &quot;msg&quot;</description>
    <pubDate>Thu, 10 Sep 2026 00:00:00 GMT</pubDate>
    <category>git</category>
  </item>
  <item>
    <title>kubectl Cheatsheet - Pods, Deploy, Logs &amp; Apply Commands</title>
    <link>https://laohand.com/kubectl/</link>
    <guid isPermaLink="true">https://laohand.com/kubectl/</guid>
    <description>A kubectl command reference for app developers and cluster operators, covering resource queries, Pod diagnosis, replica scaling, and cluster context management. Unlike reading YAML directly, kubectl is the consistent window into cluster state and change control, letting you quickly localize frequent incidents such as CrashLoopBackOff, Pods stuck in Pending, and failed rollouts. By the end you can run the whole loop yourself: inspect status → check events → read logs → recover or roll back. · Sections: Get Resources, Describe &amp; Diagnose, Scale &amp; Rollout · e.g. kubectl get pods -n prod, kubectl get pods -o wide, kubectl get pods -A</description>
    <pubDate>Thu, 10 Sep 2026 00:00:00 GMT</pubDate>
    <category>kubernetes</category>
  </item>
  <item>
    <title>Docker CLI Cheatsheet - Run, Build &amp; Compose Commands</title>
    <link>https://laohand.com/docker-cli/</link>
    <guid isPermaLink="true">https://laohand.com/docker-cli/</guid>
    <description>A Docker command reference for app developers and SREs, covering image build, container lifecycle, networks &amp; volumes, Compose orchestration, and resource cleanup. Unlike OS-level container tools, Docker layered images and isolation are what matter when you must debug startup failures, mapping mistakes, or image bloat. By the end you can bring a service up from an image and troubleshoot the three most frequent problems: startup, networking, and disk usage. · Sections: Image, Container, Network &amp; Volume · e.g. docker images, docker pull nginx:alpine, docker build -t app:1.0 .</description>
    <pubDate>Thu, 10 Sep 2026 00:00:00 GMT</pubDate>
    <category>docker</category>
  </item>
  <item>
    <title>Plandex CLI Cheatsheet - Terminal Planning AI Coding Agent (pdx)</title>
    <link>https://laohand.com/plandex/</link>
    <guid isPermaLink="true">https://laohand.com/plandex/</guid>
    <description>The split between coding agents today is less about model quality than about how changes reach your files. Plandex, invoked as pdx, takes the conservative route: edits accumulate inside a protected plan, you review them, and only then are they applied to the project, with rollback available at every step. What separates it from agents that write straight into the working tree is that a plan is a first-class artifact, created with new, extended with tell, and scoped with load so only chosen files enter context. This table is grouped by installation and auth, planning and loading, execution and iteration, and branching, showing how to append requirements across turns and how to break one large change into independently verifiable batches. Reach for it before a refactor spanning a dozen files, when requirements are still moving but you want the shared understanding written down, or when a migration decision needs to stay auditable. The dividing line is that you no longer write snapshot scripts to guard against a bot rewriting your files. · Sections: Install &amp; Auth, Plan &amp; Load, Execute &amp; Iterate · e.g. curl -sL https://plandex.ai/install.sh | bash, export OPENAI_API_KEY=..., plandex</description>
    <pubDate>Wed, 26 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Antigravity CLI Cheatsheet - Google Terminal AI Coding Agent (agy)</title>
    <link>https://laohand.com/antigravity/</link>
    <guid isPermaLink="true">https://laohand.com/antigravity/</guid>
    <description>Antigravity CLI (command `agy`) is Google terminal AI coding agent, for developers who want Google-ecosystem models plus disciplined planning and permission control. It emphasizes plan-before-execute with transparent /planning and /permissions, and offers subagent management. This sheet covers install, sessions &amp; planning modes, MCP integration, and permission setup. · Sections: Install &amp; Launch, Sessions &amp; Planning, Tools &amp; Integrations · e.g. curl -fsSL https://antigravity.google/cli/install.sh | bash, irm https://antigravity.google/cli/install.ps1 | iex, agy</description>
    <pubDate>Wed, 26 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Crush CLI Cheatsheet - Charmbracelet Terminal Multi-Model Coding Agent</title>
    <link>https://laohand.com/crush/</link>
    <guid isPermaLink="true">https://laohand.com/crush/</guid>
    <description>For terminal coding agents, weight increasingly comes down to distribution and diagnosability. Crush is a single Rust binary from Charmbracelet that runs on macOS, Linux, WSL on Windows, and the BSDs, so copying one file is the whole install. Its TUI is unusually finished for its class, and the built-in LSP integration means answers land on real symbols and diagnostics instead of text-pattern guesses. This table groups installation and startup, sessions and modes, configuration, and session diagnostics, covering how providers are configured, how to read the logs, and when it is reasonable to skip confirmation gates. The deciding question is how much you trust the working directory: inside a project you know, --yolo removes a lot of friction, while in unfamiliar or sensitive repositories a allowed_tools allowlist is the safer shape. Reach for it when you want a portable agent, when behavior looks wrong and you need the log to explain it, or when you want a few commands exempt from confirmation instead of everything. · Sections: Install &amp; Launch, Sessions &amp; Modes, Configuration · e.g. brew install charmbracelet/tap/crush, npm install -g @charmland/crush, winget install charmbracelet.crush</description>
    <pubDate>Wed, 26 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Warp Agent CLI Cheatsheet - In-Terminal AI Coding Agent</title>
    <link>https://laohand.com/warp/</link>
    <guid isPermaLink="true">https://laohand.com/warp/</guid>
    <description>Warp Agent CLI is the AI coding agent built into the Warp terminal, for developers already on Warp who want slash-command access to the logged-in agent. It is deeply integrated into Warp: /plan for planning, /orchestrate for multi-agent orchestration, and oz agent run to push work to the cloud. This sheet covers core agent commands, MCP integration, and cloud agents. · Sections: Install &amp; Launch, Core Agent Commands, Integrations &amp; Cloud Agents · e.g. brew install --cask warp, sudo dpkg -i warp-terminal_*.deb, warp</description>
    <pubDate>Wed, 26 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Grok CLI Cheatsheet - xAI Grok Build Terminal Coding Agent</title>
    <link>https://laohand.com/grok-cli/</link>
    <guid isPermaLink="true">https://laohand.com/grok-cli/</guid>
    <description>Grok CLI is xAI&apos;s terminal coding agent. Its shape matches the other terminal agents, and the honest reason to reach for it is usually not a feature difference but that you already hold xAI quota or want its retrieval augmentation. This sheet covers installation and authentication, interactive sessions, headless mode for scripts, and subcommands with MCP. Only three things need doing, and order matters: solve authentication first, because the binary is a single Rust executable whose first launch goes through a browser flow, so CI and headless boxes need XAI_API_KEY instead; then pick the run shape, interactive for exploration and -p when you want capturable output in a pipeline; and only then configure models, in the user-level config file rather than on the command line, so the same setup copies across machines. What sets this tool apart from the other terminal agents in this batch is its configuration inspection: the built-in inspect command enumerates the config, skills, hooks and MCP servers discovered for the current directory, which removes most of the guesswork when it appears to be ignoring your setup. · Sections: Install &amp; Auth, Interactive &amp; Sessions, Headless Mode &amp; Scripts · e.g. curl -fsSL https://x.ai/cli/install.sh | bash, irm https://x.ai/cli/install.ps1 | iex, grok --version</description>
    <pubDate>Wed, 26 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Kimi Code CLI Cheatsheet - Moonshot Terminal AI Coding Agent</title>
    <link>https://laohand.com/kimi-cli/</link>
    <guid isPermaLink="true">https://laohand.com/kimi-cli/</guid>
    <description>Kimi Code CLI is an agent that ships the model wiring with the binary: installed, it works, with no base_url to fill in, no SDK to configure, no PATH juggling, and little risk of colliding with global modules. That turnkey state suits two kinds of people - developers already inside the Kimi ecosystem, and anyone who simply wants a working terminal agent with zero setup. It is not closed, though: switching to another vendor&apos;s model means editing a user-level config file with the corresponding API key, with no need to migrate your workflow. This sheet covers installation and launch, interactive and one-shot execution, sessions and models, and subcommands and operations. A sensible order is to confirm one interactive session works, then learn single-shot execution for scripts, and only then handle session resumption and model switching. One practice is worth doing early: generating a project conventions file before a large change, so the agent starts work already knowing the repository&apos;s naming and layout habits - cheaper than correcting its style afterwards. · Sections: Install &amp; Launch, Interactive &amp; Single Instructions, Sessions &amp; Models · e.g. npm install -g @moonshot-ai/kimi-code, curl -fsSL https://code.kimi.com/kimi-code/install.sh | bash, kimi --version</description>
    <pubDate>Wed, 26 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Pi CLI Cheatsheet - earendil Terminal Multi-Model Coding Agent</title>
    <link>https://laohand.com/pi/</link>
    <guid isPermaLink="true">https://laohand.com/pi/</guid>
    <description>Pi is a multi-model coding agent for the terminal. What separates it from single-model CLIs is that you can change model mid-session without losing context: explore cheaply and quickly, then switch to a stronger model for the step that actually ships, which saves waiting time more than tokens. This sheet is organised into install and authentication, interactive sessions, headless mode and scripting, and session and model management. Reach for it when you want to wire coding tasks into CI or a shell pipeline, in which case the headless group is the one to read - -p with --mode json emitting structured events is the script-friendly shape. If you only want to wander through files in the terminal while it explains things, the @ references and slash commands in the interactive group are enough. One judgement matters more than the rest: context cost. Every turn after that is billed on the full conversation, so compacting before a large change is far cheaper than recovering afterwards. · Sections: Install &amp; Auth, Interactive Sessions, Headless Mode &amp; Scripts · e.g. npm install -g @earendil-works/pi-coding-agent, pi, export ANTHROPIC_API_KEY=sk-ant-...</description>
    <pubDate>Wed, 26 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Kilo Code CLI Cheatsheet - Terminal Open-source Coding Agent</title>
    <link>https://laohand.com/kilo-code/</link>
    <guid isPermaLink="true">https://laohand.com/kilo-code/</guid>
    <description>Kilo Code CLI shares its engine with the Kilo Code VS Code/JetBrains extensions, for developers who want the same agent outside the IDE — running one-off tasks (kilo run) while still having a TUI. Being same-engine, it fits scripted/pipeline one-shot code work. This sheet covers install, interactive/one-off tasks, model switching, and MCP. · Sections: Install &amp; Launch, Interactive &amp; One-off Tasks, Models &amp; Integrations · e.g. npm install -g @kilocode/cli, kilo --version, kilo</description>
    <pubDate>Wed, 26 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Hermes Agent CLI Cheatsheet - Nous Terminal Multi-Backend AI Agent</title>
    <link>https://laohand.com/hermes-agent/</link>
    <guid isPermaLink="true">https://laohand.com/hermes-agent/</guid>
    <description>Hermes Agent is Nous Research open-source, model-agnostic terminal AI agent, for developers who want tool-calling on top of any model — decoupling models from underlying tools and centralizing model config, tool declarations, and a message gateway. More flexible than single-vendor agents, it suits self-hosted/multi-model teams. This sheet covers one-line install, customizing with hermes model/tools/config set, and gateway integration. · Sections: Install &amp; Launch, Model &amp; Tool Config, Gateway &amp; Wizard · e.g. curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash, pipx install hermes-agent, pip install hermes-agent</description>
    <pubDate>Wed, 26 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Continue CLI (cn) Cheatsheet - Terminal Open-source Coding Agent</title>
    <link>https://laohand.com/continue-cli/</link>
    <guid isPermaLink="true">https://laohand.com/continue-cli/</guid>
    <description>Continue CLI&apos;s distinguishing feature is not the terminal interface itself but that it shares one agent engine and one configuration with Continue&apos;s VS Code and JetBrains extensions: the model you chose, the rules you wrote and the MCP servers you attached all apply in the terminal, so moving to the command line does not mean configuring everything a second time. Whether to adopt it therefore depends on whether your day actually moves between IDE and terminal - if both need assistance, being same-source is worth far more than the cost of yet another standalone agent. Three things need doing once authentication is settled, which comes first because headless environments need an environment variable rather than an interactive login; second, context should be named explicitly rather than by scanning, since pointing at exact files is both faster and more accurate than walking a whole directory; third, separate generating a plan from changing your files. This sheet covers installation and auth, the TUI, headless mode, and threads and configuration. · Sections: Install &amp; Auth, Interactive (TUI), Headless (scripts/CI) · e.g. curl -fsSL https://raw.githubusercontent.com/continuedev/continue/main/extensions/cli/scripts/install.sh | bash, cn --version, cn login</description>
    <pubDate>Sun, 23 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>llamafile Cheatsheet - Single-file Local LLM Run &amp; Inference</title>
    <link>https://laohand.com/llamafile/</link>
    <guid isPermaLink="true">https://laohand.com/llamafile/</guid>
    <description>llamafile is Mozilla single-executable approach to running local LLMs, for developers who want zero-friction copy-and-run models — ideal for distribution, offline, and demo use. It packs model weights and llama.cpp into one cross-platform executable with a built-in OpenAI-compatible server. This sheet covers single-file launch, --server, -m GGUF loading, -ngl GPU layers, and --temp sampling. · Sections: Get &amp; Run, OpenAI-compatible Server, Load External Weights · e.g. curl -L &lt;release-url&gt; &gt; llamafile &amp;&amp; chmod +x llamafile, ./mistral.llamafile, ./llamafile --help</description>
    <pubDate>Sun, 23 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>vLLM Cheatsheet - High-Performance LLM Inference &amp; Serving</title>
    <link>https://laohand.com/vllm/</link>
    <guid isPermaLink="true">https://laohand.com/vllm/</guid>
    <description>vLLM differs from llama.cpp or Ollama not in whether a model runs but in its throughput model: PagedAttention manages KV cache in pages and continuous batching packs requests of different lengths into one batch, so the goal is maximum tokens per second inside a fixed memory budget. Three signals justify the operational cost - you need an OpenAI-compatible endpoint shared by several services, your request volume is high enough for batching to pay off, and you can afford the GPU and the upkeep. This sheet covers installation, launching vllm serve, client calls, quantisation and performance tuning. Three things genuinely need care: size the model against --gpu-memory-utilization first, then set --tensor-parallel-size to the card count (tensor parallelism is not data parallelism, and mismatching it slows things down), and finally choose a quantisation format against accuracy. AWQ and GPTQ are a memory decision, not a speed decision - quantised inference often runs slower, so switch only when memory is the binding constraint. · Sections: Install, OpenAI-compatible Server, Client Calls · e.g. pip install vllm, pip install vllm --upgrade, vllm --version</description>
    <pubDate>Sun, 23 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>LiteLLM CLI Cheatsheet - Unified LLM Gateway &amp; Proxy Server</title>
    <link>https://laohand.com/litellm/</link>
    <guid isPermaLink="true">https://laohand.com/litellm/</guid>
    <description>The moment one application must talk to OpenAI, Anthropic, Gemini and a couple of self-hosted endpoints, the code is not what breaks - the cross-cutting concerns do: scattered credentials, retry and rate-limit policy, cost attribution, and graceful degradation when one vendor degrades. LiteLLM collapses all four into a single proxy process so the application only ever sees one OpenAI-compatible endpoint and switching vendors is a base_url change. The rule for whether to adopt it is vendor count: with exactly one provider the official SDK is one less moving part; as soon as you need failover or budget-based routing, the cost visibility the proxy provides pays for itself. This sheet covers installation, the one-line CLI proxy, config.yaml-driven production setup, routing and operations. What matters most is learning how routing and budgets are declared, and then running the built-in connectivity check after every config edit instead of discovering a dead backend in production. · Sections: Install, Start Proxy (one-liner), Config-driven (prod) · e.g. uv tool install &apos;litellm[proxy]&apos;, pip install &quot;litellm[proxy]&quot;, litellm --version</description>
    <pubDate>Sun, 23 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Sourcegraph Amp CLI Cheatsheet - Terminal AI Coding Agent Full Reference</title>
    <link>https://laohand.com/amp/</link>
    <guid isPermaLink="true">https://laohand.com/amp/</guid>
    <description>The common way to use a terminal coding agent is to open one foreground session and keep talking to it: halfway through a task you forget what you were doing, and the context degrades. Amp is designed against that, using threads to isolate tasks, letting long runs continue in the background while the foreground handles the next one-off question. This table groups installation and auth, single-shot questions, thread management, background execution and integration, and practical techniques, covering how to start and resume a thread and how to choose between amp and amp -x by intent. The decision rule is task shape: a single question needs no thread, iterative work with history worth reviewing does, and anything long or interactive belongs in the background. Reach for it when you want a long job running while you keep working, when calling a model headlessly in CI for a batch inspection, or when output must feed a script as a quality gate. The extra cost is managing threads; what you buy is context that stays clean. · Sections: Install &amp; Auth, One-shot Prompts, Thread Management · e.g. npm install -g @sourcegraph/amp, amp --version, amp login</description>
    <pubDate>Sun, 23 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Amazon Q Developer CLI Cheatsheet - AWS Official AI Coding Agent Full Reference</title>
    <link>https://laohand.com/amazon-q/</link>
    <guid isPermaLink="true">https://laohand.com/amazon-q/</guid>
    <description>Amazon Q Developer CLI is AWS official terminal AI coding agent, aimed at developers who live in the AWS ecosystem and want the model to understand and edit a local repo while connecting to AWS services/docs. It stands out by deep AWS integration (explaining and acting on AWS resources) and supports both q one-line queries and agent mode. This sheet covers install/login, chat/one-line queries, and agent execution. · Sections: Install &amp; Auth, Chat &amp; Query, Agent Mode · e.g. brew install amazon-q, q --version, q login</description>
    <pubDate>Sun, 23 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Code-generation Prompt Cheatsheet &amp; Best Practice</title>
    <link>https://laohand.com/code-prompts/</link>
    <guid isPermaLink="true">https://laohand.com/code-prompts/</guid>
    <description>Code generation differs from prose because the output has to compile and run, and the characteristic failure is not malformed syntax but plausible-looking code that is semantically wrong. A useful prompt therefore settles four things at once: the task and the minimum real context, pasted as actual snippets rather than adjectives; the constraints that must not bend, covering language, framework version, style and the files that are off limits; the contract, meaning signatures, return types and error semantics; and acceptance criteria written so that a human or a test can decide pass or fail, including boundary and error paths. Asking for a plan before the code catches misunderstandings early. The smallest-change rule is what keeps review feasible and regressions rare. Sections here cover requirement and context, constraints and contracts, boundaries and tests, acceptance and delivery, and the traps worth avoiding. State the acceptance criteria in a form a test could assert, which also tells the model which failure modes matter and which are irrelevant to this change. · Sections: Requirement &amp; Context, Constraints &amp; Contract, Edge &amp; Tests · e.g. Task: {do X}. Context: {existing structure/deps}., Relevant code:
```{lang}
{code}
```, Target file/func: {path#func}; change only what is needed</description>
    <pubDate>Sun, 23 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-prompt</category>
  </item>
  <item>
    <title>Text-to-Image Prompt Cheatsheet - Style Guide</title>
    <link>https://laohand.com/image-prompts/</link>
    <guid isPermaLink="true">https://laohand.com/image-prompts/</guid>
    <description>Writing image prompts is hard because you must describe every visual attribute of a scene that does not exist, and the model only understands combinations of keywords. Most people over-invest in the subject and lose their yield in the back half of the prompt: shot size, lens focal length, light direction and palette decide whether the result is merely acceptable or immediately usable. This sheet is organised into subject and detail, style and artist, composition and lens, light and material, and negative terms with parameters, deliberately decoupled from any single tool; only the last group carries SD-style weight parentheses, step and sampler settings, and Midjourney separators and flags. Reach for it when the composition is right but the finish is not - the fix is a focal length and a light type, not more style words - or when a face keeps collapsing, which usually means the subject line lacks an explicit count and layout constraint. A good test of a prompt is whether a different model renders something equivalent from it; if it collapses on a swap, you have written one model&apos;s private shorthand rather than meaning. · Sections: Subject &amp; Detail, Style &amp; Artists, Composition &amp; Lens · e.g. Subject: {object/person}, details: {material/expression/action}, Shot: {close-up/full/wide}; {environment} bg, Era/context: {cyberpunk 2099/Tang dynasty}</description>
    <pubDate>Sun, 23 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-prompt</category>
  </item>
  <item>
    <title>AI Agent System Prompt Cheatsheet - Role &amp; Tools</title>
    <link>https://laohand.com/agent-prompts/</link>
    <guid isPermaLink="true">https://laohand.com/agent-prompts/</guid>
    <description>Writing a system prompt for an autonomous agent is not about an imaginative persona; it is about keeping the thing safe across forty unattended steps. This table groups the material by goals and role, tool declarations, guardrails and permissions, reflection and wrap-up, and pitfalls, and what it provides is a workable skeleton: goals that an outside observer can mark done or not done, a tool list with explicit boundaries and side effects, and confirmation gates on anything irreversible. The test of whether the prompt is complete is auditability. If the run finishes and you cannot reconstruct from logs which tools it called or which files it touched, the prompt is not finished. Reach for it when building an internal automation agent, when granting code-write access behind gates, when setting team-wide agent behavior rules, or when reviewing an incident. What separates it from an ordinary prompt is that errors compound across steps: one deviation with nobody to correct it runs all the way to the end, so every turn needs a stopping condition and a reporting format. · Sections: Goal &amp; Role, Tool Declaration, Guardrails &amp; Permissions · e.g. You are {role}. Goal: {goal}. Success = {criteria}., Your boundaries: can do {X}; cannot do {Y}., You serve {user/system}; default-prioritize {value}.</description>
    <pubDate>Sun, 23 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-prompt</category>
  </item>
  <item>
    <title>RAG Prompt Cheatsheet - Context-grounded Answers &amp; Hallucination Control</title>
    <link>https://laohand.com/rag-prompts/</link>
    <guid isPermaLink="true">https://laohand.com/rag-prompts/</guid>
    <description>Prompts for retrieval-augmented generation are a different problem from ordinary question answering. In ordinary QA, a model filling gaps from general knowledge is usually right. Once you attach a knowledge base, that same behaviour becomes hallucination: the model reaches for phrasing it saw in training to fill the gaps in the retrieved passages, producing fluent text that cannot be traced back to a source. So the central move in this kind of prompt is not asking a better question but drawing a hard boundary and forcing attribution - wrapping the retrieved text in a tagged block, declaring that only that block may be used, and requiring an explicit insufficiency statement when retrieval came up short. This sheet is organised along five threads: answering from context, citation and fusion, conflict and uncertainty, retrieval quality, and pitfall avoidance. Reach for it when an answer reads smoothly but opening its citations reveals the sources do not support the claim, or when contradictory passages are silently resolved to one side. A second common case is a user asking about something the corpus never covered, where the correct output is a named coverage gap. · Sections: Answer From Context, Citations &amp; Fusion, Conflict &amp; Uncertainty · e.g. Use only the &lt;context&gt; below; no outside knowledge. Q: {q}
&lt;context&gt;{c}&lt;/context&gt;, Support each claim with &lt;context&gt; verbatim and cite passage numbers, If &lt;context&gt; is insufficient, say &quot;not enough info&quot; — do not guess</description>
    <pubDate>Sun, 23 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-prompt</category>
  </item>
  <item>
    <title>Prompt Engineering General Techniques Cheatsheet - Role/Structure/Constraints/CoT</title>
    <link>https://laohand.com/prompt-engineering/</link>
    <guid isPermaLink="true">https://laohand.com/prompt-engineering/</guid>
    <description>Few things in prompt engineering transfer cleanly across models and vendors, but the ones that do are simple: state the identity, pin the output structure, replace vague wording with countable quantities, expand the reasoning, and make the model check its own work. This sheet is organised into role anchoring, structured output, constraints and few-shot, chain of thought with verification, and pitfall avoidance; nothing here is vendor-specific and all of it survives a switch to Claude or Gemini. Reach for it when a long prompt still produces unstable output, which is almost always a missing decidable constraint rather than missing length - &quot;write it professionally&quot; cannot be checked, &quot;under 200 words, no lists&quot; can. A second signal is that the same prompt yields different results across runs, which points to unwritten boundary conditions rather than model randomness. The cheapest way to know whether a pattern works is to freeze it and reuse it: what reproduces reliably is a pattern, what occasionally succeeds is luck. · Sections: Role Anchoring, Structured Output, Constraints &amp; Few-shot · e.g. You are a senior {domain} expert (10+ yrs); answer professionally but clearly: {q}, As a {role}, complete per {spec}: {task}, Identity={role}; Goal={goal}; Constraints={c}. Start: {input}</description>
    <pubDate>Sun, 23 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-prompt</category>
  </item>
  <item>
    <title>GitHub Copilot CLI Cheatsheet - gh copilot Full Reference</title>
    <link>https://laohand.com/github-copilot/</link>
    <guid isPermaLink="true">https://laohand.com/github-copilot/</guid>
    <description>Copilot CLI is not the same category of tool as an agent like Claude Code; it is closer to a translator for the shell. You ask what an unfamiliar command means and it explains; you state what you want and it proposes something executable. It will not autonomously rewrite your repository, and it does not need to be handed the project - that lightweight, interruptible, one-question-at-a-time shape covers the fragmentary work agents miss: decoding an unfamiliar stack trace, getting a compound pipeline&apos;s flags right, or working out what a destructive command would actually affect. The case for installing is equally practical: if you already spend most of your day in a terminal, the cost is one gh extension, and the quality of its command explanations removes a lot of documentation lookup. This sheet covers explaining commands, generating suggestions, aliases and configuration, and integration plus debugging. The one discipline that matters: whatever it generates, especially anything that deletes, modifies or reaches the network, gets explained before it runs. · Sections: Explain Commands, Generate Suggestions, Alias &amp; Config · e.g. gh copilot explain &quot;git rebase -i HEAD~3&quot;, gh copilot explain &quot;kubectl get pods&quot;, gh copilot explain &quot;awk ...&quot;</description>
    <pubDate>Fri, 21 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Qwen Code CLI - Install, Slash Commands &amp; MCP</title>
    <link>https://laohand.com/qwen-code/</link>
    <guid isPermaLink="true">https://laohand.com/qwen-code/</guid>
    <description>Qwen Code is Alibaba Qwen open-source AI coding CLI (Claude Code-like, built on Qwen3-Max / Qwen3-Coder), for developers using Tongyi/Qwen models who want terminal-based AI coding, especially those already on Alibaba Cloud DashScope. Usage resembles Claude Code but with different models and pricing, connecting via DASHSCOPE_API_KEY. This sheet covers launch, print mode, slash commands, and MCP. · Sections: Install &amp; Auth, Launch &amp; Run, Slash Commands · e.g. npm install -g @qwen-code/qwen-code, qwen --version, export DASHSCOPE_API_KEY=&quot;sk-...&quot;</description>
    <pubDate>Fri, 21 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Ollama Cheatsheet - run, pull, Modelfile &amp; API</title>
    <link>https://laohand.com/ollama/</link>
    <guid isPermaLink="true">https://laohand.com/ollama/</guid>
    <description>Ollama solves a narrow engineering problem: making a model reproducible rather than &quot;it works on my machine&quot;. It folds downloads, quantisation format, GPU offload layers, context length, Modelfile customisation and an OpenAI-compatible server into one command surface, so upgrading a model no longer means recompiling llama.cpp flags and CI no longer needs a cached binary. The decision rule is blunt - use it when data must not leave the machine, when you need to pin an exact quantisation build, or when peak concurrency justifies owning the GPU; otherwise a hosted API is cheaper. Only three things genuinely need configuring: putting SYSTEM and PARAMETER blocks in a Modelfile so behaviour versions alongside the weights, creating named variants with create instead of retyping a long run invocation, and running ollama serve as a resident process with the right port and keep-alive so application code can talk to it over the standard OpenAI protocol. · Sections: Run &amp; Chat, Model Management, Modelfile · e.g. ollama run llama3.1, ollama run llama3.1 &quot;summarize in one line&quot;, ollama run -m</description>
    <pubDate>Fri, 21 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Cline Cheatsheet - VS Code AI Coding Extension</title>
    <link>https://laohand.com/cline/</link>
    <guid isPermaLink="true">https://laohand.com/cline/</guid>
    <description>Cline is one of the most popular VS Code AI coding extensions (formerly Claude Dev, Apache-2.0, multi-provider), for developers who want AI-assisted coding without leaving the editor. It splits planning and execution into Plan/Act phases and injects context via @file/@folder; compared to pure terminal agents the learning curve is lower and visuals are richer. This sheet covers command palette entries, context references, and both modes. · Sections: Command Palette Entries, Context References, Plan &amp; Act Modes · e.g. Cline: Ask, Cline: Explain, Cline: Refactor</description>
    <pubDate>Fri, 21 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>OpenHands CLI Cheatsheet - Autonomous Coding Agent</title>
    <link>https://laohand.com/openhands/</link>
    <guid isPermaLink="true">https://laohand.com/openhands/</guid>
    <description>Pairing assistants ask you to approve every step; OpenHands is aiming at something else. It takes a task, plans and executes on its own, and hands back a finished feature. This table groups startup and tasks, resume and headless runs, run modes, MCP management, configuration and installation, and interactive shortcuts, concentrating on where autonomous agents actually fail in practice: how to continue after a crash, how to stop a headless run from looping forever, and how loose the approval mode should be. The deciding question is verifiability. If success can be judged by a test result or an exit code, headless batch execution is safe; if you need to inspect intermediate state, stay interactive. Reach for it when running bulk refactors or fixes in CI, when a repository needs a set of boilerplate features, or when driving benchmark loops. What distinguishes it from other agents is that sandboxing and approval policy are configured by default in ~/.openhands/config.toml, so model and sandbox choices change in one place instead of on every command line. · Sections: Launch &amp; Task, Resume &amp; Headless, Run Modes (Web/ACP/Cloud) · e.g. openhands, openhands -t &quot;Implement user auth&quot;, openhands -f task.txt</description>
    <pubDate>Fri, 21 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Goose Agent Cheatsheet - Providers &amp; Extensions</title>
    <link>https://laohand.com/goose/</link>
    <guid isPermaLink="true">https://laohand.com/goose/</guid>
    <description>Goose is a general-purpose terminal AI agent under the Linux Foundation AAIF (Rust, Apache-2.0), for developers and ops who want one capable agent to manipulate local files, run commands, and connect to 15+ model providers and 70+ MCP extensions. Broader than code-focused agents, it fits handing daily automation and cross-tool workflows to a single agent. This sheet covers interactive sessions, one-shot runs, extension management, and goose doctor diagnostics. · Sections: Session &amp; Run, Configure &amp; Auth, Extensions (MCP) · e.g. goose session, goose session --name feat/login, goose session --resume</description>
    <pubDate>Fri, 21 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>OpenCode CLI Cheatsheet - Flags, Agents &amp; Serve</title>
    <link>https://laohand.com/opencode/</link>
    <guid isPermaLink="true">https://laohand.com/opencode/</guid>
    <description>OpenCode positions itself as an open-source, self-hostable terminal coding agent: the TUI matches Claude Code in shape, but provider and model are freely swappable and external tools can be attached over MCP. So the trade-off is not raw capability but vendor lock-in - if you hold a single official subscription the first-party CLI is less friction; if your model sources are split across a local runtime, several APIs, or an internal host, that flexibility is the reason to adopt it. Three configuration points carry the real value: pinning the model with -m provider/model so you do not re-pick it each session, freezing recurring workflows as subagents rather than retyping long instructions, and wiring MCP servers so the agent can reach facts that live outside the repository - files, databases, deploy targets. The sheet also covers session continuation and forking, because branching from the same context to try a second approach costs fewer tokens than restarting and makes the two attempts directly comparable. · Sections: Launch &amp; Run, CLI Flags, Subcommands · agent / auth · e.g. opencode, opencode &quot;Refactor the auth module&quot;, opencode -c</description>
    <pubDate>Fri, 21 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>NotebookLM Prompts Cheatsheet - Source-Grounded Knowledge Base Q&amp;A Techniques</title>
    <link>https://laohand.com/notebooklm-prompts/</link>
    <guid isPermaLink="true">https://laohand.com/notebooklm-prompts/</guid>
    <description>A lot of people use NotebookLM as a summarizing search engine, which produces fluent answers nobody can verify. Its real value comes from a hard constraint: replies may only draw on the sources you uploaded, and each claim carries an inline citation back to the text. This table is grouped by upload and source management, citation and verification, learning modes, question templates, research support, and pitfalls, concentrating on two things: arranging sources so retrieval actually works, and phrasing prompts that force contradictions into the open. The judgment rule is the citation itself. Treat any assertion without one as unverified, and ask which page it came from, which immediately separates real evidence from fluent completion. Reach for it when comparing a set of filings or papers, turning a manual into training material, checking whether several documents disagree, or drafting revision outlines. The boundary with a general chat assistant is exactly that missing training memory, which also means it will refuse rather than invent when sources are thin. · Sections: Upload &amp; Source Management, Citations &amp; Verification, Study Modes · e.g. Upload PDF / URL / transcript / spreadsheet, Build a master corpus; split large files before upload, Answer only from uploaded sources (boundary)</description>
    <pubDate>Fri, 21 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-prompt</category>
  </item>
  <item>
    <title>Perplexity Prompts Cheatsheet - Research &amp; Retrieval-Augmented Q&amp;A Techniques</title>
    <link>https://laohand.com/perplexity-prompts/</link>
    <guid isPermaLink="true">https://laohand.com/perplexity-prompts/</guid>
    <description>Perplexity tends to get used as a smarter chat window, which is a problem because the citations it volunteers make people stop verifying. The useful framing is that you are outsourcing retrieval: the model finds and ranks, while you constrain what it searches, to what date, and in what shape it must answer. This table groups material by question phrasing, focus modes, date and source constraints, output-format constraints, chained follow-ups, and ready templates, with the emphasis on rewriting vague questions into checkable retrieval requests. Two rules for judging a result: every factual sentence should carry a clickable source, and when you ask what remains uncertain, the model should admit the boundary instead of improvising. Reach for it when a conclusion must be current, when you are writing a sourced research brief, when comparing several options within hours, or when you need a strict comparison table. The dividing line from NotebookLM is source scope: this one searches the open web and must stay traceable, while that one can only answer from materials you supplied. · Sections: Questioning Style, Focus Modes, Date &amp; Source Constraints · e.g. Write a full question, not keyword soup, State goal and constraints: audience/depth/use, Scope it: region/industry/time</description>
    <pubDate>Fri, 21 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-prompt</category>
  </item>
  <item>
    <title>Kling AI Prompts Cheatsheet - Kling Video Camera Moves &amp; Structure</title>
    <link>https://laohand.com/kling-prompts/</link>
    <guid isPermaLink="true">https://laohand.com/kling-prompts/</guid>
    <description>Kling clips usually fail on camera motion rather than image quality: a single prompt that demands a push-in, a pan and an orbit at once leaves the model picking one and smearing the rest into jitter. This sheet breaks camera grammar into eight enumerable moves - push, pull, pan, tilt, tracking, orbit, roll, zoom and static - each annotated with its start and end frame behaviour, so you can decide which one actually fits the shot instead of stacking verbs. A fixed six-section structure then separates subject, action, environment, lighting, camera and style, which is what stops the model from silently dropping half your intent. For reproducible results, the camera_control block with its six axes in [-10, 10] is the ground truth; when a text description drifts, reconcile against those numeric values. The rules of thumb are short: split any composite move into separate single-move shots, and lock duration (5-15s) plus aspect ratio (9:16 or 16:9) before writing a single word of prompt, because an undecided timeline is where late-shot collapse comes from. · Sections: Camera Moves, Camera Rules, Six-Segment Structure · e.g. push-in / pull-out, pan (left-right) / tilt (up-down), dolly (fore-aft) / orbit (around subject)</description>
    <pubDate>Fri, 21 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-prompt</category>
  </item>
  <item>
    <title>Stable Diffusion &amp; SDXL Prompts - Weights &amp; LoRA</title>
    <link>https://laohand.com/stable-diffusion-prompts/</link>
    <guid isPermaLink="true">https://laohand.com/stable-diffusion-prompts/</guid>
    <description>Essential Stable Diffusion / SDXL prompt templates — six-segment structure, weight syntax, LoRA, sampling params. Copy a template, fill the variables, and ship. · Sections: Six-Segment Structure, Weight Syntax, Negative Prompts · e.g. [Subject] + [Action/Pose], [Environment], [Lighting/Mood]</description>
    <pubDate>Fri, 21 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-prompt</category>
  </item>
  <item>
    <title>Gemini Prompts Cheatsheet - Long-Context &amp; Multimodal Prompt Engineering</title>
    <link>https://laohand.com/gemini-prompts/</link>
    <guid isPermaLink="true">https://laohand.com/gemini-prompts/</guid>
    <description>Prompting Gemini is a different discipline from prompting short-context models. With million-token context and native text, image, audio and video input built in, the wrong move is to slice a task up and ask repeatedly - the right move is to hand over all the material once and use explicit delimiter tags to mark which block is instruction and which block is source data, letting the model locate things inside the long context itself. XML or Markdown section tags are the officially recommended anchoring technique and the core technique on this sheet. Second is recency: Gemini will not volunteer that its knowledge is stale, so any question touching current events needs an explicit current-date clause plus an instruction to ground the answer, because a confidently outdated reply is harder to catch than an obvious error. Third is model selection - Flash for routine work, Pro for hard reasoning, 2.5 Pro reserved for whole-corpus analysis, since tiering beats using one model for everything on both cost and accuracy. · Sections: Structured Delimiters, Long-Context Anchoring, Thinking &amp; Date / Grounding · e.g. Wrap sections in XML tags: &lt;context&gt;...&lt;/context&gt;&lt;task&gt;...&lt;/task&gt;, Use Markdown headings (## Background / ## Task) as separators, Put role and constraints in system instruction or at the start of user</description>
    <pubDate>Fri, 21 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-prompt</category>
  </item>
  <item>
    <title>DeepSeek Prompts Cheatsheet - R1 Reasoning &amp; V3 Chat Writing Techniques</title>
    <link>https://laohand.com/deepseek-prompts/</link>
    <guid isPermaLink="true">https://laohand.com/deepseek-prompts/</guid>
    <description>Essential DeepSeek prompt templates organized by model — R1 reasoning rules, V3 chat tricks, codegen, structured output. Copy a template, fill the variables, and ship. · Sections: R1 Reasoning Rules (deepseek-reasoner), V3 Chat Rules (deepseek-chat), Code Generation · e.g. No system prompt — put all instructions in the user message, Do not use few-shot examples; let the model reason alone, Set temperature to 0.6</description>
    <pubDate>Fri, 21 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-prompt</category>
  </item>
  <item>
    <title>Aider Cheatsheet - Terminal AI Pair Programming</title>
    <link>https://laohand.com/aider/</link>
    <guid isPermaLink="true">https://laohand.com/aider/</guid>
    <description>Aider is the open-source Apache 2.0 terminal AI pair programmer for developers who want a model to edit local files and auto git-commit, with 100+ model support and no vendor lock-in. Its signature is an automatic commit per change, forming a safe loop with --test-cmd/--lint-cmd where a bad edit is one /undo away. This sheet covers file context, chat-mode switching, and architect mode. · Sections: Install &amp; Start, Model &amp; Reasoning, Files &amp; Context · e.g. pip install aider-chat, aider, aider src/main.py tests/test_main.py</description>
    <pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Cursor IDE CLI - New Window (-n) &amp; Agent Flags</title>
    <link>https://laohand.com/cursor/</link>
    <guid isPermaLink="true">https://laohand.com/cursor/</guid>
    <description>Cursor is the VS Code-based AI editor; its CLI and cursor-agent target developers who open projects quickly, manage windows/extensions, and want editor + AI capability inside scripts. Unlike a plain editor CLI, Cursor adds in-editor AI coding and the headless-callable cursor-agent. This sheet covers opening/comparing files from the terminal, agent automation, and git editor integration. · Sections: Open Files &amp; Folders, Window Management, Diff &amp; Merge · e.g. cursor ., cursor /path/to/file.ts, cursor /path/to/file.ts:42</description>
    <pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Gemini CLI Cheatsheet - Google Terminal AI Agent Full Reference</title>
    <link>https://laohand.com/gemini-cli/</link>
    <guid isPermaLink="true">https://laohand.com/gemini-cli/</guid>
    <description>Gemini CLI is Google open-source terminal AI agent (Apache 2.0) for developers who need very long context and want the model to edit code autonomously against their own models; its 2M-token window fits whole-repository refactoring and analysis. Long context, forkable self-hosting, and GEMINI.md project memory set it apart. This sheet covers install/auth, headless automation (-p -o json), and MCP/extensions. · Sections: Install &amp; Auth, Run Modes, Global Flags · e.g. npm install -g @google/gemini-cli, gemini --version, gemini</description>
    <pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Codex CLI Cheatsheet - Install, exec &amp; Approvals</title>
    <link>https://laohand.com/codex-cli/</link>
    <guid isPermaLink="true">https://laohand.com/codex-cli/</guid>
    <description>Codex CLI is OpenAI official open-source terminal coding agent (Rust) for developers driving GPT-family models to edit code, run tests, and manage approvals directly in a repo — and for CI engineers adopting AI codegen/review. Unlike cloud chat it adds fine-grained sandbox (read-only/workspace-write/full-access) and approval policies, plus headless codex exec --json for pipelines. This sheet covers install/login, non-interactive execution, and the sandbox trade-offs. · Sections: Install &amp; Auth, Interactive Mode, Non-interactive (codex exec) · e.g. npm install -g @openai/codex, brew install --cask codex, codex --version</description>
    <pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>Claude Code CLI Cheatsheet - Anthropic AI Coding Agent Full Reference</title>
    <link>https://laohand.com/claude-code/</link>
    <guid isPermaLink="true">https://laohand.com/claude-code/</guid>
    <description>Claude Code targets developers who want the model to read, edit, and run commands inside a repo from the terminal, plus automation engineers wiring it into CI. As Anthropic official agentic coding tool it differs from chat-style assistants, and drives pipelines headlessly via -p + --output-format json or iterative multi-turn REPL sessions. This sheet surfaces the key commands for install/auth, session resume, permission modes, and MCP extensibility so you can start on real projects immediately. · Sections: Install &amp; Auth, Launch &amp; Run, CLI Flags · e.g. npm install -g @anthropic-ai/claude-code, claude --version, npm update -g @anthropic-ai/claude-code</description>
    <pubDate>Wed, 05 Aug 2026 00:00:00 GMT</pubDate>
    <category>ai-cli</category>
  </item>
  <item>
    <title>HTTP Methods Cheatsheet - REST/HTTP Verbs &amp; Idempotency</title>
    <link>https://laohand.com/http-methods/</link>
    <guid isPermaLink="true">https://laohand.com/http-methods/</guid>
    <description>The hard part of HTTP methods is not recalling the definitions but choosing the right verb for a concrete operation and reasoning about retries and concurrency. This sheet groups verbs by semantics and puts idempotency, safety, body conventions and paired status codes side by side, concentrating on the combinations that actually bite. PUT is a full replacement, so an omitted field becomes a deletion, while PATCH changes only what you send. POST is not idempotent, so a retry creates a duplicate order unless an idempotency key is present. GET and HEAD are safe methods; mutating state inside them breaks the semantics and gets amplified by prefetchers and proxies. Two practical tests decide usage: before shipping, ask whether a client retry would produce a second record, and if so require idempotent design; then ask whether the change can be expressed as a delta, and use full replacement when it cannot. The split with the status-code sheet is deliberate: that one decides what you return, this one decides why you picked the verb. · Sections: Core Methods, Idempotency &amp; Safety, Status Pairing · e.g. GET, POST, PUT</description>
    <pubDate>Sun, 02 Aug 2026 00:00:00 GMT</pubDate>
    <category>reference</category>
  </item>
  <item>
    <title>.dockerignore Cheatsheet - Docker Build Context Ignore Rules</title>
    <link>https://laohand.com/dockerignore/</link>
    <guid isPermaLink="true">https://laohand.com/dockerignore/</guid>
    <description>If you skip .dockerignore, docker build . packs node_modules and .git into the build context, slowing builds and bloating images. This reference covers 5 groups: basic syntax, glob patterns, common ignores, differences from .gitignore, and slimming tips. After writing a template, verify the context size with docker build, and remember a ! negation only re-includes items already ignored. After reading you can ship a safe, lean .dockerignore for your project. · Sections: Basic Syntax, Glob Patterns, Common Ignores · e.g. node_modules, *.log, tmp/</description>
    <pubDate>Sun, 02 Aug 2026 00:00:00 GMT</pubDate>
    <category>config</category>
  </item>
  <item>
    <title>.env &amp; dotenv Cheatsheet - Load Order &amp; Multi-Env</title>
    <link>https://laohand.com/env/</link>
    <guid isPermaLink="true">https://laohand.com/env/</guid>
    <description>Almost every Node/Python/frontend project writes a .env, yet the most common traps are spaces around the equals sign, a # inside a value treated as a comment, and secrets accidentally committed to the repo. This reference covers 5 groups: variable definition, reading in Shell/Node/Python, dotenv loader usage, multi-environment file layout (.env/.env.local/.env.production), and a set of security-pitfall reminders. Sanity-check the format after writing and confirm no secrets were committed before deploying. After reading you can organize environment variables cleanly and avoid the most common leakage issues. · Sections: Definition, Reading, dotenv Usage · e.g. KEY=value, KEY=&quot;value with space&quot;, KEY=&apos;literal $NOT_EXPANDED&apos;</description>
    <pubDate>Sun, 02 Aug 2026 00:00:00 GMT</pubDate>
    <category>config</category>
  </item>
  <item>
    <title>Regex Cheatsheet - Syntax, Patterns &amp; Templates</title>
    <link>https://laohand.com/regex/</link>
    <guid isPermaLink="true">https://laohand.com/regex/</guid>
    <description>Regex is rarely hard because of the metacharacters themselves. It is hard because one requirement can be written several equivalent ways, and the wrong one silently eats too much or too little. A tag-extraction written with `.*` and the same one written with `.*?` print identical output on most samples; they diverge only once a line contains a second tag of the same name. Likewise, the difference between `` and a literal space is invisible until an identifier contains an underscore. This sheet groups character classes, anchors, quantifiers, groups, escaping, practical patterns and traps separately, and every entry states whether it matches a single character, a position, or a whole structure. Reach for it when a pattern passes on hand-picked samples and then misfires on real data, or when grep returns far more lines than expected - both symptoms almost always trace back to greediness or missing anchors. It is deliberately tool-agnostic: unlike grep -E it documents pattern semantics only, and unlike split it handles variable-length structure. · Sections: Character Classes, Anchors, Quantifiers · e.g. [abc], [^abc], [a-z]</description>
    <pubDate>Sun, 02 Aug 2026 00:00:00 GMT</pubDate>
    <category>regex</category>
  </item>
  <item>
    <title>SQL Cheatsheet - Common Query Syntax &amp; Examples</title>
    <link>https://laohand.com/sql/</link>
    <guid isPermaLink="true">https://laohand.com/sql/</guid>
    <description>For developers who write SQL that is both business-correct and fast. The traps are usually not in the syntax itself but in NULL propagation, filtering after GROUP BY requiring HAVING, and where window functions stop overlapping plain aggregation. By the end you can write correct queries with grouping and filtering clauses, use window functions for row numbers and in-group ranking instead of self-joins, dodge NULL comparisons and aggregation pitfalls, and wrap multi-statement work in transactions for atomicity. · Sections: Basic Query, Filtering &amp; Logic, Aggregation &amp; Grouping · e.g. SELECT * FROM users, SELECT name, age FROM users, SELECT * FROM users WHERE age &gt; 18</description>
    <pubDate>Sun, 02 Aug 2026 00:00:00 GMT</pubDate>
    <category>db</category>
  </item>
  <item>
    <title>curl / wget Cheatsheet - Command-line File Download &amp; HTTP Requests</title>
    <link>https://laohand.com/web-fetch/</link>
    <guid isPermaLink="true">https://laohand.com/web-fetch/</guid>
    <description>For engineers who call APIs, download files, and debug HTTP purely from the shell. Though often paired, curl and wget have different roles: curl is an HTTP client that suits API calls with methods/headers/cookies, while wget leans toward file fetching with clean resume and recursive mirroring. By the end you can pick the right tool per task, resume large downloads with wget -c, trace API issues with curl -v/-w, and handle proxies and auth. · Sections: Basic Requests, HTTP Method, Headers &amp; Cookies · e.g. curl https://api.test, curl -O https://x/file.zip, curl -o out.html https://x</description>
    <pubDate>Sun, 02 Aug 2026 00:00:00 GMT</pubDate>
    <category>web</category>
  </item>
  <item>
    <title>.gitignore Syntax Cheat Sheet - Patterns &amp; Rules</title>
    <link>https://laohand.com/gitignore/</link>
    <guid isPermaLink="true">https://laohand.com/gitignore/</guid>
    <description>Committing node_modules or .env by accident is a trap nearly every repo hits once. This .gitignore reference organizes 5 groups — basic matching syntax, wildcards and comments, directories vs files, global ignore and effect commands, plus common language templates. When unsure whether a rule matches, verify with git check-ignore -v; for already-tracked files, un-track with git rm --cached first. After reading you can write ignore rules that stay safe without leaking files. · Sections: Basic Syntax, Wildcards &amp; Comments, Dirs &amp; Files · e.g. *.log, build/, /dist</description>
    <pubDate>Sun, 02 Aug 2026 00:00:00 GMT</pubDate>
    <category>vcs</category>
  </item>
  <item>
    <title>Slack Keyboard Shortcuts Cheatsheet - Channels &amp; Search</title>
    <link>https://laohand.com/slack-shortcuts/</link>
    <guid isPermaLink="true">https://laohand.com/slack-shortcuts/</guid>
    <description>Slack users drowning in messages should first learn Cmd/Ctrl+K to jump to any channel or DM, Cmd/Ctrl+Shift+M to see only mentions of you, and Shift+Esc to mark everything read — three bindings that save a lot of clicking. This reference organizes 5 groups covering message editing, channel browsing, conversation navigation, global search and formatting, with macOS and Windows side by side. After reading you will communicate and track messages noticeably faster. · Sections: Messages, Channels, Navigation · e.g. Enter / Enter, Shift+Enter / Shift+Enter, ↑ / ↑</description>
    <pubDate>Fri, 31 Jul 2026 00:00:00 GMT</pubDate>
    <category>shortcuts</category>
  </item>
  <item>
    <title>Chrome Keyboard Shortcuts Cheatsheet - 40+ Keys</title>
    <link>https://laohand.com/chrome-shortcuts/</link>
    <guid isPermaLink="true">https://laohand.com/chrome-shortcuts/</guid>
    <description>Front-end developers who juggle a dozen tabs should start with Cmd/Ctrl+T for a new tab and Cmd/Ctrl+Shift+T to restore a misclosed one; to tweak styles use Cmd/Ctrl+Option+I for DevTools and Cmd/Ctrl+Shift+C to pick an element. This reference organizes 6 groups with macOS and Windows side by side. After reading you will click less and get through daily browsing and front-end debugging faster. · Sections: Tabs, Windows, Browsing · e.g. Cmd+T / Ctrl+T, Cmd+W / Ctrl+W, Cmd+Shift+T / Ctrl+Shift+T</description>
    <pubDate>Fri, 31 Jul 2026 00:00:00 GMT</pubDate>
    <category>shortcuts</category>
  </item>
  <item>
    <title>Windows Keyboard Shortcuts - 50+ Win Key Combos</title>
    <link>https://laohand.com/windows-shortcuts/</link>
    <guid isPermaLink="true">https://laohand.com/windows-shortcuts/</guid>
    <description>Windows shortcuts are wildly uneven in value: a handful of chords absorb dozens of actions a day, while most of the rest only matter in narrow situations. This sheet is grouped into General, File Explorer, Screenshots, Window Management, System and Command Line so you can look up the situation you are in rather than read end to end. Three to learn first: Win+arrow to snap a window and Win+Shift+arrow to move it between displays, which solves the problem of never having the window arranged the way you want; Win+Shift+S for screenshots, which lands in the notification where the built-in editor opens directly; and Ctrl+Shift+Esc straight into Task Manager, saving the extra selection step Ctrl+Alt+Delete requires. Learn the rest on demand - the Explorer group covers address bar and Ctrl+T multi-tab navigation for people moving between directories all day, and the Command Line group covers things with no default shortcut such as right-click paste in CMD and history recall. The filter for what to memorise is simple: any action you have repeated more than three times in a week is worth a chord. · Sections: General, File Explorer, Screenshots · e.g. Win, Win+S, Win+I</description>
    <pubDate>Fri, 31 Jul 2026 00:00:00 GMT</pubDate>
    <category>shortcuts</category>
  </item>
  <item>
    <title>macOS Keyboard Shortcuts Cheatsheet - Finder &amp; System</title>
    <link>https://laohand.com/macos-shortcuts/</link>
    <guid isPermaLink="true">https://laohand.com/macos-shortcuts/</guid>
    <description>The real barrier to macOS shortcuts is not the number of combinations but the handful of places where the defaults contradict Windows and Linux muscle memory: Cmd and Ctrl swap primary roles, Cmd+W closes a window without quitting the app, and pressing Q after Cmd+Tab quits whichever app just came forward. This sheet is laid out in six groups - general, Finder, screenshots, window management, system and text editing - and every entry states what the combination does in context rather than only listing keys. Reach for it when you have just switched machines and want the three highest-frequency groups (screenshots, windows, text navigation) solid before adding the rest, or when a key appears dead and you need to check whether an application has claimed that combination. The test for what to memorise is simple: anything that generalises across Finder and native apps is worth keeping, while application-specific semantics matter more as usage than as keystrokes. For dead keys, the Keyboard Shortcuts pane is where to look, because conflicting bindings are hidden there rather than shown disabled. · Sections: General, Finder, Screenshots · e.g. Cmd+Space, Cmd+Tab, Cmd+Shift+Tab</description>
    <pubDate>Fri, 31 Jul 2026 00:00:00 GMT</pubDate>
    <category>shortcuts</category>
  </item>
  <item>
    <title>Midjourney Prompts Cheatsheet - --ar, --v &amp; --no</title>
    <link>https://laohand.com/midjourney-prompts/</link>
    <guid isPermaLink="true">https://laohand.com/midjourney-prompts/</guid>
    <description>Midjourney separates its parameter channel from its prompt channel: the description decides what is depicted, while --ar, --v, --q, --chaos and --stylize decide how it is rendered, how many variations appear, and how much they differ. Many people rewrite the description when the composition is wrong, when the parameter they needed to change is aspect ratio or chaos. This sheet is grouped into basic parameters, style keywords, composition and lens, lighting and mood, negative terms with weights, and advanced techniques, where each entry describes the visual change a term produces rather than offering a bare English word. Reach for it when results are consistent but bland, which usually means --stylize is high enough that the model taste is overriding your description and lowering it beats adding words; when four variations come back nearly identical, raising --chaos is cheaper than rewriting the prompt; and when you need to reproduce and tune a specific image, fix --seed. The test for the :: weight syntax is whether you are changing one element&apos;s strength: it cannot fix a global compositional problem, only the description order can. · Sections: Basic Parameters (--ar/--v/--q/--n), Style Keywords (photorealistic/anime/oil painting), Composition &amp; Camera (close-up/wide angle/aerial) · e.g. --ar 16:9, --ar 9:16, --ar 1:1</description>
    <pubDate>Fri, 31 Jul 2026 00:00:00 GMT</pubDate>
    <category>ai-prompt</category>
  </item>
  <item>
    <title>Claude Prompts Cheatsheet - Templates &amp; Long Docs</title>
    <link>https://laohand.com/claude-prompts/</link>
    <guid isPermaLink="true">https://laohand.com/claude-prompts/</guid>
    <description>Claude&apos;s prompting has two levers the other models do not offer. The first is very long context, which makes feeding an entire paper, contract or codebase in one go practical - and that shifts the design question from how to chunk the material to how to stop the model missing the one paragraph you care about. The answer is to fence instructions and content with XML tags and to ask the model to state which sections it will rely on before answering. The second is Constitutional AI, which produces stable refusal behaviour that is trained in rather than prompted in: stating a boundary explicitly beats vague hedging, because telling the model not to offer a specific prescription or a verdict is far more reliable than asking it to be careful. Multi-turn consistency also has to be maintained deliberately, by asking for a restatement of the current understanding and constraints every few turns. This sheet groups scaffolds under long-document handling, code generation, role and system prompts, structured output, multi-turn technique and safety boundaries, each with a skeleton you can rewrite directly. · Sections: Long Document Processing (200K Context), Code Generation &amp; Analysis, Role-play &amp; System Prompts · e.g. Read the following long document and answer the question. Document:
{long doc}

Question: {question}, Compare the following two long documents across structure, content, and viewpoints:
Doc A: {doc A}
Doc B: {doc B}, Distill the following 50-page meeting notes into an executive summary with: key decisions, action items, owners, deadlines:
{notes}</description>
    <pubDate>Fri, 31 Jul 2026 00:00:00 GMT</pubDate>
    <category>ai-prompt</category>
  </item>
  <item>
    <title>ChatGPT Prompt Cheatsheet - Templates &amp; Techniques</title>
    <link>https://laohand.com/chatgpt-prompts/</link>
    <guid isPermaLink="true">https://laohand.com/chatgpt-prompts/</guid>
    <description>The value of writing prompts as reusable templates is not that any single answer improves, but that output stops changing shape on every request and becomes structurally stable. This sheet organises templates into role setting, structured output, coding, text processing, few-shot and chain of thought, which map one-to-one onto six different failure causes: an undefined persona makes the tone drift, an undeclared format forces you to regex the answer out, an un-decomposed task makes the model skip steps, too few examples leave the style inconsistent, and unexpanded reasoning produces arithmetic errors. Reach for it when you are about to write a fourth prompt that is similar in function but differently worded - the right move there is to abstract a template, not to keep tuning phrasing - or when the model keeps prefixing JSON with pleasantries, which is a missing instruction rather than disobedience. Two tests mark a template as sound: a stranger can follow it without your context, and two different inputs produce structurally identical output. The second one exposes assumptions the first hides. · Sections: Role Setting (System Role), Structured Output (JSON/Table/Markdown), Code (Generate/Review/Explain/Refactor) · e.g. You are a senior {domain} expert with 10+ years of experience. Answer the following in a professional yet accessible way: {question}, As a {role}, complete the following task strictly following {standard/spec}: {task}, Your identity is {role}, your goal is {goal}, your constraints are {constraints}. Begin: {input}</description>
    <pubDate>Fri, 31 Jul 2026 00:00:00 GMT</pubDate>
    <category>ai-prompt</category>
  </item>
  <item>
    <title>Date &amp; Time Format Cheatsheet - Date Formatting &amp; Timestamp Reference</title>
    <link>https://laohand.com/datetime/</link>
    <guid isPermaLink="true">https://laohand.com/datetime/</guid>
    <description>Date bugs are usually timezone bugs — a timestamp that looks right locally is off by 8 hours elsewhere. Organized by strftime tokens, ISO 8601, timezones/offsets, per-language methods and timestamp conversion, this table lets you map a token to its output and avoid the classic UTC vs local pitfall. Use it when formatting logs, building API timestamps, or parsing ISO strings. After reading you pick a format that round-trips consistently across servers and clients. · Sections: strftime Format Specifiers, ISO 8601 Standard, Timezone &amp; Offset · e.g. %Y, %y, %m</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>reference</category>
  </item>
  <item>
    <title>CIDR Cheatsheet - Subnet Mask &amp; IP Address Reference</title>
    <link>https://laohand.com/cidr/</link>
    <guid isPermaLink="true">https://laohand.com/cidr/</guid>
    <description>The trouble with CIDR arithmetic is that mistakes do not raise errors. A /23 written as /24 in a firewall rule lets the service start normally while quietly exposing extra addresses; shrinking a /8 to /16 stays hidden until capacity runs out a quarter later. So this sheet exists to make the mental arithmetic explicit: host bits equal 32 minus the prefix, usable addresses are two to the host-bit count minus two for the network and broadcast addresses, and /31 is the exception with no broadcast address so all four are usable. It is grouped into a subnet mask table, common subnet sizes, private ranges, special-purpose addresses, and calculation tools with worked examples. Reach for it when allocating a VPC range, reconciling NAT and security group allow-lists, deciding between /24 and /16, or reading an unfamiliar range and needing to know instantly whether it is private. The special ranges double as diagnostics: a 169.254 address means DHCP or the cloud metadata service is unreachable, while 127 in a config means loopback was written into an externally visible field. · Sections: CIDR Notation Basics, Subnet Mask Reference, Common Subnet Sizes · e.g. 192.168.1.0/24, IP/prefix, /24</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>reference</category>
  </item>
  <item>
    <title>RESTful API Cheatsheet - REST API Design Reference</title>
    <link>https://laohand.com/rest-api/</link>
    <guid isPermaLink="true">https://laohand.com/rest-api/</guid>
    <description>APIs rarely degrade because features are missing; they degrade because shapes drift. The same resource gets a different name in different endpoints, the same class of failure returns HTTP 200 with an errCode in one place and HTTP 500 in another, and every frontend integration has to re-derive the rules. This sheet breaks each decision out separately: how URLs encode resource hierarchy and collections, why nouns plural beat verbs, whether filters, pagination and sorting belong in query parameters, how methods map onto idempotency, which status code fits which situation, which cross-cutting concerns belong in headers, what a fixed response and error envelope look like, and which auth scheme fits which risk. Sequence matters too - settle the resource model and URL first, because they determine authorisation and caching; lock the error envelope next, because that is what frontend fallbacks branch on; choose the success wrapper last, since changing it is cheapest. The division of labour with the method sheet is clean: that one picks a verb, this one keeps an entire surface consistent. · Sections: URL Design Spec, HTTP Methods, Common Status Codes · e.g. /api/v1/users, /api/v1/users/123, /api/v1/users/123/orders</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>reference</category>
  </item>
  <item>
    <title>SemVer Cheatsheet - Semantic Versioning Reference</title>
    <link>https://laohand.com/semver/</link>
    <guid isPermaLink="true">https://laohand.com/semver/</guid>
    <description>A careless constraint like ^ or ~ silently decides whether your deploy upgrades dependencies or breaks the build. This reference covers MAJOR.MINOR.PATCH structure, prerelease tags, comparison operators, and the npm ranges you actually write (^ ~ &gt;= &lt; * and advanced combos). Use it to write a package.json that upgrades exactly what you want, and to tell why npm picked version X. After reading you read and write version ranges with intent. · Sections: Version Number Structure, Pre-release &amp; Build Metadata, Version Comparison Operators · e.g. MAJOR.MINOR.PATCH, 1.2.3, MAJOR: breaking API change</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>reference</category>
  </item>
  <item>
    <title>ISO 639-1 Cheatsheet - Language Code Reference</title>
    <link>https://laohand.com/iso-639-1/</link>
    <guid isPermaLink="true">https://laohand.com/iso-639-1/</guid>
    <description>Localization breaks silently when the language you detect doesn&apos;t match the one you ship. Grouped by region, each two-letter code pairs its English and native name so you pick without confusing zh/zh-CN or pt/pt-BR. Use it to set the lang attribute, build Accept-Language negotiation, and store a canonical locale key. After reading you assign locale codes that browsers and backends agree on. · Sections: Asian Languages, European Languages, Middle East &amp; African Languages · e.g. zh, zh-CN, zh-TW</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>reference</category>
  </item>
  <item>
    <title>Screen Resolution &amp; Aspect Ratio Cheatsheet - Device Resolution Reference</title>
    <link>https://laohand.com/aspect-ratio/</link>
    <guid isPermaLink="true">https://laohand.com/aspect-ratio/</guid>
    <description>Responsive work rarely fails because you lacked a breakpoint; it fails because the breakpoint sits on a device nobody owns. This table groups viewports into phone, tablet, laptop, monitor, and TV, listing common physical resolutions, logical CSS resolutions, and aspect ratios for real shipping hardware, plus a separate ratio reference for the portrait and landscape cases that actually come up. Its judgment rule is not to copy someone else media queries but to first fix the narrowest and widest screens the deliverable must survive, then pick real machines from this table on both sides to test against. Reach for it when setting design safe areas, choosing between 16:9 and 9:16 for video, reproducing a report that something looks wrong on a specific laptop, or arguing with a product owner about the minimum device list. One layer is constantly missed: Retina 2x and 3x screens measure physical pixels in screenshots but consume CSS logical pixels in layout, and mixing the two halves or doubles every size you set. · Sections: Phone Resolutions, Tablet Resolutions, Laptop Resolutions · e.g. 320 × 480, 640 × 960, 750 × 1334</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>reference</category>
  </item>
  <item>
    <title>Emoji Unicode Cheatsheet - Emoji Encoding Reference</title>
    <link>https://laohand.com/emoji-unicode/</link>
    <guid isPermaLink="true">https://laohand.com/emoji-unicode/</guid>
    <description>Emoji look fine on your screen until they break a MySQL column or get mangled in a JSON API. Organized by category, each emoji shows its codepoint and tips on surrogate pairs, ZWJ sequences and UTF-8 storage. Use it to size TEXT columns correctly, reason about why 👨‍👩‍👧 isn&apos;t a single codepoint, and handle emoji server-side without corruption. After reading you store and transmit emoji safely. · Sections: Smileys &amp; Emotion, Gestures, Hearts · e.g. 😀 U+1F600, 😂 U+1F602, 😊 U+1F60A</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>reference</category>
  </item>
  <item>
    <title>HTML Character Entities Cheatsheet - HTML Special Characters Reference</title>
    <link>https://laohand.com/html-char-entities/</link>
    <guid isPermaLink="true">https://laohand.com/html-char-entities/</guid>
    <description>In dynamically generated HTML, an unescaped ampersand or angle bracket quietly breaks the document, and in the wrong place it opens an XSS hole. The inverse problem is real too: a wall of &amp;amp; in someone source stops people from reading the template at all. This table classifies entities into basic characters, common symbols, currency, arrows, math, and Greek letters, giving both the named entity and the hexadecimal numeric form for each so you can choose by output target. The rule depends on where the string lands: named entities read better in HTML bodies, numeric &amp;#x...; forms are safer inside JSON, JS strings, and older systems with limited character support, and when the document already declares UTF-8, writing the character directly is usually cleanest for symbols like ©, →, or α. Reach for it when sanitizing user input, assembling email templates, chasing mojibake, or moving a symbol between pages without losing its formatting. · Sections: Basic Characters, Common Symbols, Currency Symbols · e.g. &amp;amp; or &amp;#38;, &amp;lt; or &amp;#60;, &amp;gt; or &amp;#62;</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>reference</category>
  </item>
  <item>
    <title>MIME Types Cheatsheet - Content-Type Reference</title>
    <link>https://laohand.com/mime-types/</link>
    <guid isPermaLink="true">https://laohand.com/mime-types/</guid>
    <description>A wrong Content-Type is often the invisible cause of broken downloads, garbled pages and rejected uploads. Organized by file category, each media type maps to extensions, the correct Content-Type string and charset notes. Use it to configure Nginx mime.types, set response Content-Type in server code, and validate what a browser infers from the header. After reading you know why .wasm or .woff2 serves wrong and how to fix it. · Sections: Text Types, Image Types, Audio/Video Types · e.g. text/html, text/css, text/javascript</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>reference</category>
  </item>
  <item>
    <title>ASCII Code Cheatsheet - ASCII Character Encoding Reference</title>
    <link>https://laohand.com/ascii-code/</link>
    <guid isPermaLink="true">https://laohand.com/ascii-code/</guid>
    <description>Protocol and encoding bugs usually boil down to &quot;which byte is which char&quot;. This table lists ASCII 0–127 split into control and printable characters, each with decimal, hex, octal and the HTML entity, plus Latin-1 extension notes and per-language conversion tips. Use it to decode raw bytes, format terminal-control escapes, and understand what \n \r \t \0 really are. After reading you can translate between representations by hand. · Sections: Control Characters (0-31, 127), Printable Characters (32-126), Common Control Characters · e.g. 0 (0x00), 3 (0x03), 4 (0x04)</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>reference</category>
  </item>
  <item>
    <title>LaTeX Cheatsheet - LaTeX Academic Typesetting Reference</title>
    <link>https://laohand.com/latex/</link>
    <guid isPermaLink="true">https://laohand.com/latex/</guid>
    <description>Opening a .tex file two hours before the deadline rarely breaks on the math; it breaks on a figure that floated away, a bibliography key that no longer matches, or an image path that dies on another machine. This table is grouped by document structure, text formatting, math, lists, tables, figures, and bibliography, with each entry giving both the syntax and the macro package it needs, so a compilable skeleton exists before you type a paragraph of prose. The working rule is unglamorous but reliable: get one clean pdflatex pass first, then add content one block at a time, one package at a time, and roll back to the last passing state the moment something breaks, so the failing line is always known. Reach for it when switching templates, tuning equation spacing, converting a long table to booktabs style, renaming citation keys in bulk, or chasing undefined citation errors. The line against Markdown is that LaTeX is a typesetting system: it owns float placement, equation numbering, and multi-level tables of contents. · Sections: Document Structure, Text Formats, Math Formulas · e.g. \documentclass{article}, \usepackage[utf8]{inputenc}, \usepackage{amsmath}</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>latex</category>
  </item>
  <item>
    <title>Markdown Cheatsheet - Markdown Syntax Reference</title>
    <link>https://laohand.com/markdown/</link>
    <guid isPermaLink="true">https://laohand.com/markdown/</guid>
    <description>Markdown is not difficult to write; it is difficult to be sure what it will look like elsewhere. GitHub renders tables and some documentation sites do not; some platforms drop task lists and others strip inline HTML. This sheet places widely supported syntax alongside platform-specific extensions, organised by headings, text styling, lists, code blocks, links and images, and tables with horizontal rules, marking clearly which forms are universal and which only work in some places. The selection rule is consistent: prefer universal syntax, because the small convenience an extension adds becomes rework the moment the document moves. Where an extension is genuinely needed - task lists, autolinks - at least confirm the target supports it and keep a plain-text fallback in mind. Copying a document between a docs site and a repository README is where transformation actually bites, and three spots account for most of it: line breaks inside tables, code blocks that themselves contain fences, and URLs containing special characters. · Sections: Heading, Text Style, List · e.g. # H1, ## H2, ### H3</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>reference</category>
  </item>
  <item>
    <title>HTTP Status Codes Cheatsheet - HTTP Response Status Code Reference</title>
    <link>https://laohand.com/http-status-codes/</link>
    <guid isPermaLink="true">https://laohand.com/http-status-codes/</guid>
    <description>The value of a status code is not memorising the table but collapsing a whole-system guess into one layer. The source of the code decides whom it accuses. 3xx and 4xx mostly point at the client: 3xx means a redirect was not followed, 4xx means the request itself, the identity, or the permission is wrong. 5xx mostly comes from the server or an intermediary, and here the codes emitted by Nginx or a gateway (413, 429, 502, 504) mean something quite different from the ones an application raises - conflating them sends the investigation in the opposite direction. This sheet walks 1xx through 5xx with meaning, typical cause and recommended handling, giving edge-proxy cases their own coverage, and focuses on the combinations most often mixed up: 401 means the server does not know who you are, 403 means it knows and refuses; 302 and 307 differ in whether a POST may be downgraded to GET; 502 means the backend returned something invalid or refused the connection, 504 means the backend accepted the connection and missed the deadline. The goal is that every code names its next action: which machine, which log, which setting. · Sections: 1xx Informational, 2xx Success, 3xx Redirection · e.g. 100 Continue, 101 Switching Protocols, 200 OK</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>reference</category>
  </item>
  <item>
    <title>INI Cheatsheet - Sections, Keys &amp; Parser Quirks</title>
    <link>https://laohand.com/ini/</link>
    <guid isPermaLink="true">https://laohand.com/ini/</guid>
    <description>INI is simple, but parsers differ: the comment character, quote handling, nesting support and variable interpolation all vary by implementation. This reference organizes 8 groups of basic syntax and data types, plus four real-world scenarios — Windows, php.ini, Git config and Python configparser — and a dedicated parsing-caveats group on cross-parser differences. After reading you can judge quickly whether a given INI block is safe in the target parser and avoid common traps like BOM, duplicate keys and comment-character issues. · Sections: Basic Syntax, Data Types, Common Applications · e.g. ; this is a comment, # this is also a comment, [section]</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>ini</category>
  </item>
  <item>
    <title>TOML Cheatsheet - Tables, Arrays &amp; Cargo.toml</title>
    <link>https://laohand.com/toml/</link>
    <guid isPermaLink="true">https://laohand.com/toml/</guid>
    <description>Tools like Cargo, Hugo and Greenlet configure with TOML, whose explicit [table] blocks and key = value syntax make it more readable than JSON and support comments. This reference groups 6 sections: basic types, date-time, four string flavors, arrays and tables, arrays of tables, plus a ready-to-adapt Cargo.toml example. Mirror the structure while writing a dependency table or nested section, and look up string escaping or date-time offsets as needed to avoid common type and indentation ambiguity. After reading you can maintain Cargo.toml and similar TOML config on your own. · Sections: Basic Types, Date &amp; Time, Strings · e.g. # this is a comment, key = &quot;value&quot;, key = &apos;value&apos;</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>toml</category>
  </item>
  <item>
    <title>JSON Cheatsheet - Syntax, Data Types &amp; Parsing Examples</title>
    <link>https://laohand.com/json/</link>
    <guid isPermaLink="true">https://laohand.com/json/</guid>
    <description>In frontend-backend integration, JSON is the default format for API responses and one of the easiest to break with a trailing comma or an unquoted key. This reference covers 6 high-frequency groups — data types, objects, arrays, nesting, common API response patterns, and validation/formatting commands (JSON.parse, jq). It helps you write well-formed data from a template and gives you a checklist for debugging plus jq for quick validation. After reading you can assemble valid JSON and verify it with tooling quickly. · Sections: Data Types, Object, Array · e.g. &quot;string&quot;, 123 / -456 / 3.14, true / false</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>json</category>
  </item>
  <item>
    <title>YAML Cheatsheet - Syntax, Anchors, Lists &amp; Examples</title>
    <link>https://laohand.com/yaml/</link>
    <guid isPermaLink="true">https://laohand.com/yaml/</guid>
    <description>Across Docker Compose, Kubernetes and GitHub Actions, the most common mistakes are wrong indentation, a missing space after the colon, and unquoted special characters. This reference arranges the 8 most-used syntax groups (basics, data types, lists and dicts, multiline strings, anchors and aliases, type tags) by purpose: mirror the scaffolding when writing config, and debug indentation or quoting section by section when an error appears. It also notes where YAML differs from JSON — single quotes do not escape, comments are allowed, and anchors cut repetition. After reading you can write clean, maintainable config files on your own. · Sections: Basic Syntax, Data Types, List / Array · e.g. key: value, # comment, ---</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>yaml</category>
  </item>
  <item>
    <title>Vite Cheatsheet - Dev Server, Build &amp; Config</title>
    <link>https://laohand.com/vite/</link>
    <guid isPermaLink="true">https://laohand.com/vite/</guid>
    <description>Vite trades dev-server startup for a near-instant experience via native ESM and on-demand compilation, and its config reads differently from Webpack. This reference covers scaffolding, the dev server, production build, environment variables, plugins, proxy and SSR builds, and calls out where it diverges from legacy bundling. Use it when starting a project, migrating an older Webpack setup, or when a config you set &quot;just doesn&apos;t apply&quot;. After reading you can take a project from scaffolding to a production build, and know exactly where to edit for dev vs build. · Sections: Project Creation &amp; Init, Dev Server, Production Build · e.g. npm create vite@latest, npm create vite@latest my-app -- --template react-ts, npm create vite@latest my-app -- --template vanilla-ts</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>devtools</category>
  </item>
  <item>
    <title>Jest Cheatsheet - Matchers, Mocks &amp; Async Testing</title>
    <link>https://laohand.com/jest/</link>
    <guid isPermaLink="true">https://laohand.com/jest/</guid>
    <description>Tests only earn their keep when a failure tells you precisely what broke. This reference covers describe/it grouping, matchers beyond toBe, async and promise testing, jest.fn/jest.mock module mocking, snapshot testing, and coverage output. It emphasizes the matchers and mock strategies that pinpoint broken behavior instead of vague red. For teams adding real unit coverage to JS/TS code. After reading you write focused assertions and mock the exact seams you intend to. · Sections: Basic Tests, Matchers, Async Tests · e.g. test(&quot;desc&quot;, () =&gt; { expect(1 + 2).toBe(3) }), it(&quot;desc&quot;, fn), describe(&quot;module&quot;, () =&gt; { it(...) })</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>node</category>
  </item>
  <item>
    <title>Webpack Cheatsheet - Frontend Build Tool Configuration Reference</title>
    <link>https://laohand.com/webpack/</link>
    <guid isPermaLink="true">https://laohand.com/webpack/</guid>
    <description>Webpack’s power is real and its config is where that power lives or hides. This reference covers entry/output, Loaders for each asset type, Plugins, dev-server/HMR, code splitting and optimizations, plus mode/environment. Use it when a new asset type won&apos;t load, HMR dies, or a bundle is inexplicably huge. Rather than echo boilerplate, it points to the flag or plugin that addresses the failure. After reading you configure and tune a build without reading the full Webpack docs. · Sections: Entry &amp; Output, Loaders, Plugins · e.g. entry: &quot;./src/index.js&quot;, entry: { app: &quot;./src/app.js&quot;, vendor: &quot;./src/vendor.js&quot; }, output.filename: &quot;[name].[contenthash].js&quot;</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>node</category>
  </item>
  <item>
    <title>npm Cheatsheet - Node.js Package Manager Reference</title>
    <link>https://laohand.com/npm/</link>
    <guid isPermaLink="true">https://laohand.com/npm/</guid>
    <description>A Node project is only as reproducible as your dependency commands. This reference runs the whole lifecycle: init/scaffold, install/update/remove, version ranges and package-lock, npm scripts and npx, npm ls/audit/outdated for health, publishing, and config/cache handles. Compare to a bare command list, it also flags lockfile and audit subtleties that bite teams. Use it when CI fails on dependency resolution or a package won&apos;t install at the expected version. After reading you operate dependencies and debug install issues with intent. · Sections: Project Init, Install &amp; Uninstall, Version Management · e.g. npm init -y, npm init, npm init &lt;initializer&gt; [args]</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>node</category>
  </item>
  <item>
    <title>GitLab Cheatsheet - Code Hosting Platform Shortcut Reference</title>
    <link>https://laohand.com/gitlab/</link>
    <guid isPermaLink="true">https://laohand.com/gitlab/</guid>
    <description>GitLab’s keystrokes differ from GitHub’s in details, and the review flow is where they save the most time. This reference covers global navigation, repo/file search, Issue/MR shortcuts, and Merge-Request review and commenting. Use it when your team standardizes on GitLab CE/EE and you want keyboard-first reviewing and MR triage. After reading you navigate projects, files and MR threads as fast as you click, but with less mousing around. · Sections: Global Navigation, Repository Browsing, Code Browsing · e.g. G then D, G then A, G then M</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>devtools</category>
  </item>
  <item>
    <title>GitHub Cheatsheet - Code Hosting Platform Shortcut Reference</title>
    <link>https://laohand.com/github/</link>
    <guid isPermaLink="true">https://laohand.com/github/</guid>
    <description>Daily GitHub work — reviewing PRs, hunting files, leaving comments — is full of small repeated clicks. This reference covers global navigation (s and /), repo and file search, code search, Issue/PR hotkeys, review commenting, and Markdown editing. The big wins are keyboard-opened search and quick PR-review commenting. For maintainers and reviewers who spend hours in the browser rather than the terminal. After reading you review, search and comment faster than the mouse allows. · Sections: Global Navigation, Repository Browsing, Code Browsing · e.g. G then N, G then I, G then P</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>devtools</category>
  </item>
  <item>
    <title>Android Studio Cheatsheet - Android IDE Shortcut Reference</title>
    <link>https://laohand.com/android-studio/</link>
    <guid isPermaLink="true">https://laohand.com/android-studio/</guid>
    <description>Android work is build-loop heavy, and Android Studio’s shortcuts condense that loop. This reference covers Kotlin/Java generation and navigation, the layout editor, Gradle sync, emulator controls, run/debug, and Logcat/Profiler access. The high-yield ones are navigation to implementation, quick build/run, and jumping from an AndroidX call to source. For anyone iterating on screens and APIs all day. After reading you keep the build-test-debug cycle moving mostly with the keyboard. · Sections: Kotlin/Java Development, Layout Editor, Gradle Build · e.g. Cmd + N, Cmd + Option + T, Cmd + Option + M</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>devtools</category>
  </item>
  <item>
    <title>PhpStorm Cheatsheet - Laravel &amp; Symfony Shortcuts</title>
    <link>https://laohand.com/phpstorm/</link>
    <guid isPermaLink="true">https://laohand.com/phpstorm/</guid>
    <description>PhpStorm’s edge over a plain editor is framework awareness — it knows Laravel/Symfony routes, models and containers. This reference groups PHP generation, framework jump, database, debug/run and quality shortcuts on the JetBrains keymap. Use the framework-navigation keys to hop between a route, controller and blade/twig template without grepping. For PHP work where navigating an unfamiliar codebase is the daily cost. After reading you refactor and jump through a PHP app without breaking stride. · Sections: PHP-specific, Laravel-specific, Database Tools · e.g. Cmd + N, Cmd + Option + T, Cmd + Option + M</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>devtools</category>
  </item>
  <item>
    <title>WebStorm Cheatsheet - Frontend IDE Shortcut Reference</title>
    <link>https://laohand.com/webstorm/</link>
    <guid isPermaLink="true">https://laohand.com/webstorm/</guid>
    <description>WebStorm brings JetBrains-grade tooling to JavaScript, and the payoff multiplies once you use its shortcuts. This reference covers editing and reformatting, completion/generation, navigation, refactoring, run/debug, Git and layout, all on the JetBrains keymap. It highlights the keys that matter for JS/TS work — smart completion, extract-to-const, git history — where the IDE genuinely beats editor-plus-CLI. After reading you jump between files, refactor and inspect git state without mousing over toolbar buttons. · Sections: Basic Editing, Completion &amp; Generation, Navigation &amp; Search · e.g. Cmd + D, Cmd + Y, Cmd + Shift + Enter</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>devtools</category>
  </item>
  <item>
    <title>Sublime Text Cheatsheet - Text Editor Shortcut Reference</title>
    <link>https://laohand.com/sublime-text/</link>
    <guid isPermaLink="true">https://laohand.com/sublime-text/</guid>
    <description>Sublime&apos;s strength lies in two things rather than in feature count. The first is multi-cursor editing, which lets one edit happen in many places at once - renaming a variable or prefixing several lines is a few keystrokes here and often a plugin or manual repetition elsewhere. The second is search and snippets, where cross-file regex replacement and custom templates absorb a large amount of repetitive daily work. This sheet is organised into basic editing, multi-cursor editing, navigation and selection, search and replace, windows and panels, and snippets. Reach for it when handling large text files, when the same structural change must be applied in many places, or when you simply do not want to launch a full IDE to fix one file. The test for choosing it over a complete IDE is simple: if the task involves project-wide refactoring, debugging and dependency management, what Sublime lacks will not disappear with practice; but if the work is find, change, jump and bulk-replace, it is clearly the faster option. · Sections: Basic Editing, Multi-cursor Editing, Navigation &amp; Selection · e.g. Cmd + D, Cmd + Shift + D, Cmd + Shift + K</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>devtools</category>
  </item>
  <item>
    <title>IntelliJ IDEA Cheatsheet - Java IDE Shortcut Reference</title>
    <link>https://laohand.com/intellij-idea/</link>
    <guid isPermaLink="true">https://laohand.com/intellij-idea/</guid>
    <description>IntelliJ is powerful enough to be slow to learn; the shortcuts are the unlock. This reference groups navigation, editing/refactoring, generation/completion, run/debug stepping, VCS and layout. It flags high-yield keys like Search Everything, Generate, and Rename across the hierarchy, plus the debugger stepping set. For Java/Kotlin work where jumping between related classes and runtime state is constant. After reading you navigate, refactor and debug without breaking to the mouse. · Sections: Code Navigation, Editing &amp; Refactoring, Code Completion · e.g. Cmd+O, Cmd+Shift+O, Cmd+Alt+L</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>intellij-idea</category>
  </item>
  <item>
    <title>Figma Cheatsheet - UI Design Tool Shortcut Reference</title>
    <link>https://laohand.com/figma/</link>
    <guid isPermaLink="true">https://laohand.com/figma/</guid>
    <description>Where Figma loses time is repetition: the same alignment, the same spacing tweak, the same tool switch, repeated dozens of times inside one file. This table groups by tool switching, layer operations, alignment and distribution, styles and properties, view and navigation, and other common shortcuts, collecting the key combinations that replace mouse work along with the constraints nobody remembers without writing them down. The judgment rule is whether the layer tree is still readable: once dozens of similar elements sit ungrouped at the top level, every later alignment becomes painful, so group each finished module and keep nesting to two levels. Reach for it when you need a reviewable draft in half an hour, when normalizing components in a design system, or when preparing annotation and export handoff for developers. Compared with drawing and adjusting in the same pass, settling the auto-layout spacing rules first means a later change edits one number instead of reflowing the whole block. · Sections: Tool Switching, Layer Operations, Align &amp; Distribute · e.g. V, F, R</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>figma</category>
  </item>
  <item>
    <title>Chrome DevTools Cheatsheet - Front-end Debugging Reference</title>
    <link>https://laohand.com/chrome-devtools/</link>
    <guid isPermaLink="true">https://laohand.com/chrome-devtools/</guid>
    <description>Console.log poking is a poor substitute for stepping through a live page. This reference covers Elements and DOM breakpoints, console tricks, Network waterfall and request replay, Performance flame charts, and Application storage. Use it when a page works on your laptop but misbehaves in production — isolate a layout bug, find a slow request, or trace a storage leak. After reading you inspect, measure and fix frontend problems from inside the browser instead of guessing. · Sections: Shortcuts, Console Commands, Elements Debugging · e.g. F12 or Cmd+Option+I, F12 or Ctrl+Shift+I, Cmd+Option+J</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>chrome-devtools</category>
  </item>
  <item>
    <title>Postman Cheatsheet - API Debugging Tool Reference</title>
    <link>https://laohand.com/postman/</link>
    <guid isPermaLink="true">https://laohand.com/postman/</guid>
    <description>A single curl proves nothing about auth edge cases or response shapes across environments. Postman turns requests into an environment-aware, scriptable workflow. This reference covers building requests, environment and global variables, test assertions with pm.test, pre-request scripts and dynamic data, plus running whole collections and spinning up Mock servers. Use it when you need repeatable tests for many endpoints, not one-off probes. After reading you automate assertions and re-run suites across dev/staging/prod. · Sections: Request Building, Environment Variables, Test Scripts · e.g. GET {{base_url}}/api/users, POST {{base_url}}/api/users, PUT {{base_url}}/api/users/1</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>postman</category>
  </item>
  <item>
    <title>mitmproxy Cheatsheet - Modes, Filters &amp; HTTPS</title>
    <link>https://laohand.com/mitmproxy/</link>
    <guid isPermaLink="true">https://laohand.com/mitmproxy/</guid>
    <description>Browser DevTools only sees what your own browser sent; to see other apps&apos; HTTPS traffic you need a MITM proxy. This reference covers mitmproxy/mitmdump/mitmweb modes and ports, filter expressions, flow interception/editing, addon scripts, and the CA-cert install that decrypts HTTPS. Use it when debugging a mobile app, an old client, or a scheduled job that doesn&apos;t go through the browser. After reading you can capture, filter and even rewrite live API calls. · Sections: Startup &amp; Modes, Filter Expressions, Interactive Operations · e.g. mitmproxy, mitmweb, mitmdump</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>mitmproxy</category>
  </item>
  <item>
    <title>XPath Cheatsheet - Axes, Predicates &amp; Functions</title>
    <link>https://laohand.com/xpath/</link>
    <guid isPermaLink="true">https://laohand.com/xpath/</guid>
    <description>For locating nodes in XML or HTML, a regular expression is almost always the wrong instrument: change the line wrapping and the pattern breaks. XPath was designed for a structured tree, so a selector expresses position, attributes and relationships at once and survives reformatting. This sheet covers basic paths, predicates, axes, common functions, and wildcards with operators, applied to two frequent jobs - locating elements in crawlers and reading configuration files. There is a practical test for whether a selector is well written: it should be able to hit without matching visible text. Use a positional predicate for the second match, an attribute check for the tagged element, and an axis for a parent or sibling relationship; matching on wording is fragile because wording changes while structure does not. The performance judgement is equally clear - the descendant axis costs noticeably more on large documents, so when the hierarchy is known prefer the child axis with an exact path. And remember the version boundary: XPath 1.0 has no regex, so fuzzy matching means composing contains calls or moving to a processor that supports 2.0. · Sections: Basic Paths, Predicate Filtering, Axes · e.g. /, //, .</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>xpath</category>
  </item>
  <item>
    <title>Homebrew Cheatsheet - macOS Package Manager Reference</title>
    <link>https://laohand.com/homebrew/</link>
    <guid isPermaLink="true">https://laohand.com/homebrew/</guid>
    <description>A fresh Mac loses hours to $PATH and dependency mess unless you install through Homebrew. This reference covers installing/updating/removing formulas, Cask GUI apps, brew services for background daemons, mirror switches for mainland use and troubleshooting broken bottles. Unlike a package list, it tells you which flag installs from HEAD vs a bottle, and how to diagnose a brew doctor complaint. After reading you can bootstrap and repair a Mac toolchain mostly from the terminal. · Sections: Basics, Cask GUI Apps, Services · e.g. brew install wget, brew uninstall wget, brew update</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>homebrew</category>
  </item>
  <item>
    <title>Pandoc Cheatsheet - Document Conversion Command Reference</title>
    <link>https://laohand.com/pandoc/</link>
    <guid isPermaLink="true">https://laohand.com/pandoc/</guid>
    <description>Copy-pasting a document between formats usually destroys the structure you worked for. Pandoc converts between Markdown, HTML, PDF, DOCX and EPUB by mapping to a document model, so headings, tables and citations survive. This reference covers basic interchange, Chinese-PDF fonts, templates/styles, slides, e-books and citations/math. Use it when your CMS, wiki or client insists on a format you don&apos;t author in. After reading you move content across formats with markup intact. · Sections: Basic Conversion, PDF Advanced Options, Templates &amp; Styles · e.g. pandoc input.md -o output.html, pandoc input.md -o output.pdf, pandoc input.md -o output.docx</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>pandoc</category>
  </item>
  <item>
    <title>ChatGPT Cheatsheet - Prompts, Models &amp; API Reference</title>
    <link>https://laohand.com/chatgpt/</link>
    <guid isPermaLink="true">https://laohand.com/chatgpt/</guid>
    <description>The gap between a weak question and a well-structured one is rarely about how much information you supply; it is about structure. A model allocates attention in the order you give it: without a role it invents a stance, without a format it invents its own layout, without constraints it fills the answer with correct but useless prose. This sheet decomposes prompting into reusable scaffolds - role, task framing, output constraints, few-shot examples and chain-of-thought - and applies them to office, coding, writing and study scenarios. The test for whether a prompt is finished is not whether it reads well but whether it can be checked mechanically: in one sentence, state how many sections the output should have, which fields it must contain, and what must not appear. If you cannot, the prompt is unfinished. One more thing this sheet isolates deliberately: marginal gains come from structure, not volume. Repeating a requirement three times is strictly worse than turning it into a named field in an output template, and negative constraints earn their own place because they suppress drift more reliably than positive description. · Sections: Prompting, Code, Writing · e.g. You are a senior Python engineer..., Act as a product manager with 10 years of experience..., Complete the following task step by step:...</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>chatgpt</category>
  </item>
  <item>
    <title>Emacs Cheatsheet - Keybindings, Buffers &amp; Org Mode</title>
    <link>https://laohand.com/emacs/</link>
    <guid isPermaLink="true">https://laohand.com/emacs/</guid>
    <description>Emacs is notorious for its 2000+ default commands, but you only need a small set daily. This reference groups file &amp; buffers, movement/editing, search, windows, macros and Org-mode, and first demystifies the C=Ctrl, M=Alt/Meta prefix notation, then the chording of C-x C-s style sequences. Learning it lowers the intimidation of the editor and moves editing into muscle memory. After reading you can open, edit and save files, wrangle buffers, and record a macro without touching the manual. · Sections: Files &amp; Buffers, Cursor Movement, Editing · e.g. C-x C-f, C-x C-s, C-x C-w</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>emacs</category>
  </item>
  <item>
    <title>VS Code Cheatsheet - 50+ Keyboard Shortcuts</title>
    <link>https://laohand.com/vscode/</link>
    <guid isPermaLink="true">https://laohand.com/vscode/</guid>
    <description>VSCode turns refactoring, symbol navigation and multi-cursor editing into pure keyboard work, keeping your attention on the logic instead of the mouse. Ordered by workflow — General, Editing, Navigation, Refactor/Debug, Git — each shortcut lists both macOS and Win/Linux keybindings and calls out the platform deltas (Cmd→Ctrl, Option→Alt). For rename, jump-to-definition and batch editing without the mouse, start with the Command Palette and Editing groups; in cross-platform teams it also helps you align on keybinding docs. After reading you can drive most of a refactoring session from the keyboard. · Sections: General, Editing, Navigation · e.g. Cmd+Shift+P, Ctrl+Shift+P, Cmd+P</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>vscode</category>
  </item>
  <item>
    <title>PM2 Cheatsheet - Node.js Process Manager Reference</title>
    <link>https://laohand.com/pm2/</link>
    <guid isPermaLink="true">https://laohand.com/pm2/</guid>
    <description>Running node app.js in the foreground means watching a process die or a memory leak build with no safety net. PM2 layers on daemon supervision, self-restart, cluster mode, logging and boot-start as one loop. This table is grouped into start/run, logs, monitoring, cluster, startup and ecosystem.config.js, with deployment-critical flags, and it calls out CLI differences like reload vs restart and the pm2 save + startup pair for crash recovery. After reading you can set up supervision, scaling and self-healing for a Node service on your own. · Sections: Start &amp; Stop, Logs, Monitor &amp; Status · e.g. pm2 start app.js, pm2 start app.js --name &quot;api&quot;, pm2 start app.js -i max</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>node</category>
  </item>
  <item>
    <title>Ruby Cheatsheet - Ruby Syntax &amp; Methods Reference</title>
    <link>https://laohand.com/ruby/</link>
    <guid isPermaLink="true">https://laohand.com/ruby/</guid>
    <description>This reference is for developers picking up Ruby (including Rails) or recalling its idioms. It starts with variables, symbols, and common built-in methods, then arrays/hashes, control flow (including postfix if and unless), methods and blocks/Proc/Lambda, classes &amp; modules with attr_accessor, include/extend, and inheritance, and ends with begin-rescue-ensure exception handling. Unlike many languages, almost everything in Ruby is an object and methods return the value of their last expression, and blocks elegantly wrap iteration. After reading you should be able to write idiomatic, concise Ruby: iterate with blocks instead of hand loops, use symbols as hash keys, and organize reusable behavior into modules. · Sections: Basics, Array &amp; Hash, Control Flow · e.g. name = &quot;Ruby&quot;, name = &quot;Hello, #{name}&quot;, :symbol</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>ruby</category>
  </item>
  <item>
    <title>Moment.js Cheatsheet - Format, Parse &amp; Date Calculations</title>
    <link>https://laohand.com/moment/</link>
    <guid isPermaLink="true">https://laohand.com/moment/</guid>
    <description>This reference is for JavaScript developers doing everyday date work — formatting a timestamp for display, adding days to an expiry, comparing two dates, or showing &quot;3 days ago&quot;. It walks creation from strings, timestamps, and object literals (mind the zero-based month), formatting tokens, add/subtract and startOf/endOf snapping, comparison helpers, relative time, and timezone handling with moment-timezone. Note that moment is in maintenance mode; prefer native Date or Day.js for new code. After reading you should be able to parse, format, shift, and compare dates, and render friendly relative strings. · Sections: Creating Dates, Formatting, Manipulating Dates · e.g. moment(), moment(&quot;2024-01-15&quot;), moment(&quot;2024-01-15&quot;, &quot;YYYY-MM-DD&quot;)</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>javascript</category>
  </item>
  <item>
    <title>Sinon.js Cheatsheet - Spy, Stub, Mock &amp; Fake Timers</title>
    <link>https://laohand.com/sinon/</link>
    <guid isPermaLink="true">https://laohand.com/sinon/</guid>
    <description>This reference is for JavaScript developers writing unit tests who need to isolate the code under test from its surroundings. It covers spies for observing calls, stubs to replace behavior with return/throw/resolve constants, strict mocks with expectations, fake timers to fast-forward setTimeout, and sandboxes that auto-restore everything. Later sections show the sinon.assert helpers and practical patterns like sinon.replace and parameter matchers. After reading you should be able to spy on a dependency, stub an external call, control time in tests, and clean up all doubles in a teardown. · Sections: Spy, Stub, Mock · e.g. sinon.spy(obj, &quot;method&quot;), sinon.spy(fn), spy.calledOnce</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>javascript</category>
  </item>
  <item>
    <title>Chai.js Cheatsheet - expect, should &amp; assert Assertions</title>
    <link>https://laohand.com/chai/</link>
    <guid isPermaLink="true">https://laohand.com/chai/</guid>
    <description>This reference is for JavaScript developers writing tests with Mocha, Jest integrations, or plain Node. Chai gives three interchangeable styles (expect, should, assert); this cheatsheet shows the same check written each way. It covers equality, deep comparison of objects/arrays, type and inclusion checks, thrown-error assertions, numeric bounds, and plugin-backed helpers such as eventually (chai-as-promised) and HTTP status (chai-http). After reading you should be able to write readable assertions for values, collections, thrown errors, and promises, and know when deep.equal beats equal. · Sections: Expect Style (BDD), Should Style (BDD), Assert Style (TDD) · e.g. expect(value).to.equal(expected), expect(value).to.be.a(&quot;string&quot;), expect(array).to.include(item)</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>javascript</category>
  </item>
  <item>
    <title>React Router Cheatsheet - Routes, Links &amp; Params</title>
    <link>https://laohand.com/react-router/</link>
    <guid isPermaLink="true">https://laohand.com/react-router/</guid>
    <description>This reference is for React developers wiring up client-side navigation with React Router v6. It covers the declarative Routes/Route tree, nested layouts with Outlet, Link/NavLink and programmatic useNavigate, reading dynamic params and refreshing the query string, guarding protected pages, and the reactive data APIs (loader/action) added in v6.4. Each entry fills a concrete gap, like rendering a 404, keeping nav active state, or redirecting after login. After reading you should be able to declare a route tree, link between pages, handle :id params and ?query, and protect authenticated screens. · Sections: Router Setup, Navigation, Route Params · e.g. &lt;BrowserRouter&gt;&lt;App /&gt;&lt;/BrowserRouter&gt;, &lt;Routes&gt;&lt;Route path=&quot;/&quot; element={&lt;Home /&gt;} /&gt;&lt;/Routes&gt;, &lt;Route path=&quot;/users/:id&quot; element={&lt;User /&gt;} /&gt;</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>javascript</category>
  </item>
  <item>
    <title>Redux Cheatsheet - Toolkit, Slices, Thunks &amp; Store</title>
    <link>https://laohand.com/redux/</link>
    <guid isPermaLink="true">https://laohand.com/redux/</guid>
    <description>This reference is for React developers who want predictable, central state with the Redux Toolkit. It covers store configuration, createSlice with its auto-generated actions and Immer-powered immutability, async logic via createAsyncThunk with pending/fulfilled/rejected cases, middleware, and the React bindings useSelector/useDispatch. A closing section shows normalized state with createEntityAdapter and a first look at RTK Query. After reading you should be able to set up a slice, dispatch both sync and async actions, read state reactively, and model collections as normalized entities. · Sections: Store Setup, Slice Creation, Actions &amp; Dispatch · e.g. const store = configureStore({ reducer: rootReducer }), configureStore({ reducer: { users: usersReducer, posts: postsReducer } }), configureStore({ middleware: (gdm) =&gt; gdm().concat(logger) })</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>javascript</category>
  </item>
  <item>
    <title>JavaScript Promise Cheatsheet - Async/Await &amp; Chaining</title>
    <link>https://laohand.com/promise/</link>
    <guid isPermaLink="true">https://laohand.com/promise/</guid>
    <description>This reference is for JavaScript developers writing async code, whether in the browser with fetch or in Node. It starts from creating and consuming a promise, then static combinators — all vs race vs allSettled vs any, which beginners often mix up — before chaining and the async/await sugar it sits on. Later sections cover real problems: running many requests concurrently without flooding, waiting for the fastest result with a timeout, retrying a flaky request, and aborting an in-flight fetch with AbortController. After reading you should be able to sequence async steps, run parallel tasks with a concurrency cap, and add timeout and retry to brittle calls. · Sections: Basics, Consuming Promises, Static Methods · e.g. new Promise((resolve, reject) =&gt; { resolve(value) }), new Promise((resolve, reject) =&gt; { reject(new Error(&quot;fail&quot;)) }), Promise.resolve(value)</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>javascript</category>
  </item>
  <item>
    <title>React Cheatsheet - Hooks, Props, State &amp; Components</title>
    <link>https://laohand.com/react/</link>
    <guid isPermaLink="true">https://laohand.com/react/</guid>
    <description>This reference is for React developers who write function components and Hooks. It moves from the state/effect core to advanced hooks such as useReducer, context, and useId, then component patterns like forwardRef and render props, before controlled forms, state via Context, and performance optimizations like React.memo and lazy. Each entry is a copy-ready snippet with the deps array and edge cases called out. After reading you should be able to drive async data with useEffect, share state across components with Context, and stop wasted re-renders with memo/useCallback. · Sections: Core Hooks, Advanced Hooks, Component Patterns · e.g. const [count, setCount] = useState(0), const [user, setUser] = useState({ name: &quot;&quot;, age: 0 }), useEffect(() =&gt; { fetchData() }, [])</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>node</category>
  </item>
  <item>
    <title>Vue.js Cheatsheet - Composition API, ref &amp; computed</title>
    <link>https://laohand.com/vue/</link>
    <guid isPermaLink="true">https://laohand.com/vue/</guid>
    <description>This reference targets Vue 3 developers working with the Composition API and &lt;script setup&gt;. It walks from reactivity basics (ref vs reactive) to computed and watchers, then props/emits/provide-inject for component communication, before covering routing, Pinia, templates, and performance tweaks like shallowRef and defineAsyncComponent. Each entry is a snippet you can drop into an existing SFC and observe the reactive update. After reading you should be able to manage local state with ref/reactive, react to changes with watch, wire up a child parent call, and lazy-load heavy components. · Sections: Reactivity Basics, Lifecycle Hooks, Component Communication · e.g. const count = ref(0), count.value++, const state = reactive({ name: &quot;Vue&quot; })</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>node</category>
  </item>
  <item>
    <title>Lodash Cheatsheet - Array, Object &amp; Collection Methods</title>
    <link>https://laohand.com/lodash/</link>
    <guid isPermaLink="true">https://laohand.com/lodash/</guid>
    <description>This reference is for JS devs who would rather use a well-tested helper than reimplement the same loop by hand. Entries span arrays, objects, strings, collections, and function utilities, with each command showing the exact call that solves a stubborn problem — like reading a deeply nested value that may not exist, deep-cloning to avoid mutating shared state, or debouncing an input handler. Unlike native methods, Lodash versions handle nullish inputs and edge cases for you. After reading you should be able to pick the right helper for dedupe, grouping, debounce, and safe deep merge. · Sections: Array, Object, String · e.g. _.map(arr, (n) =&gt; n * 2), _.filter(arr, (n) =&gt; n &gt; 0), _.reduce(arr, (sum, n) =&gt; sum + n, 0)</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>node</category>
  </item>
  <item>
    <title>TypeScript Cheatsheet - Type Types &amp; Generics Reference</title>
    <link>https://laohand.com/typescript/</link>
    <guid isPermaLink="true">https://laohand.com/typescript/</guid>
    <description>This reference is for JS and frontend developers who want to write clear types in their day-to-day code. Instead of dumping definitions, entries progress from variables to interfaces, generics, and utility types, with each explaining the scenario it solves — such as when to prefer interface over type, how Partial makes form fields optional, and how Pick/Omit carve a subset out of a larger type. After reading you should be able to annotate functions and objects precisely, constrain values with literal unions, and use utility types to tighten your options. · Sections: Basic Types, Interfaces &amp; Types, Generics · e.g. let name: string = &quot;John&quot;, let age: number = 30, let isActive: boolean = true</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>node</category>
  </item>
  <item>
    <title>MATLAB Cheatsheet - MATLAB Commands &amp; Matrix Operations Reference</title>
    <link>https://laohand.com/matlab/</link>
    <guid isPermaLink="true">https://laohand.com/matlab/</guid>
    <description>This reference is for engineers and scientists who think in matrices rather than element loops. It covers building matrices and vectors, in-place operations like transpose and eigenvalue decomposition, statistical summaries, plotting curves and surfaces, file read/write, and FFT-based signal analysis. Unlike numpy the commands here feel native to the language, so you can type them directly in the Command Window and inspect each result. After reading you should be able to assemble a matrix, transpose/invert/decompose it, turn a vector into a plot, and save the intermediate result with save/load. · Sections: Matrix Creation, Matrix Operations, Data Visualization · e.g. A = [1 2 3; 4 5 6; 7 8 9], B = [1; 2; 3], C = [1, 2, 3]</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>language</category>
  </item>
  <item>
    <title>EJS Cheatsheet - Tags, Includes &amp; Express Setup</title>
    <link>https://laohand.com/ejs/</link>
    <guid isPermaLink="true">https://laohand.com/ejs/</guid>
    <description>This reference is for Node and Express developers who render pages serverside with EJS, the template engine you configure in one line and use everywhere. It covers the tag syntax (&lt;% code %&gt;, &lt;%= escaped output %&gt;, &lt;%- raw HTML %&gt;, &lt;%- include %&gt;, comments), how to branch and loop over the locals you pass in, splitting pages into includes, sharing a layout, and calling res.render from Express. Unlike a generic EJS primer, entries are grouped by what each part of the template does, and note when output is escaped vs raw. After reading you should be able to build an Express view, loop over data with &lt;%- for %&gt;, escape user content with &lt;%=, and reuse header/footer via includes. · Sections: Basic Syntax, Conditionals, Loops · e.g. &lt;% code %&gt;, &lt;%= value %&gt;, &lt;%- value %&gt;</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>language</category>
  </item>
  <item>
    <title>Dart Cheatsheet - Dart Syntax &amp; Flutter Reference</title>
    <link>https://laohand.com/dart/</link>
    <guid isPermaLink="true">https://laohand.com/dart/</guid>
    <description>This reference is for Dart developers building Flutter apps or backend services, centered on the syntax you write all day: null-safe variables (final/const vs late), functions and closures, classes with mixins, and async flow with Future/async/await. Unlike a flat Dart feature list, entries are grouped by the construct and flag null-safety behavior that trips people new from Java/JS. After reading you should be able to write null-safe chains without non-null assertions everywhere, compose classes with mixins, and handle asynchronous work with Future and async/await without blocking the UI thread. · Sections: Variables &amp; Types, Functions &amp; Closures, Classes &amp; Mixins · e.g. var name = &apos;Dart&apos;;, String name = &apos;Dart&apos;;, final name = &apos;Dart&apos;;</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>dart</category>
  </item>
  <item>
    <title>C# Cheatsheet - Syntax, LINQ &amp; .NET Core Reference</title>
    <link>https://laohand.com/csharp/</link>
    <guid isPermaLink="true">https://laohand.com/csharp/</guid>
    <description>This reference is for .NET developers building web APIs, services, or desktop apps, focusing on the C# syntax you write every day: classes and interfaces with their access modifiers, LINQ for querying collections instead of hand-written loops, async/await for I/O-bound work, generics and delegates, and the property/event model. Unlike a flat C# feature list, entries are grouped by the language construct and note where C# behavior differs from Java or JS. After reading you should be able to replace a nested loop with a composed LINQ query, set up an async method without deadlocking, and design a type with properties, events and a delegate. · Sections: Classes &amp; Interfaces, Properties &amp; Methods, LINQ Queries · e.g. public class MyClass { }, public interface IMyInterface { void Method(); }, public class Derived : Base, IMyInterface { }</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>csharp</category>
  </item>
  <item>
    <title>C++ Cheatsheet - Syntax, STL Containers &amp; Pointers</title>
    <link>https://laohand.com/cpp/</link>
    <guid isPermaLink="true">https://laohand.com/cpp/</guid>
    <description>This reference is for C++ developers writing applications, games, or libraries, organized around modern C++ — where smart pointers, the STL, and lambdas drastically reduce the manual-lifetime bugs C++ is famous for. It covers classes and objects with their access control, the go-to STL containers and when each fits, smart pointers vs raw new/delete, lambda captures, function and class templates, and exceptions. Unlike a flat C++ feature list, entries are grouped by the construct you are writing and flag RAII-versus-manual-ownership choices. After reading you should be able to reach for std::vector/std::map instead of raw arrays, prefer unique_ptr over naked new, and write a templated function or lambda capture-free of leaks. · Sections: Classes &amp; Objects, STL Containers, Smart Pointers · e.g. class MyClass { public: MyClass(); ~MyClass(); };, struct MyStruct { int x; int y; };, MyClass obj;</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>cpp</category>
  </item>
  <item>
    <title>C Cheatsheet - C Language Syntax &amp; Pointer Reference</title>
    <link>https://laohand.com/c/</link>
    <guid isPermaLink="true">https://laohand.com/c/</guid>
    <description>This reference is for developers writing C for embedded, OS, or performance-critical work, where unlike managed languages you own memory and pointer lifetimes. It covers data types and constants, control flow, pointers and arrays (where the footguns live), functions, manual allocation and freeing, file I/O, and the preprocessor. Entries are grouped by the build block you are working in, with notes flagging where behavior is easy to get wrong. After reading you should be able to decide when to use a pointer vs an array, manage malloc/free without leaks, and encode compile-time logic with #ifdef. · Sections: Data Types &amp; Variables, Control Flow, Pointers &amp; Arrays · e.g. int x = 10;, float pi = 3.14f;, double e = 2.718;</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>c</category>
  </item>
  <item>
    <title>GraphQL Cheatsheet - GraphQL Query Language &amp; API Reference</title>
    <link>https://laohand.com/graphql/</link>
    <guid isPermaLink="true">https://laohand.com/graphql/</guid>
    <description>This reference is for developers designing a GraphQL schema or consuming one from Apollo/URQL/etc. It covers the client-facing vocabulary first — querying exactly the fields you want, mutating data, subscribing to updates, and reusing fragments — then the schema side from the type system and directives to pagination and the introspection __typename. Unlike a generic syntax sheet, items are grouped by the role you are playing in an API conversation. After reading you should be able to shape a precise query with arguments and fragments, declare a type with the right scalar/object fields, and add a connection-style paginated field. · Sections: Query, Mutation, Subscription · e.g. { user { id name } }, { user(id: 1) { name } }, { users { id name posts { title } } }</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>graphql</category>
  </item>
  <item>
    <title>jQuery Cheatsheet - jQuery API &amp; DOM Manipulation Reference</title>
    <link>https://laohand.com/jquery/</link>
    <guid isPermaLink="true">https://laohand.com/jquery/</guid>
    <description>This reference is for developers who maintain older codebases or browser extensions still built on jQuery, covering the API that lives in every such file: selectors, reading and writing DOM content and attributes, class toggling, event binding and delegation, Ajax shorthand, and simple animations. Unlike a flat jQuery API dump, entries are grouped by the interaction they perform — find elements, manipulate them, respond to events, or fetch data. After reading you should be able to chain a selector into DOM edits, delegate events to stay fast on dynamic lists, and replace a page refresh with an Ajax request. · Sections: Selectors, DOM Manipulation, Event Binding · e.g. $(&quot;div&quot;),  $(&quot;.class&quot;), $(&quot;#id&quot;)</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>jquery</category>
  </item>
  <item>
    <title>ES6+ Cheatsheet - ES6+ JavaScript Syntax Reference</title>
    <link>https://laohand.com/es6/</link>
    <guid isPermaLink="true">https://laohand.com/es6/</guid>
    <description>This reference is for JavaScript developers who want to write modern code instead of callback-and-var-era patterns, covering the ES2015+ features that reshaped daily use: let/const block scoping, arrow functions, destructuring, template literals, Promise/async flow, import/export modules, classes, Map/Set, and iterators. Unlike a dry spec list, entries are grouped by the situation each feature fixes — scope confusion, unwieldy callbacks, or verbose object access. After reading you should be able to replace var with block-scoped bindings, flatten nested callbacks with async/await, and structure multi-file projects with import/export. · Sections: Variables &amp; Functions, Destructuring, Asynchronous · e.g. let x = 1, const PI = 3.14, const fn = (x) =&gt; x * 2</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>es6</category>
  </item>
  <item>
    <title>Express.js Cheatsheet - Express Middleware &amp; API Reference</title>
    <link>https://laohand.com/express/</link>
    <guid isPermaLink="true">https://laohand.com/express/</guid>
    <description>This reference is for Node.js developers building REST APIs and web apps on Express, from a small internal service to a full EJS-rendered site. It covers the app/router setup, defining routes with params/query, reading the request and shaping the response, wiring the middleware ecosystem (express.json, static, cors, helmet, morgan, compression), serving EJS views, adding JWT auth, and the async error-handling pattern. Unlike a generic Express snippet list, entries are grouped by the layer of the request lifecycle you are working on. After reading you should be able to stand up an app, mount routers and middleware in the right order, and centralize async error handling instead of scattering try/catch. · Sections: App Setup, Route Definition, Request Object · e.g. const app = express(), app.use(express.json()), app.listen(3000, () =&gt; {})</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>express</category>
  </item>
  <item>
    <title>Laravel Cheatsheet - Laravel Artisan Command Reference</title>
    <link>https://laohand.com/laravel/</link>
    <guid isPermaLink="true">https://laohand.com/laravel/</guid>
    <description>This reference is for developers building Laravel applications and the people deploying them, centering on Artisan, the CLI you run constantly. It covers scaffolding a project, generating models/controllers/migrations, running and rolling back migrations, boosting production with route/config/view caching, and handling background work with the queue. Unlike a generic Artisan command dump, entries are grouped by the workflow you actually repeat: create feature → migrate DB → run locally → cache for prod → queue the heavy work. After reading, you should be able to scaffold a CRUD feature, apply and roll back migrations cleanly, and be confident about what each cache command commits or clears. · Sections: Project &amp; Dev, Database, Routes &amp; Cache · e.g. laravel new project, php artisan serve, php artisan make:model Post -mcr</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>laravel</category>
  </item>
  <item>
    <title>Swift Cheatsheet - Swift &amp; iOS Development Command Reference</title>
    <link>https://laohand.com/swift/</link>
    <guid isPermaLink="true">https://laohand.com/swift/</guid>
    <description>This reference is for Swift developers shipping iOS/macOS apps, command-line tools, or server code, spanning the two toolchains you bounce between: the Swift/SwiftPM CLI and xcodebuild/xcrun simctl. It covers compiling and running scripts, initializing and building Swift packages, building/testing/archiving a scheme, driving simulators, and the syntax idioms (let/var, optional binding, map/filter/reduce) plus debug/assert helpers you reach for daily. Unlike a flat Swift command list, entries are grouped by the actual cycle of compile → test → archive → run on simulator. After reading, you should be able to take a package from swift package init to a passing swift test, and drive an Xcode scheme from the terminal. · Sections: Compile &amp; Run, Swift Package Manager, Xcode CLI · e.g. swift main.swift, swiftc main.swift -o main, swift main.swiftc</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>swift</category>
  </item>
  <item>
    <title>Kotlin Cheatsheet - Kotlin Syntax &amp; Coroutine Reference</title>
    <link>https://laohand.com/kotlin/</link>
    <guid isPermaLink="true">https://laohand.com/kotlin/</guid>
    <description>This reference is for Kotlin developers — on Android, a JVM backend, or experimenting with scripts — and covers the five things you touch constantly: compiling and running with kotlinc/Gradle, null-safety idioms (safe-call, elvis, the non-null assertion), collection operators like filter/map/groupBy, and coroutines for structured concurrency. Unlike a generic Kotlin grammar dump, entries are grouped by the problem each snippet solves, from &quot;avoid the NPE&quot; to &quot;run I/O off the main thread&quot;. After reading, you should be able to write null-safe chains without !! except where intended, transform collections fluently, and launch coroutines scoped so cancellation propagates correctly. · Sections: Compile &amp; Run, Gradle Build, Null Safety · e.g. kotlinc main.kt -include-runtime -d main.jar, java -jar main.jar, kotlinc -script script.kts</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>kotlin</category>
  </item>
  <item>
    <title>Rust Cheatsheet - Rust &amp; Cargo Command Reference</title>
    <link>https://laohand.com/rust/</link>
    <guid isPermaLink="true">https://laohand.com/rust/</guid>
    <description>This reference is for Rust developers — whether you are still wrestling with the borrow checker or shipping a production crate — and centers on Cargo, the toolchain you touch every day. It covers scaffolding projects, building (debug vs release), running binaries, testing, generating docs, running Clippy lints, formatting with rustfmt, and cross-compiling for a target. Unlike a flat list of cargo subcommands, entries follow the workflow you actually repeat: edit → check/build → test → lint → fmt → release. After reading, you should be able to take a fresh crate from cargo new through a clean Clippy + test pass to a release build. · Sections: Project Management, Dependency Management, Testing &amp; Docs · e.g. cargo new project_name, cargo new --lib project_name, cargo init</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>rust</category>
  </item>
  <item>
    <title>PHP Cheatsheet - PHP &amp; Composer Command Reference</title>
    <link>https://laohand.com/php/</link>
    <guid isPermaLink="true">https://laohand.com/php/</guid>
    <description>This reference is for developers writing PHP apps and the people who deploy and operate them, running everything from single scripts to Laravel projects. It covers executing code on the CLI, the built-in dev server, Composer dependency and autoload management, extension/ini checks, and the php -l lint gate. Unlike a generic PHP command dump, entries are grouped by the workflow you actually repeat when scaffolding, debugging, and shipping a PHP application. After reading, you should be able to boot a Composer-based project locally, keep its autoload in sync, and gate merges on a lint pass. · Sections: CLI Run, Composer Dependency, Extensions &amp; Config · e.g. php script.php, php -a, php -S localhost:8000</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>php</category>
  </item>
  <item>
    <title>Java Cheatsheet - Java &amp; JVM Command Reference</title>
    <link>https://laohand.com/java/</link>
    <guid isPermaLink="true">https://laohand.com/java/</guid>
    <description>This reference is for developers writing Spring Boot/WAR apps or operating them in production: from compiling and packing with javac/java/jar, one-command builds with Maven/Gradle, heap sizing with -Xms/-Xmx, G1 GC and GC logging, to grabbing threads and heap with jstack/jmap/jstat when the service stalls. Unlike a generic command list, it is organized around building the service, running it stably, tuning it faster, and debugging its failures. After reading you should be able to complete a build → deploy → GC tune → deadlock hunt cycle on your own. · Sections: Compile &amp; Run, Maven Commands, Gradle Commands · e.g. javac Main.java, java -cp .:lib.jar Main, java -cp &quot;.;lib.jar&quot; Main</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>java</category>
  </item>
  <item>
    <title>NumPy Cheatsheet - NumPy Functions &amp; Array Operations Reference</title>
    <link>https://laohand.com/numpy/</link>
    <guid isPermaLink="true">https://laohand.com/numpy/</guid>
    <description>This reference is for developers who frequently process arrays in Python, from quick data cleaning to embedding matrix math: creating arrays with np.array/np.zeros, pulling out data by index and slice, reshaping, drawing statistics with sum/mean, and matrix multiplication with a @ b. Unlike a bare API manual, entries follow the practical chain of create → select → reshape → compute → save. After reading you should be able to pick the right function for each stage and dodge the most common broadcast and view-vs-copy pitfalls. · Sections: Array Creation, Indexing &amp; Slicing, Shape Manipulation · e.g. np.array([1, 2, 3]), np.zeros((3, 4)), np.ones((2, 3))</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>numpy</category>
  </item>
  <item>
    <title>Go Cheatsheet - Go Syntax &amp; Concurrency Reference</title>
    <link>https://laohand.com/go/</link>
    <guid isPermaLink="true">https://laohand.com/go/</guid>
    <description>This reference is for developers writing Go API services, concurrent workers, or ops tooling, collecting the most common syntax skeletons: variable declarations, loops and branches, functions and defer, struct methods, interfaces, and the goroutine/channel concurrency that is easiest to get wrong. Unlike bare API docs, entries give copy-ready snippets grouped by the problem each solves. After reading you should be able to write concurrency with goroutines + a WaitGroup, abstract dependencies through interfaces, and check errors Go-style with err != nil. · Sections: Variables &amp; Constants, Control Flow, Functions · e.g. var name string = &quot;value&quot;, name := &quot;value&quot;, const Pi = 3.14</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>language</category>
  </item>
  <item>
    <title>JavaScript Cheatsheet - ES6+ Command Reference</title>
    <link>https://laohand.com/javascript/</link>
    <guid isPermaLink="true">https://laohand.com/javascript/</guid>
    <description>This reference serves developers building React/Vue, Node scripts, or any frontend project, focusing on the ES6+ syntax used daily: variables &amp; functions, destructuring, template strings, higher-order array methods, async, and modules. Unlike docs that list APIs by name, entries here are grouped by the problem each snippet solves, so you can copy as you go. After reading you should be able to write block-scoped variables without var, pull values out with destructuring, replace handwritten for loops with map/filter, and tidy up callbacks with async/await. · Sections: Variables &amp; Functions, Destructuring, String &amp; Template · e.g. const name = &quot;value&quot;, let count = 0, const fn = (x) =&gt; x * 2</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>language</category>
  </item>
  <item>
    <title>Python Cheatsheet - Syntax, List, Dict &amp; File Commands</title>
    <link>https://laohand.com/python/</link>
    <guid isPermaLink="true">https://laohand.com/python/</guid>
    <description>This reference is for developers who are new to Python or hop between projects, covering the syntax you reach for most when scripting, processing text and data, and automating small tasks. Unlike API listings, entries are grouped by real usage scenarios (environments, containers, file I/O, exceptions) so you can code directly. By the end you should be able to set up a venv, condense loops into comprehensions, read and write files and JSON safely, and contain runtime errors with try/except. · Sections: Virtual Environment &amp; Package Management, Data Types, List Comprehension · e.g. python3 -m venv venv, source venv/bin/activate, venv\Scripts\activate</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>language</category>
  </item>
  <item>
    <title>SQLite Cheatsheet - SQLite Database Command Reference</title>
    <link>https://laohand.com/sqlite/</link>
    <guid isPermaLink="true">https://laohand.com/sqlite/</guid>
    <description>The choice among embedded databases is narrow: when you want zero operations, a single file you can copy, and backups that amount to copying that file, SQLite is almost always right, at the cost of allowing only one writer at a time. This table groups everything from connecting and basics through table operations, data manipulation, query techniques, indexes and constraints, transactions and locking, import and export with tools, and utility functions and PRAGMA, so the path runs from creating a schema all the way to WAL mode and CSV round-trips. The deciding factor is the concurrency model. If writes come from multiple processes or threads, PRAGMA journal_mode=WAL plus a sensible busy_timeout is mandatory; for a single-process script the better investment is defining types and constraints in the schema so bad data fails at insert time. Reach for it when adding local persistence to a CLI, running a migration, doing one-off analysis, or loading a CSV for querying. The boundary against Postgres or MySQL is plain: with no server process there is no network layer, and the bottleneck is usually writes rather than queries. · Sections: Database Connection &amp; Basics, Table Operations, Data CRUD · e.g. sqlite3 file.db, .open file.db, .databases</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>database</category>
  </item>
  <item>
    <title>Knex.js Cheatsheet - Knex SQL Query Builder Reference</title>
    <link>https://laohand.com/knex/</link>
    <guid isPermaLink="true">https://laohand.com/knex/</guid>
    <description>For Node.js developers who want to write SQL fluently in JavaScript and switch databases without rewriting queries. The value of Knex-transpiled is a chainable API with automatic parameter binding, but you must call .then/await for it to execute and understand when a raw() escape hatch beats the builder. By the end you can build CRUD, joins, and groupBy chains deterministically, wrap multi-statement logic in a transaction with rollback, and confirm the generated SQL with debug/toString. · Sections: Query Data, Insert Data, Update &amp; Delete · e.g. knex(&quot;users&quot;).select(&quot;*&quot;), knex(&quot;users&quot;).select(&quot;name&quot;, &quot;email&quot;), knex(&quot;users&quot;).where(&quot;age&quot;, &quot;&gt;&quot;, 18)</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>database</category>
  </item>
  <item>
    <title>SQL JOIN Cheatsheet - SQL JOIN Query Reference</title>
    <link>https://laohand.com/sql-join/</link>
    <guid isPermaLink="true">https://laohand.com/sql-join/</guid>
    <description>For developers who join tables but still get the row counts wrong. The recurring trap is that a JOIN on a one-to-many parent duplicates parent rows, inflating results unless you dedupe. By the end you can pick INNER vs LEFT by whether un-matched rows should survive, understand the duplication pitfall on one-to-many joins, express candidate-missing conditions with LEFT JOIN ... WHERE ... IS NULL, and choose EXISTS for correlated subqueries. · Sections: INNER JOIN, LEFT / RIGHT JOIN, FULL / CROSS JOIN · e.g. SELECT * FROM users INNER JOIN orders ON users.id = orders.user_id, SELECT u.name, o.total FROM users u JOIN orders o ON u.id = o.user_id, SELECT u.name, o.total FROM users u JOIN orders o ON u.id = o.user_id AND o.status = &apos;paid&apos;</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>database</category>
  </item>
  <item>
    <title>Neo4j Cypher Cheatsheet - MATCH, CREATE &amp; Indexes</title>
    <link>https://laohand.com/neo4j/</link>
    <guid isPermaLink="true">https://laohand.com/neo4j/</guid>
    <description>Neo4j&apos;s advantage over a relational database is not generically that it queries faster, but that relationships themselves are queryable: who is reachable within two hops of a person, what the shortest dependency chain between two nodes is. In a relational model those questions need self-joins across several join tables; in a graph model each is one typed path pattern. This sheet moves from CREATE (a)-[:KNOWS]-&gt;(b) through variable-length patterns like [:KNOWS*1..3], shortestPath, UNWIND, subqueries and percentileCont aggregation, grouped into creating nodes and relationships, matching, WITH and subqueries, updates and deletes, aggregation and ordering, and indexes and constraints. Reach for it while writing a query: decide first whether relationships carry types, because typed patterns beat indiscriminate matching, and always cap path length so a variable-length pattern cannot walk the whole graph. One production rule is not negotiable - create uniqueness constraints before ingesting data, because MERGE cannot remove duplicates that already exist in history. · Sections: Create Nodes &amp; Relationships, Query &amp; Match, WITH &amp; Subqueries · e.g. CREATE (n:Person {name: &quot;Alice&quot;}), CREATE (a:Person)-[:KNOWS]-&gt;(b:Person), CREATE (a:Person {name: &quot;Alice&quot;})-[:KNOWS {since: 2020}]-&gt;(b:Person {name: &quot;Bob&quot;})</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>neo4j</category>
  </item>
  <item>
    <title>MongoDB Cheatsheet - MongoDB Command Reference</title>
    <link>https://laohand.com/mongodb/</link>
    <guid isPermaLink="true">https://laohand.com/mongodb/</guid>
    <description>For backend developers using a document store where reads must stay fast. MongoDB shines at schemaless flexible documents, but that freedom costs you unless you index the fields you filter on. By the end you can design CRUD queries against a collection, read explain(&quot;executionStats&quot;) to confirm an index is used, build an aggregation pipeline with match/group/sort, and know what a replica set guarantees versus what requires sharding. · Sections: Database, Document CRUD, Query Operators · e.g. show dbs, use dbname, db</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>database</category>
  </item>
  <item>
    <title>Redis Cheatsheet - 40+ Commands, Keys &amp; Expire</title>
    <link>https://laohand.com/redis/</link>
    <guid isPermaLink="true">https://laohand.com/redis/</guid>
    <description>For developers using Redis as a cache who must care about memory and TTL strategy. The commands are easy, but big keys blowing up memory, hot keys concentrating load on one node, and cache penetration/avalanche are the real business problems. By the end you can pick the right command per data structure, use INFO memory and object encoding to find top memory consumers, understand the RDB/AOF persistence trade-off, and use SCAN/UNLINK to handle big keys without blocking the instance. · Sections: Connection, Data Structure, Key Space · e.g. redis-cli -h 127.0.0.1 -p 6379 -a password, redis-cli --scan --pattern &quot;user:*&quot;, redis-cli -r 5 -i 1 INFO memory</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>redis</category>
  </item>
  <item>
    <title>PostgreSQL Cheatsheet - PostgreSQL Command Reference</title>
    <link>https://laohand.com/postgresql/</link>
    <guid isPermaLink="true">https://laohand.com/postgresql/</guid>
    <description>For anyone connecting, analyzing queries, or resolving lock issues on PostgreSQL. Its strength is MVCC and a rich type/index ecosystem, but that also brings lock waits, VACUUM, and table bloat unique to it. By the end you can manage roles and databases with psql, use EXPLAIN ANALYZE to see whether cost comes from a sequential scan or an index, locate lock waits and deadlocks in pg_locks, and migrate or restore across instances with pg_dump/pg_restore. · Sections: Connection &amp; Role, Database &amp; Table, Query Analysis · e.g. psql -U postgres -h 127.0.0.1 -p 5432, psql -U postgres -d db_name -c &quot;\dt&quot;, CREATE ROLE app_user WITH LOGIN PASSWORD &apos;secret&apos;;</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>database</category>
  </item>
  <item>
    <title>MySQL Cheatsheet - Queries, Joins, Users &amp; Indexes</title>
    <link>https://laohand.com/mysql/</link>
    <guid isPermaLink="true">https://laohand.com/mysql/</guid>
    <description>For anyone creating databases, optimizing slow queries, or backing up MySQL. The key is not typing CRUD but understanding whether a WHERE hits an index, what EXPLAIN type means, and that DDL and bulk operations can lock tables and stall production. By the end you can use EXPLAIN to judge whether a query uses an index and spot full table scans (type=ALL), grant least-privilege accounts safely, take restorable backup with mysqldump, and recognize where replication can stall. · Sections: Connection &amp; User, Database &amp; Table, Query &amp; Index · e.g. mysql -u root -p -h 127.0.0.1 -P 3306, mysql -u root -p db_name &lt; dump.sql, mysqldump -u root -p --single-transaction db_name &gt; backup.sql</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>database</category>
  </item>
  <item>
    <title>Elasticsearch Cheatsheet - Query DSL &amp; REST API Commands</title>
    <link>https://laohand.com/elasticsearch-commands/</link>
    <guid isPermaLink="true">https://laohand.com/elasticsearch-commands/</guid>
    <description>For operators and search engineers who must keep a cluster green and answer &quot;why is this index slow or unassigned&quot;. The hard part is interpreting health, what drives shard relocation, and ILM policy trade-offs. By the end you can check cluster status, find and diagnose red/unassigned shards, manage index aliases and lifecycle, issue term/range/multi-search queries, and trace slow queries and disk pressure. · Sections: Cluster Status, Shard &amp; Index, Document CRUD · e.g. curl localhost:9200/_cluster/health?pretty, curl localhost:9200/_cat/nodes?v, curl localhost:9200/_cat/health?v</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>search</category>
  </item>
  <item>
    <title>Svelte Cheatsheet - Reactivity, Stores &amp; Slots</title>
    <link>https://laohand.com/svelte/</link>
    <guid isPermaLink="true">https://laohand.com/svelte/</guid>
    <description>For frontend developers who want less boilerplate and a minimal runtime. Svelte compiles reactivity directly into native DOM updates at build time, so the runtime is tiny and there is no virtual-DOM mental model; but it lives on assignment-driven updates, $: recomputation, and Store subscriptions that take getting used to. By the end you can declare reactive state with let and $:, communicate between components via events and dispatch, share cross-component state with Store, and hook into lifecycle and transitions. · Sections: Template Syntax, Reactive Declarations, Components &amp; Props · e.g. { expression }, {@html rawHtmlString}, {#if condition}...{:else if}...{:else}...{/if}</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>frontend</category>
  </item>
  <item>
    <title>Next.js Cheatsheet - Next.js Framework Reference</title>
    <link>https://laohand.com/nextjs/</link>
    <guid isPermaLink="true">https://laohand.com/nextjs/</guid>
    <description>For React developers building full-stack apps who must decide between SSR and SSG. The core of Next.js is not a list of APIs but clarifying who renders on the server, what interacts on the client, and when data goes stale — server components cannot attach onClick, and ISR serves cached data that can lag behind. By the end you can build a practical App Router page and layout, draw the client/server component boundary, weigh static generation vs ISR, and handle middleware and data fetching. · Sections: App Router Basics, Routing &amp; Navigation, Data Fetching · e.g. app/page.tsx, app/layout.tsx, app/loading.tsx</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>frontend</category>
  </item>
  <item>
    <title>Tailwind CSS Cheatsheet - Flex, Grid &amp; Spacing</title>
    <link>https://laohand.com/tailwind-css/</link>
    <guid isPermaLink="true">https://laohand.com/tailwind-css/</guid>
    <description>The hard part of utility-first CSS is not memorizing class names but accepting its constraints: classes live in markup, so variants such as breakpoints, dark mode, and states can only be expressed as prefixes, and class names cannot be assembled at runtime. This table groups everything by layout, flexbox, grid, spacing and sizing, typography, color and background, responsive and interactive states, and borders and effects, and it lays out the pairs people mix up most often, such as gap versus space-x, flex-1 versus grow, and translate utilities versus inset utilities. The judgment test is whether the solution fits an existing component without adding a stylesheet: if a requirement forces custom CSS, more often than not the utility expression has not been found yet. Reach for it when building responsive grids, wiring design tokens for a dark theme, coordinating parent and child states with group-hover and peer, or implementing hover animation and clipping. If you mix it with semantic class names, settle that convention before the component folder doubles in styles. · Sections: Layout, Flexbox, Grid · e.g. container, block / inline-block / inline, hidden</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>frontend</category>
  </item>
  <item>
    <title>HTML Meta Tags Cheatsheet - Meta Tags SEO &amp; Configuration Reference</title>
    <link>https://laohand.com/html-meta/</link>
    <guid isPermaLink="true">https://laohand.com/html-meta/</guid>
    <description>For developers who want their pages to rank, share cleanly, and be safe. Meta tags are invisible yet decide what search engines index, what a link preview shows on WeChat/Twitter, and how the browser treats the page origin. By the end you can wire up title/description and Open Graph for rich link previews, set viewport for mobile, configure theme-color and a PWA manifest, and add basic Content-Security-Policy guidance. · Sections: Document Metadata, SEO, Social Sharing (Open Graph + Twitter) · e.g. &lt;meta charset=&quot;UTF-8&quot;&gt;, &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1&quot;&gt;, &lt;meta name=&quot;description&quot; content=&quot;Page description&quot;&gt;</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>frontend</category>
  </item>
  <item>
    <title>CSS Grid Cheatsheet - Tracks, Areas &amp; Auto-Fit</title>
    <link>https://laohand.com/css-grid/</link>
    <guid isPermaLink="true">https://laohand.com/css-grid/</guid>
    <description>There is only one line between Grid and Flexbox, but crossing it is expensive: control a single axis and use Flex; align rows and columns together and use Grid. Page skeletons, a fixed header plus sidebar and content, or a dashboard of panels, are inherently two-dimensional. Forcing those onto nested Flex containers means three levels of wrappers just to line up columns, and the stylesheet collapses into indirection quickly. Size tracks with fr and minmax rather than percentages: fr shares leftover space in proportion, and minmax(200px, 1fr) gives each column a floor while keeping it flexible, so auto-fit and auto-fill produce responsive behaviour with no media queries at all. Sections cover the container, spacing and alignment, placing and spanning items, explicit and implicit tracks, common patterns, and responsive techniques, including grid-template-areas, which trades a little flexibility for a layout you can read at a glance. Naming tracks and areas with grid-template-areas costs some flexibility and buys a layout a colleague can read without tracing selectors. · Sections: Container Definition, Gap &amp; Alignment, Cells &amp; Spans · e.g. display: grid, display: inline-grid, grid-template-columns: 1fr 2fr 1fr</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>frontend</category>
  </item>
  <item>
    <title>CSS Flexbox Cheatsheet - Flexbox Layout Reference</title>
    <link>https://laohand.com/css-flexbox/</link>
    <guid isPermaLink="true">https://laohand.com/css-flexbox/</guid>
    <description>For developers who have fought with floats or inline-block for centering and equal-width rows. Flexbox is the modern way to lay out a single row or column quickly. The recurring confusion is that Flexbox is one-dimensional and that justify-content and align-items act on different axes. By the end you can center anything, build a toolbar and a wrapping card row, and control item sizing with flex-grow/flex-shrink/flex-basis without trial and error. · Sections: Container Properties, Gap &amp; Main-axis Alignment, Cross-axis Alignment · e.g. display: flex, display: inline-flex, flex-direction: row</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>frontend</category>
  </item>
  <item>
    <title>Sass/SCSS Cheatsheet - Sass Syntax &amp; Mixin Reference</title>
    <link>https://laohand.com/sass/</link>
    <guid isPermaLink="true">https://laohand.com/sass/</guid>
    <description>Once a stylesheet fills with repeated declarations, Sass earns its place by extracting values and fragments rather than by nicer syntax. Scales go into variables and Maps, colour maths into functions, repeated declaration sequences into mixins, and reusable selector blocks into % placeholders consumed by @extend. Pick SCSS over the indented syntax because SCSS is a superset of CSS and existing files convert cleanly, and load modules with @use rather than @import, since repeated imports measurably slow compilation. Sections cover variables and arithmetic, Maps and colour functions, nesting, mixins and inheritance, functions and loops, conditionals, and module imports. The judgement rule is simple: if a change should land in exactly one place, extract a variable or mixin; if any selector may reuse the block, reach for @extend; if the fragment needs parameters or logic, it has to be a mixin. Check how much duplicated selector output each choice leaves behind before combining them. · Sections: Variables &amp; Operations, Maps &amp; Color Functions, Nesting · e.g. $primary: #6366f1, color: $primary, $primary: #6366f1 !default</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>sass</category>
  </item>
  <item>
    <title>Emmet Cheatsheet - Emmet Abbreviation &amp; Syntax Reference</title>
    <link>https://laohand.com/emmet/</link>
    <guid isPermaLink="true">https://laohand.com/emmet/</guid>
    <description>Emmet works by parsing a short abbreviation into a tree and expanding it into text, which means it shines on regular, predictable markup: navigation items, table rows, form fields, bulk class and id names. Whenever the structure follows a pattern, something like ul&gt;li*6&gt;a saves a dozen typed lines. The moment the structure stops being regular is the moment to stop typing abbreviations and write the tags directly, since Emmet accelerates markup, it does not replace understanding it. Sections cover basic HTML tags and attributes, common page structures such as headers, lists, tables and forms, CSS shorthands, and nesting with multiplication. Two habits matter while writing: the $ placeholder parks the cursor where a value belongs and repeated Tab jumps through them, and a hyphen inside a CSS abbreviation separates value groups, so m10-20 expands to a two-value margin rather than something you have to look up. Multiplication and numbering compose, so a table body, a nav bar or a form grid can be produced from one line and edited from there. · Sections: HTML Basics, Common HTML Structures, CSS Shorthand · e.g. ! or html:5, div#app, div.container</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>emmet</category>
  </item>
  <item>
    <title>CSS3 Cheatsheet - CSS3 Properties &amp; Layout Reference</title>
    <link>https://laohand.com/css3/</link>
    <guid isPermaLink="true">https://laohand.com/css3/</guid>
    <description>Most CSS pain is not about forgetting property names. It is about not knowing which declaration won the cascade, why a computed width disagrees with the design file, and whether a layout problem belongs to Flexbox or Grid. So this sheet starts with selector specificity and the box model, including border-box and margin collapsing, then draws a firm line between the two layout systems: one axis means Flex, simultaneous row and column control means Grid, and anything out of normal flow means positioning. Visual and motion sections cover gradients, shadows, transitions and keyframes before the responsive breakpoints land at the end. What matters more than any single rule is the reasoning behind the choice, for example knowing that justify-content works on the main axis while align-items works on the cross axis, and reaching for fr and minmax rather than hard-coded percentages when sizing Grid tracks. Custom properties extend the same logic to runtime theming, so a colour or spacing decision can live in one token rather than being repeated per selector. · Sections: Selectors, Box Model, Layout · e.g. .class, #id, div p</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>frontend</category>
  </item>
  <item>
    <title>HTML Cheatsheet - HTML Tags &amp; Attributes Reference</title>
    <link>https://laohand.com/html/</link>
    <guid isPermaLink="true">https://laohand.com/html/</guid>
    <description>When you hand-write a page, HTML decides who can understand the document: search engines weigh content by tag hierarchy, screen readers follow DOM order, and both signals get flattened by a pile of nameless divs. This table groups tags by document structure, text formatting, lists, links and images, tables, forms, and semantic elements, listing for each one its default behavior, its useful attributes, and the situations where it does not belong. Judge a choice with three questions: does the element still explain the structure without CSS, can search engines index it on its own, and can keyboard and screen reader users reach it. Reach for it when building a landing page without any framework, wiring native form validation and label associations, marking up table headers and scopes correctly, or producing an email template where you must control the markup by hand. The contrast with React or Vue is not syntax but responsibility: a framework renders one component, this table governs the skeleton of the whole document and its accessibility baseline. · Sections: Document Structure, Text Formatting, Lists · e.g. &lt;!DOCTYPE html&gt;, &lt;html lang=&quot;zh-CN&quot;&gt;, &lt;head&gt;...&lt;/head&gt;</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>frontend</category>
  </item>
  <item>
    <title>SSH Cheatsheet - SSH Connection &amp; Configuration Command Reference</title>
    <link>https://laohand.com/ssh/</link>
    <guid isPermaLink="true">https://laohand.com/ssh/</guid>
    <description>For developers and ops who want passwordless login, hop through bastion hosts into the internal network, or map a remote port to localhost for debugging. The value of SSH lies in reusing keys and config: pin frequently used Hosts, jump hosts, and port forwards into ~/.ssh/config instead of retyping long argument sets each time. By the end you can generate and correctly permission a key pair for passwordless login, hop through bastions with ProxyJump, and expose a remote service on localhost with -L for debugging. · Sections: Connection &amp; Auth, Key Management, Config File ~/.ssh/config · e.g. ssh user@host, ssh -p 2222 user@host, ssh -i ~/.ssh/id_ed25519 user@host</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>curl Cheatsheet - curl HTTP Debugging Command Reference</title>
    <link>https://laohand.com/curl/</link>
    <guid isPermaLink="true">https://laohand.com/curl/</guid>
    <description>For developers who need to hit APIs from the shell, reproduce production issues, and see a full HTTP round trip. Browsers cannot express custom headers, POST bodies, or relaxed TLS checks, so curl is the way to take full control of what a request looks like. By the end you can declaratively build requests with bodies/headers/cookies, break down DNS/connect/TTFB timing with -w to find where slowness lives, and use -v to inspect the TLS handshake and redirect chain. · Sections: Basic Requests, Debugging &amp; Details, Proxy &amp; Timeout · e.g. curl https://example.com, curl -X POST https://api.example.com, curl -H &quot;Content-Type: application/json&quot; -H &quot;Authorization: Bearer xxx&quot; https://api.example.com</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>curl</category>
  </item>
  <item>
    <title>PowerShell Cheatsheet - PowerShell Command Reference</title>
    <link>https://laohand.com/powershell/</link>
    <guid isPermaLink="true">https://laohand.com/powershell/</guid>
    <description>Most Windows scripting trouble comes from treating PowerShell as cmd: the pipeline carries objects, but you are concatenating text, so Where-Object and Sort-Object never get used. This table walks through basic commands, files and directories, content manipulation, pipelines and filtering, processes and services, networking and remoting, script authoring, and system administration, flagging where each command diverges from its Linux counterpart. The rule of thumb is whether output stays consumable: if Select-Object can pull a property, Where-Object can keep filtering; if you have to regex the text, you picked the wrong command. Reach for it when writing deployment or health-check scripts, bulk renaming or re-encoding files, diagnosing why a service will not start, or running one fix across dozens of machines. The boundary with bash is sharp: separators, line endings, and default encodings are all Windows-specific, and mixing shells produces results nobody can explain from the output alone. · Sections: Basic Commands, File &amp; Directory, Content Operations · e.g. Get-Command, Get-Help Get-Process, Get-Member</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>sysops</category>
  </item>
  <item>
    <title>Terraform Cheatsheet - Infrastructure as Code Command Reference</title>
    <link>https://laohand.com/terraform/</link>
    <guid isPermaLink="true">https://laohand.com/terraform/</guid>
    <description>The Terraform rhythm is fixed: plan to see the diff, apply to commit, destroy with real care. Everything else follows from the state file, which records how declared resources map to real ones and acts as the source of truth for the tool. Lose the state and the next plan proposes recreating everything; drift between state and reality can trigger unexpected replacement. That is why shared workspaces belong on a remote backend with locking enabled. Sections cover the core workflow, state management, variables and outputs, modules, remote backends, advanced features, and debugging. A few rules hold up in practice: pass secrets as variables or mark them sensitive rather than inlining them, keep state out of Git because it carries credentials, and run terraform fmt so reviews stay readable. When something looks wrong, state list and state show come first, and refresh-only is the smallest tool for correcting drift. Import turns an existing hand-built resource into a managed one without destroying anything, which is the safe first step when adopting Terraform on a live stack. · Sections: Core Workflow, State Management, Variables &amp; Outputs · e.g. terraform init, terraform plan, terraform apply</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>cicd</category>
  </item>
  <item>
    <title>cron Cheatsheet - Cron Expression &amp; Job Scheduling</title>
    <link>https://laohand.com/cron/</link>
    <guid isPermaLink="true">https://laohand.com/cron/</guid>
    <description>The syntax of a scheduled job is five fields plus three symbols, learnable in ten minutes. What actually blocks people is the environment and the ownership after the job starts. Cron does not run in your terminal environment: PATH usually contains three directories, so every alias and every path added by pyenv or nvm is missing, and the job silently produces nothing or reports command not found. The second trap is user context - a job in /etc/cron.d/ runs with the permissions of that file, a job in a crontab runs as the crontab owner, and the same command behaves differently in each place. This sheet covers field syntax and shortcuts such as @daily and @reboot, the system-level directories, user-level crontab commands, environment configuration, output redirection and a debugging order. Reach for it when a job is confirmed to have fired but produced no artefact: grep syslog to confirm dispatch, then check the daemon with systemctl status cron, and if both are empty the crond daemon itself never ran. Always redirect to a file explicitly, because MAILTO is empty on most cloud machines. · Sections: Schedule Format, Special Strings, System Cron · e.g. * * * * * command, */15 * * * *, 0 */2 * * *</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>rclone Cheatsheet - Cloud Storage Sync, Copy &amp; Check</title>
    <link>https://laohand.com/rclone/</link>
    <guid isPermaLink="true">https://laohand.com/rclone/</guid>
    <description>rclone speaks to S3, object stores, cloud drives and plain local directories with one command set. Setup means defining named remotes, after which every path is written as remote:path. The part that needs judgement is verb semantics: copy adds without removing, sync makes the destination identical to the source and deletes whatever is extra there, and move also removes the local side. Mis-picking sync is often irreversible, so run --dry-run first, review the file list, then add -v or --stats to watch throughput while it runs. The sheet groups remote configuration, browsing and listing, sync and copy, include and exclude rules, mounting and serving, and crypt plus checksum options. Mounting depends on a fuse implementation, and random writes against a mounted remote generally need --vfs-cache-mode set appropriately. Throttling with --bwlimit and --transfers keeps a backup from saturating an office link, checksum verification catches silent corruption, and serve or mount expose a remote as a local path when downstream tools cannot speak the protocol natively. · Sections: Config &amp; Connect, Browse &amp; List, Sync &amp; Copy · e.g. rclone config, rclone config show, rclone listremotes</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>Fish Shell Cheatsheet - Functions &amp; Aliases</title>
    <link>https://laohand.com/fish-shell/</link>
    <guid isPermaLink="true">https://laohand.com/fish-shell/</guid>
    <description>Fish ships with highlighting, completion and fuzzy history search enabled out of the box, so the gap to Bash is less about features and more about zero setup. The real cost of switching is syntax. Blocks close with end instead of fi or done, variables are set rather than exported, list indexing starts at 1, and string handling leans on command substitution where Bash uses pipes. Interaction is mostly muscle memory, but scripts are where migrations break, because .bashrc fragments copied verbatim tend to fail in confusing ways. This sheet is organised as a translation table: variable scope, control flow, functions and abbreviations, string and pipeline idioms, configuration and themes, then history and key bindings. Use it to convert a Bash habit into its Fish equivalent instead of guessing, or to decide when wrapping the command in sh -c is the saner option. Anything with a shebang and strict POSIX assumptions still belongs in /bin/sh rather than being ported, so judge per script instead of per shell. · Sections: Variables &amp; Scope, Control Flow, Functions &amp; Aliases · e.g. set name &quot;John&quot;, echo $name, set -x PATH /usr/local/bin $PATH</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>Vagrant Cheatsheet - VM Init, Up, SSH &amp; Provisioning</title>
    <link>https://laohand.com/vagrant/</link>
    <guid isPermaLink="true">https://laohand.com/vagrant/</guid>
    <description>Vagrant reduces to one promise: write how the environment is built into a Vagrantfile, and vagrant up reproduces the same machine on anyone laptop. The lifecycle commands are not the hard part. What actually breaks are three things: pinning the box version, choosing a synced folder type, and understanding exactly when provision scripts run. This table groups those configuration points alongside the lifecycle commands, covering box management, Vagrantfile settings, networking and synced folders, multi-machine definitions, and snapshots. Reach for it when inheriting a Vagrantfile that will not boot, when sharing an environment with a new teammate, when Windows file watching makes the default shared folder painfully slow, or when you need several machines up together for integration work. The test of a good definition is destructiveness: if destroy followed by up reproduces an equivalent machine, the setup is genuinely portable rather than accidentally working. · Sections: VM Lifecycle, Box Management, Vagrantfile · e.g. vagrant init ubuntu/jammy64, vagrant up, vagrant ssh</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>Ansible Cheatsheet - Playbook, Modules &amp; Ad-Hoc Commands</title>
    <link>https://laohand.com/ansible/</link>
    <guid isPermaLink="true">https://laohand.com/ansible/</guid>
    <description>Ansible&apos;s defining trait is that it installs no agent on managed machines and executes everything over SSH, which sets its boundary precisely: if you can SSH to it, you can manage it, across clouds, datacenters and ephemeral containers alike. The second trait is module idempotence - running the same task twice should change nothing - which is what makes it safe to re-run, and what separates it fundamentally from batch shell scripting, where a second pass often breaks things because no state is inspected. This sheet covers core commands, ad-hoc commands, common modules, playbook structure, variables and templates, inventory management, and roles with best practices. Reach for it by starting from an ad-hoc one-liner to prove connectivity, then promoting it into a playbook; before any change, dry-run with --check, or validate syntax alone with --syntax-check. Roles are where team collaboration turns: variables in defaults, reusable tasks in roles, secrets in ansible-vault - get those three right and a playbook becomes safe for someone else to edit. · Sections: Core Commands, Ad-hoc Commands, Common Modules · e.g. ansible all -m ping, ansible-playbook site.yml, ansible-galaxy init myrole</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>GnuPG Cheatsheet - GPG Encrypt, Sign &amp; Key Management</title>
    <link>https://laohand.com/gnupg/</link>
    <guid isPermaLink="true">https://laohand.com/gnupg/</guid>
    <description>Everyday GPG collapses into four actions: generate a keypair, hand your public key over, let the other side encrypt with it, and decrypt or sign with your private key. What actually breaks is rarely the commands and almost always the key material, since a lost private key is unrecoverable and an unverified imported key may have been swapped in transit. So the first habit after generation is to export a backup, and the first habit after import is to check the fingerprint against a channel you trust. This sheet walks the full chain through key generation and management, import and export, encryption and decryption, signing and verification, trust and key servers, and Git signing. Two more habits pay off repeatedly: pass --armor for text-safe output you can paste into an email, and rely on gpg-agent to cache the passphrase so you are not retyping it for every message. Pinning the fingerprint through trustedchannels is what upgrades an imported key from merely present to genuinely trusted. · Sections: Key Generation, Import &amp; Export, Encrypt &amp; Decrypt · e.g. gpg --full-generate-key, gpg --quick-generate-key &quot;Name &lt;email&gt;&quot;, gpg --list-keys</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>Zsh Cheatsheet - .zshrc, Aliases &amp; Completion</title>
    <link>https://laohand.com/zsh/</link>
    <guid isPermaLink="true">https://laohand.com/zsh/</guid>
    <description>After switching the default shell, the speedup does not come from syntax — it comes from smarter completion, prefix-aware history search, and a prompt that doubles as a status display. The sheet is organised around the seven parts of .zshrc people keep editing: base options, variables and arrays, globbing and expansion, history, functions and completion, prompt customisation, and oh-my-zsh with plugins. A few gotchas are called out: zsh arrays index from 1 while bash arrays index from 0, which is the most common source of breakage when porting scripts. setopt AUTO_CD lets you hit enter on a directory name, and pairs with AUTO_PUSHD to turn cd - into a jump list. EXTENDED_GLOB is what makes ** genuinely recursive rather than one level deep. Binding the arrow keys to history-search-backward turns them from a time scrollbar into a prefix search over past commands. On oh-my-zsh, remember it adds measurable startup cost, so cherry-pick plugins on production boxes. · Sections: Basic Setup, Variables &amp; Arrays, Globbing &amp; Expansion · e.g. chsh -s $(which zsh), source ~/.zshrc, echo $SHELL</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>FFmpeg Cheatsheet - Video, Audio &amp; Format Conversion</title>
    <link>https://laohand.com/ffmpeg/</link>
    <guid isPermaLink="true">https://laohand.com/ffmpeg/</guid>
    <description>Day-to-day ffmpeg is a lookup from intent to flags. Need it fast, copy the streams with -c copy and skip re-encoding entirely. Need a different container, still copy, because the codec is unchanged and only the wrapper moves. Need a smaller file, actually encode with libx264 and steer quality with -crf. Need content changes, add a filter graph, and accept that this forces real decoding so copy is no longer an option. Placement of flags causes most surprises: -ss before -i seeks to a keyframe quickly but imprecisely, while after -i it decodes precisely and costs time. A -1 in a scale filter means compute that dimension from the aspect ratio. When you only want one stream, -vn and -an drop the other. Groups cover conversion, trimming, stream extraction, compression, watermarks and subtitles, audio work, screen recording and streaming. Streaming input straight from a URL works too, which matters when you want a slice of a long recording without downloading all of it first. · Sections: Format Conversion, Trim &amp; Crop, Extract &amp; Separate · e.g. ffmpeg -i input.mp4 output.avi, ffmpeg -i input.mp4 -c:v libx264 output.mp4, ffmpeg -i input.mp4 -c:v libx265 output.mp4</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>taskset Cheatsheet - CPU Affinity &amp; Core Pinning Guide</title>
    <link>https://laohand.com/taskset/</link>
    <guid isPermaLink="true">https://laohand.com/taskset/</guid>
    <description>taskset answers one question: which CPUs is this process allowed to run on. Three situations call for it. Latency spikes that do not come with high CPU utilisation, often caused by a multi-threaded process migrating across physical cores or touching memory on a remote NUMA node. Benchmark runs where you want to measure the code rather than the scheduler. And shared machines where pinning your workload to idle cores keeps a noisy neighbour from starving it. The mechanism is narrow, it just rewrites the task CPU affinity mask, which is why you can confirm the result at any time by reading Cpus_allowed_list from /proc/&lt;pid&gt;/status or from jobs -l. Pinning is not automatically faster: too few cores cuts parallelism, and pinning only the main thread of a threaded process achieves little, so the sheet lines up list format, hex masks, retargeting running processes, NUMA commands and the isolcpus kernel parameter for comparison. · Sections: Basic Usage, CPU Mask &amp; List Format, Pin Running Processes · e.g. taskset -p &lt;pid&gt;, taskset -c -p &lt;pid&gt;, taskset -c 0,1 &lt;command&gt;</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>taskset</category>
  </item>
  <item>
    <title>netcat Cheatsheet - Port Scan, Listen &amp; Netcat Examples</title>
    <link>https://laohand.com/netcat/</link>
    <guid isPermaLink="true">https://laohand.com/netcat/</guid>
    <description>When you need to know whether a port answers, netcat gives you the shortest path: nc -zv host 80 returns per-port results, and adding -w bounds the wait so a black-holed host cannot hang the check. Its limits matter just as much. nc moves bytes over TCP or UDP without understanding the protocol above them and without encrypting anything. Reading an HTTP response header is fine; moving credentials through it is not, and that traffic belongs on SSH or TLS. Version drift causes the rest of the confusion, since the nc shipped on macOS is the BSD variant with a different flag set, and the OpenBSD build has no -e, pushing you to ncat or socat for shell binding and forwarding. Sections cover connection tests and port checks, file and data transfer, listening, proxying and forwarding, banner grabbing and protocol debugging, advanced options, and alternatives. A useful habit is to escalate from TCP connect to an actual protocol request, since an open port only proves a listener exists, not that the service answers correctly. · Sections: Connectivity Test &amp; Port Scan, File &amp; Data Transfer, Port Listening · e.g. nc -zv host 80, nc -zv host 80 443 8080, nc -zv host 1-1000</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>netcat</category>
  </item>
  <item>
    <title>SCP &amp; Rsync Cheatsheet - File Transfer &amp; Remote Copy</title>
    <link>https://laohand.com/scp-rsync/</link>
    <guid isPermaLink="true">https://laohand.com/scp-rsync/</guid>
    <description>Two commands, one job, and the difference decides how much time and bandwidth you lose when the link wobbles. scp always ships the whole file: change one byte and every byte is retransmitted, and an interrupted transfer has no resume point. On a LAN that costs nothing; over a WAN with a 2 GB artifact it can cost you the download twice. rsync computes a rolling checksum, transfers only changed blocks, and approximates resume when --partial keeps the partial file and --append-verify grows it under verification. The trailing slash is the other difference that quietly decides whether you end up with an extra nesting level: src/ syncs the contents of a directory, src syncs the directory itself. The decision rule is short: a one-off single file is faster with scp because the command is short and macOS ships it; anything recurring — directory sync, deploys, scheduled backups — is rsync. In both cases adding -o ServerAliveInterval stops middleboxes from silently killing a long transfer. · Sections: scp Basics, rsync Basics, rsync Incremental · e.g. scp file user@host:/path, scp user@host:/path/file ., scp -r dir user@host:/path</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>wget Cheatsheet - Download, Resume &amp; Mirror Commands</title>
    <link>https://laohand.com/wget/</link>
    <guid isPermaLink="true">https://laohand.com/wget/</guid>
    <description>In scripts, what determines whether a download works is not the transfer itself but what happens after it fails, and wget handles that far better than a browser does. The centrepiece is -c: re-running the same command after an interruption sends a Range header and resumes from the last received byte, which is the difference between success and failure on multi-gigabyte artifacts and mirror syncs. Pair it with --tries and --wait to bound retries, --timeout to avoid hanging on a dead connection, and --retry-on-http-error so recoverable 503s and 429s re-enter the retry loop. The recursive group covers -r depth, -np to stay off parent directories, -A and -R filtering, and -e robots=off. The curl boundary is worth drawing: curl wins for a one-shot fetch whose output should flow into a pipeline, while wget is right when you need resume, recursion, mirroring, or a finished file on disk. Whichever you pick, in unattended jobs the first thing to run out is local disk space, not bandwidth. · Sections: Basic Download, Resume, Recursive · e.g. wget URL, wget -O filename URL, wget -P /path/to/dir URL</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>top &amp; htop Cheatsheet - Process Monitoring &amp; Load</title>
    <link>https://laohand.com/top/</link>
    <guid isPermaLink="true">https://laohand.com/top/</guid>
    <description>Load Average on top is the first number everyone reads and the least reliable one. It counts tasks that are runnable or in uninterruptible sleep, so a process wedged on disk shows up as &quot;busy&quot; even when the CPU sits idle. Judge load by correlating three things: the %us and %sy split, the process column re-sorted by CPU, and the presence of D-state entries that point at storage rather than compute. This sheet covers interactive sort keys (P, M, %CPU, %MEM), the fields worth watching in the memory and swap lines, and batch usage such as top -b -n1 for a single sample and top -H for per-thread views, which makes it possible to diff two snapshots instead of eyeballing a moving screen. An htop section sits alongside for tree views, filtering and key-driven navigation. When the question is a slow trend rather than a slow minute, cross-check with vmstat or pidstat rather than refreshing. · Sections: top Basics, top Interactive, top Sort &amp; Display · e.g. top, top -d 5, top -p 1234</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>ps Cheatsheet - Filters, Columns &amp; Process Tree</title>
    <link>https://laohand.com/ps/</link>
    <guid isPermaLink="true">https://laohand.com/ps/</guid>
    <description>Locating a process, finding what is eating memory, or obtaining a PID to pass to kill almost always starts with ps. The sheet is organised into basic viewing, filtering, custom output, process trees, threads and common scenarios, and its central concern is the difference between the BSD and System V dialects. ps aux reports user, PID, CPU%, memory%, VSZ, RSS, TTY, state and command, while ps -ef selects all processes with -e and prints a full-format line; both see everything, but the columns differ. Choosing one and staying with it matters more than learning both. To find memory consumers use --sort=-%mem, and the trap to avoid is confusing RSS with VSZ: RSS is resident memory in kilobytes, mixing them is the main source of wrong answers to &quot;how much is this using&quot;. Process trees expose parent-child relationships, and a zombie in state Z cannot be killed, so the parent must be dealt with or the host restarted. · Sections: Basic View, Filter, Custom Format · e.g. ps, ps aux, ps -ef</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>grep Cheatsheet - Linux Text Search Reference</title>
    <link>https://laohand.com/grep/</link>
    <guid isPermaLink="true">https://laohand.com/grep/</guid>
    <description>Fishing an error out of a log, finding every reference to an identifier, or testing a condition in a script all reduce to searching lines by pattern, and four flags cover most of it: -r, -i, -C n for context, and -E for extended regex. Mastering those four dissolves the most common complaint about grep — finding the match but missing the context around it. The sheet spans basic search, recursion, regular expressions, context, multiple patterns and common patterns. The multi-pattern group gives the escape hatches worth knowing: repeating -e, reading patterns from a file with -f, and constraining the file set with --include and --exclude. One performance note: sweeping node_modules, .git or dist without filtering makes --exclude-dir a requirement rather than an optimisation. The regex dialect trap matches sed: under BRE, +, ? and | need escaping unless you pass -E. The boundary is drawn in the scenario group: grep filters lines, awk aggregates columns, and rg respects .gitignore. · Sections: Basic Search, Recursive, Regular Expression · e.g. grep &quot;pattern&quot; file, grep -i &quot;pattern&quot; file, grep -v &quot;pattern&quot; file</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>sed Cheatsheet - Linux Text Editing Reference</title>
    <link>https://laohand.com/sed/</link>
    <guid isPermaLink="true">https://laohand.com/sed/</guid>
    <description>sed has two pillars: the s/// substitution and the address that decides which lines it applies to, and combining them expresses &quot;change this fragment only inside those lines&quot;. The sheet maps onto six recurring tasks — bulk-editing config values, dropping blank or comment lines, inserting before or after a line, printing only matches, writing regular expressions that mean what you intended, and flattening multi-line structures. The thing worth defending against is an unrecoverable mistake: sed -i rewrites the original with no confirmation, so run once without -i, read the output, then commit with -i.bak. The regex group hides a dialect trap — both BSD and GNU sed default to BRE, where +, ? and | must be escaped or you switch with -E. The division of labour is simple: sed rewrites content, awk reshapes structure, grep filters lines; and macOS sed -i demands a backup suffix while Linux accepts a bare -i. · Sections: Substitute, Delete, Insert &amp; Append · e.g. sed &apos;s/old/new/&apos; file, sed &apos;s/old/new/g&apos; file, sed &apos;s/old/new/2&apos; file</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>awk Cheatsheet - Linux Text Processing Reference</title>
    <link>https://laohand.com/awk/</link>
    <guid isPermaLink="true">https://laohand.com/awk/</guid>
    <description>Logs and reports share one trait — one field per line — and awk&apos;s strength is working on columns: counting status codes in an access log, summing values per user, joining files on a key. One awk program replaces a Python script here. The sheet runs from basic syntax through built-in variables, conditionals, statistics, string functions and common scenarios, forming the complete skeleton: a pattern plus an action per line, with BEGIN and END blocks. Built-in variables come first because everything depends on them: FS splits input, OFS separates output, NR is the global record number and NF the field count. The statistics group rests on associative arrays: count[$9]++ tallies by field value and sum[group]+=value accumulates by group, and with an END block they produce a finished report. The division of labour: sed rewrites lines without understanding columns, awk understands columns and can aggregate, and cut extracts but computes nothing. · Sections: Basic Syntax, Built-in Variables, Conditionals · e.g. awk &apos;{print $1}&apos; file, awk -F: &apos;{print $1, $3}&apos; /etc/passwd, awk &apos;{print $1, $NF}&apos; file</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>screen Cheatsheet - Terminal Session Manager Reference</title>
    <link>https://laohand.com/screen/</link>
    <guid isPermaLink="true">https://laohand.com/screen/</guid>
    <description>Losing a compile or a long interactive process when SSH drops is always the same mistake: the program lives inside the network connection instead of beside it. screen and tmux both add a local session layer so work outlives the wire, and this sheet covers screen because it ships with essentially every distribution and macOS, and because its model is small enough to learn in one pass: screen -S name to create, Ctrl-a d to detach, screen -r name to reattach. The window and split groups cover creation, switching and vertical or horizontal division with Ctrl-a S and Ctrl-a |. Copy mode is where newcomers stall, because screen has no system-level selection: Ctrl-a [, mark the region, y to copy, Ctrl-a ] to paste. Pick tmux when you want plugins, scripted layouts or a shared session; pick screen when installing it is out of scope, or to take over a legacy session quickly. · Sections: Session Management, Windows, Split Screen · e.g. screen -S name, screen -ls, screen -r name</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>netstat Cheatsheet - Linux Network &amp; Ports</title>
    <link>https://laohand.com/netstat/</link>
    <guid isPermaLink="true">https://laohand.com/netstat/</guid>
    <description>Three questions dominate operations: is this port open, who is connected to me, who is sitting on that socket. netstat answers them by laying out four kernel tables at once — established sockets, listeners, the routing table and per-protocol counters. The three flags combine in ways worth memorising: -l restricts output to listeners, -n suppresses name resolution (which costs runtime and turns 10.0.0.1 into a counter-intuitive hostname), and -p attaches the owning process. For routine checks, -tlnp answers everything in one line. The state-filtering group turns output into a diagnostic instrument: a pile of TIME_WAIT means short connections by the thousand, a SYN_RECV backlog suggests SYN flood or a full accept queue, and accumulating CLOSE_WAIT is an application bug that never closed the peer handle. The routing group answers which interface traffic leaves by, which beats guessing at IP addresses. The final group points at ss and ip as faster replacements, with netstat kept for older scripts. · Sections: View Connections, Listening Ports, Routing Table &amp; Interface Stats · e.g. netstat, netstat -a, netstat -at</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>network</category>
  </item>
  <item>
    <title>lsof Cheatsheet - Linux Process &amp; Port Diagnostics Reference</title>
    <link>https://laohand.com/lsof/</link>
    <guid isPermaLink="true">https://laohand.com/lsof/</guid>
    <description>Occupied ports, locked files, a full disk with no large file in sight — all three share one question: which process holds this resource. The sheet is organised along four axes: by process to expand a known PID into its open files and sockets, by port to go the other direction, by file to find its holders, and by type for pipes and memory maps. The least appreciated entry is +L1 under troubleshooting: a deleted file that is still open keeps consuming disk, df will never show it, and only lsof +L1 finds the process holding the dead inode. The division of labour is worth stating — ss and netstat are faster but network-only, fuser can kill directly with -k but gives no connection detail, and /proc is ground truth only if you assemble it yourself. Reach for it when an application reports Address already in use, a log file cannot be written, or umount reports device busy. Budget for permissions: without root you see only your own descriptors, and half a process table is worse than none because it invites false conclusions. · Sections: By Process, By Port, By File · e.g. lsof -p 1234, lsof -c nginx, lsof -c /^nginx/</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>find Cheatsheet - Linux File Search Reference</title>
    <link>https://laohand.com/find/</link>
    <guid isPermaLink="true">https://laohand.com/find/</guid>
    <description>locate answers from a prebuilt index and is fast but stale; find computes on every run and is slower but authoritative, and it is the only one that can filter by size, age or permission bits and then act on what it finds. The sheet spans six filter dimensions plus an actions group: -iname for case-insensitive matching, -type to separate directories from files and symlinks, -size +100M, -mtime -1, permission bitmasks, and ownership cleanup. The actions group is what find cannot be replaced for: -exec feeds matches one at a time, -exec ... + batches them to amortise process startup, and -delete removes them directly. The judgement calls matter more than the flags: find follows symlinks by default and imposes no depth limit, so on a large tree it needs -maxdepth and -prune to finish in reasonable time. Boolean ordering is the other trap, since expressions like -prune -o -print rely on short-circuit evaluation and print the wrong set when reordered. Run a plain -print pass before adding -delete; it is the only insurance that operation has. · Sections: By Name, By Type, By Size · e.g. find . -name &quot;file.txt&quot;, find . -iname &quot;file.txt&quot;, find . -name &quot;*.log&quot;</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>chmod Cheatsheet - Linux File Permission Reference</title>
    <link>https://laohand.com/chmod/</link>
    <guid isPermaLink="true">https://laohand.com/chmod/</guid>
    <description>A permission failure usually announces itself as one line - Permission denied - while the real cause might be a wrong bit order, a directory missing execute, a mismatched group, or an umask silently rewriting the defaults of every new file. Once owner, group and others are understood as a triple of permission sets, plus the SUID, SGID and sticky special bits, the nine characters printed by ls -l stop being runes and become an expression you can do arithmetic on. This sheet shows numeric and symbolic modes side by side for the same permissions, states which position each one lands on, and gives the special bits their own section because they do not change who may read or write - they change how permission is granted. SUID makes a program run as the file owner, SGID makes new files in a directory inherit its group, and sticky restricts deletion to the owner. Reach for it when chmod +x still fails, a log directory refuses writes, SSH rejects a private key, or a container reports owner 1001. It is less expressive than ACLs, but it is the most portable form and the only one Docker COPY and deploy scripts honour. · Sections: Permission Bits, Numeric Mode, Symbolic Mode · e.g. r (read), w (write), x (execute)</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>sysops</category>
  </item>
  <item>
    <title>OpenSSL Cheatsheet - OpenSSL Certificate &amp; Encryption Reference</title>
    <link>https://laohand.com/openssl/</link>
    <guid isPermaLink="true">https://laohand.com/openssl/</guid>
    <description>Anyone who has configured TLS has walked the same loop — generate, verify, deploy — and openssl has a command for each stage. The sheet is grouped by stage: inspecting a certificate file for subject, SAN and validity, checking the one a remote endpoint actually serves, generating self-signed certificates and CSRs, handling keys and their permissions, and converting between DER, PEM and PFX. The step people skip and then regret every quarter is the remote check. openssl s_client -connect host:443 -servername name must carry SNI, otherwise a multi-domain server returns its default site certificate and you wrongly conclude the certificate never rotated. The other frequent trap sits in format conversion: converting PKCS12 to PEM without -nodes produces an encrypted key that Nginx and Traefik cannot read, and the error points nowhere near the cause. The troubleshooting order matters: confirm the live certificate first, validate the local file second, and only then edit configuration. · Sections: Inspect Certificate, Remote Check, Generate Certificate · e.g. openssl x509 -in cert.pem -text -noout, openssl x509 -in cert.pem -dates -noout, openssl x509 -in cert.pem -issuer -noout</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>security</category>
  </item>
  <item>
    <title>tar Cheatsheet - tar Archive &amp; Compression Reference</title>
    <link>https://laohand.com/tar-compress/</link>
    <guid isPermaLink="true">https://laohand.com/tar-compress/</guid>
    <description>Bundling a directory before a backup, a code hand-off or a server migration always goes through tar, and the difficulty is choosing a compression format and avoiding parameters that cause irreversible damage. The sheet separates creating, listing, testing and extracting, then gives formats their own comparison: gzip as a balanced default, bzip2 smaller but slower, xz best ratio with threading at a time cost, and zstd as the pragmatic modern choice. Two behaviours matter for backups: tar records ownership by default, so extraction without --no-same-owner silently changes file owners, and --exclude decides what never enters the archive — node_modules, .git and caches belong there. The riskiest moment is extraction, where an archive containing ../ entries can write outside the target directory, so list with tar -tf before unpacking. Two performance notes: parallel compression with pigz for large trees, and --strip-components to avoid an extra nesting level on extraction. · Sections: Pack &amp; Compress, Extract, List &amp; Test · e.g. tar -cvf archive.tar dir/, tar -czvf archive.tar.gz dir/, tar -cjvf archive.tar.bz2 dir/</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>archive</category>
  </item>
  <item>
    <title>sed/awk/grep Cheatsheet - Linux Text Processing Reference</title>
    <link>https://laohand.com/text-processing/</link>
    <guid isPermaLink="true">https://laohand.com/text-processing/</guid>
    <description>Log triage and report statistics are almost always three stages: grep to keep the lines that matter, sed to rewrite the values that need changing, awk to aggregate by column. The sheet runs along those three paths, then widens into pipeline recipes, sort/uniq/comm for ordering and set comparison, and cut/tr/paste for column surgery. The choice between them is granularity rather than preference: grep filters whole lines, sed rewrites each line in place, and awk is the only one that can accumulate, group-count and emit sorted results per column. Pick the wrong one and the cost is obvious — counting occurrences per IP is one awk line, while grep plus wc -l means running the pipeline once per key. The pipeline section supplies the joins between stages, including filter-then-aggregate and dedupe-with-count. Two operational details carry weight: add --line-buffered to grep on large inputs, and remember $1 is safe inside single quotes in awk but must be escaped inside double quotes. · Sections: grep Match &amp; Search, sed Replace &amp; Edit, awk Extract &amp; Summarize · e.g. grep &quot;error&quot; app.log, grep -i &quot;error&quot; app.log, grep -rn &quot;TODO&quot; src/</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>tmux Cheatsheet - Terminal Multiplexer Command Reference</title>
    <link>https://laohand.com/tmux/</link>
    <guid isPermaLink="true">https://laohand.com/tmux/</guid>
    <description>Running tmux on a server is insurance for your SSH session: the network drops, the laptop lid closes, you reconnect, and tmux attach puts everything back, with long-running jobs surviving a SIGHUP. The model has three levels — session, window, pane — and once that nesting is understood the key table becomes predictable: after Ctrl-b, c creates a window, n and p switch, % splits left and right, &quot; splits top and bottom. The detail worth memorising is that tmux prefixes are composable: a bare prefix press is remembered, so e means expand-to-size — e then space fills the window, e then % splits it evenly. Copy mode is the second stumbling block: q to enter, arrows to select, Enter to copy — into tmux&apos;s own buffer rather than the system clipboard, unless you enable set-clipboard and the terminal cooperates. The configuration group covers remapping the prefix, mouse support, automatic window renaming and history depth. The screen comparison lives in the previous sheet: tmux wins on plugins and shareable sessions, and costs you an install first. · Sections: Session, Window, Pane · e.g. tmux new -s mywork, tmux ls, tmux attach -t mywork</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>MQ Commands Cheatsheet - Kafka &amp; RabbitMQ</title>
    <link>https://laohand.com/mq-commands/</link>
    <guid isPermaLink="true">https://laohand.com/mq-commands/</guid>
    <description>Most message queue incidents are chronic rather than dramatic: a consumer that silently stops, a backlog that keeps growing, or a connection count that only ever climbs. The triage order is consistent even though the commands differ per broker. Read the lag or queue depth first, then check how many consumers are registered and what state they are in, so you can tell &quot;nobody is consuming&quot; apart from &quot;consuming too slowly&quot;. Then inspect the connection list to see whether the leak lives in the application pool or inside the broker. Kafka, RabbitMQ, RocketMQ and Redis Pub/Sub each report this differently, and Redis Pub/Sub is the odd one out: it has no backlog to inspect and drops messages while a consumer is disconnected, so the diagnostic question changes entirely. Commands are grouped by backlog, connections, cluster inspection and load testing, including throughput and record-count flags for perf tests. Treat a growing backlog as a symptom to be explained rather than a queue to be emptied, and take the message offset as the unit of investigation. · Sections: Kafka, RabbitMQ, RocketMQ · e.g. kafka-consumer-groups.sh --bootstrap-server :9092 --list, kafka-consumer-groups.sh --describe --group &lt;group&gt;, kafka-topics.sh --describe --topic &lt;topic&gt;</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>mq</category>
  </item>
  <item>
    <title>CI/CD Commands Cheatsheet - CI/CD Pipeline Debugging Reference</title>
    <link>https://laohand.com/cicd-commands/</link>
    <guid isPermaLink="true">https://laohand.com/cicd-commands/</guid>
    <description>When a CI job sits pending or fails for no clear reason, the reflex is to edit YAML and push again, which is both slow and rarely the cause. A better order exists: confirm the runner is online, that its labels match what the job requested, and that concurrency quota is not exhausted; then read the actual log of the failing step rather than its last line; then decide whether you can reproduce locally and eliminate environment differences one at a time. Low cache hit rates usually come from a key missing the lockfile hash or a path that does not cover the real dependency directory, both diagnosable from configuration alone without restructuring the pipeline. Commands for GitHub Actions, GitLab CI and Jenkins are listed in separate sections, alongside Docker multi-stage builds and general practices. Hung jobs point at infrastructure state; failed jobs point at logs. Most investigations end at one of three places, and naming which one you are in keeps the search short. · Sections: GitHub Actions, GitLab CI, Jenkins · e.g. gh run list --limit 10, gh run view &lt;run-id&gt; --log-failed, gh run rerun &lt;run-id&gt; --failed</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>cicd</category>
  </item>
  <item>
    <title>Cron Cheatsheet - Expressions &amp; Task Scheduling</title>
    <link>https://laohand.com/crontab/</link>
    <guid isPermaLink="true">https://laohand.com/crontab/</guid>
    <description>Writing a cron expression is easy; the hard part is an expression that looks correct and still never fires, and the causes are usually not in the expression at all. The sheet moves from the five-field format through special characters and macros such as @daily, then covers common examples and the three groups that decide whether the job actually runs: environment, permissions and troubleshooting. The traps are named explicitly: cron gets a nearly empty environment rather than your shell, so a missing PATH is fixed by exporting it inside the script or using absolute paths, especially for interpreters. Output defaults to local mail, and with no MTA configured the failure message evaporates, so redirect with 2&gt;&amp;1 into a log. And when day-of-month and day-of-week are both constrained the relationship is OR, not AND. Troubleshooting order is simple: check whether a log line appeared at all — no log means an environment or permission problem, an empty log usually means a bad path or redirection. · Sections: Expression Format, Special Characters, Special Time Macros · e.g. * * * * * command, Minute (0-59), Hour (0-23)</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>Systemd Cheatsheet - systemctl, journalctl &amp; Units</title>
    <link>https://laohand.com/systemd/</link>
    <guid isPermaLink="true">https://laohand.com/systemd/</guid>
    <description>systemd deserves a pass on its own because on modern Linux distributions it unifies four things that people still split across three parallel toolchains: service management, log querying, scheduling and resource limits. Filtering journalctl by unit, by time window and by priority is far more precise than grepping files in /var/log, especially when a service dies immediately after start - combining --since with -p err narrows the output to this boot&apos;s errors. This sheet covers service control, status inspection, journal troubleshooting, targets and runlevels, timers, unit configuration and resource control, and failure analysis. Which group to open depends on the symptom: start and stop for the first, &quot;where do the logs live&quot; for the third, &quot;how do I cap CPU and memory&quot; for the sixth. The timer group is the replacement for crontab, and it wins on execution logs, dependency ordering and inspectable failures. · Sections: Service Management, Status, journalctl · e.g. systemctl start nginx, systemctl stop nginx, systemctl restart nginx</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>Vim Cheatsheet - Modes, Editing &amp; Search Commands</title>
    <link>https://laohand.com/vim/</link>
    <guid isPermaLink="true">https://laohand.com/vim/</guid>
    <description>The real barrier in Vim is not configuration but two layers of muscle memory: motions that let you travel precisely without scrolling, and search-and-replace patterns confident enough to run in bulk. On a headless server, editing nginx, sshd or live code, hjkl with count prefixes, ciw to change a word and :. to reindent turn a ten-minute edit into a one-minute one. Commands here are grouped by intent, moving, editing, searching and replacing, visual block and saving, rather than as an alphabetical list to memorise. A simple rule decides what to drill: whenever a task is &quot;change this repeated text&quot;, reach for visual block or :%s, and confirm the hit count with a plain / search before committing. The closing group handles the two moments every newcomer hits, quitting without saving and writing a system file without sudo. Registers and macros handle the repetitive cases, and :copen turns the whole buffer of search results into something you can edit at a glance. · Sections: Motion, Edit, Search · e.g. gg / G, 0 / $, w / b</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>Linux Troubleshooting Cheatsheet - System Fault Diagnosis Command Reference</title>
    <link>https://laohand.com/linux-troubleshoot/</link>
    <guid isPermaLink="true">https://laohand.com/linux-troubleshoot/</guid>
    <description>When a server misbehaves, the reliable approach is not recalling the right command but following a fixed descent order: processes, ports, disk, memory, logs. Processes and load start from uptime — remembering that on Linux this counts runnable plus uninterruptible processes, not CPU percent — then top or htop sorted by CPU and memory, and finally ps for the concrete PID. Ports and networking cover ss and netstat listeners, nc reachability probes, and using dig plus curl to distinguish a closed port from a broken service above it. Disk and memory use df -h, du -sh to walk down to the offending directory, and iostat with free -m to tell IO pressure from RAM pressure. Logs combine journalctl -u, systemctl status and tail -f to separate a service that is down from one failing repeatedly. Several classic misjudgements are flagged: a full disk with no large file usually means a process still holds a deleted inode, found with lsof +L1, and plain kill sends SIGTERM with -9 reserved for wedged processes. · Sections: Process &amp; Load, Port &amp; Network, Disk &amp; Memory · e.g. top -c, ps aux --sort=-%cpu | head, ps aux --sort=-%mem | head</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>Dockerfile Cheatsheet - Docker Image Build Reference</title>
    <link>https://laohand.com/dockerfile/</link>
    <guid isPermaLink="true">https://laohand.com/dockerfile/</guid>
    <description>A Dockerfile authority for developers who want their images small, fast to finalize, and without leaked secrets. Beyond listing instructions, it explains why layer ordering and build cache matter, how multi-stage builds keep runtime images lean, and how ADD vs COPY, ENV vs ARG, USER and HEALTHCHECK change security and behavior. By the end you can write a Dockerfile that builds quickly and produces a minimal, production-safe image. · Sections: Base Instructions, Env &amp; Args, File Operations · e.g. FROM node:18-alpine, FROM scratch, WORKDIR /app</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>docker</category>
  </item>
  <item>
    <title>Docker Compose Cheatsheet - Command Reference</title>
    <link>https://laohand.com/docker-compose/</link>
    <guid isPermaLink="true">https://laohand.com/docker-compose/</guid>
    <description>For developers who need to bring up, stop, and upgrade a whole stack at once — database, cache, backend, frontend — as a single unit. Compose value is not in the commands themselves but in a single docker-compose.yml that pins down the network, dependencies, and config between services so the whole environment can be started and stopped repeatedly. By the end you can bring the stack up with up, find the failing service with logs, clean up fully (and safely) with down -v, and scale out with --scale. · Sections: Start &amp; Stop, Logs &amp; Status, Config &amp; Build · e.g. docker compose up -d, docker compose up -d --build, docker compose stop</description>
    <pubDate>Tue, 21 Jul 2026 00:00:00 GMT</pubDate>
    <category>docker</category>
  </item>
  <item>
    <title>rsync Cheatsheet - File Sync, Backup &amp; --exclude Options</title>
    <link>https://laohand.com/rsync/</link>
    <guid isPermaLink="true">https://laohand.com/rsync/</guid>
    <description>rsync is the default answer for mirroring trees because it transfers only what differs and can make the destination match the source exactly. That same power is the hazard: with --delete enabled, one mistaken rm on the source, or one mistaken mount, silently empties the destination. Preview every run with -n or --dry-run, and pair it with --itemize-changes so the actual list of transfers, creations and deletions is visible before you commit. The trailing slash is the other classic mistake: src/ copies the contents of the directory, src copies the directory itself, and the difference is one unwanted nesting level. This sheet groups parameters by transfer, display, filtering, backup and archive modes, clarifying what each of -a, -z, --partial and --checksum is actually for rather than listing them as interchangeable flags. Bandwidth matters on a fragile uplink, where --bwlimit and --inplace turn a mirror into something a slow link can survive overnight, and --delete is only safe once the source mount is known to be complete. · Sections: Basic Sync, Transfer Options, Display Options · e.g. rsync -avz ./src /dest, rsync -avz ./src/ /dest, rsync -avz user@host:/remote /local</description>
    <pubDate>Sun, 19 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>AWS CLI Cheatsheet - S3, EC2, IAM &amp; Cloud Commands</title>
    <link>https://laohand.com/awscli/</link>
    <guid isPermaLink="true">https://laohand.com/awscli/</guid>
    <description>Anything you click once in the console you will eventually need to click a second time from a script, and this sheet covers exactly that surface: configuration and credentials, EC2 instances, S3 storage, IAM users and policies, CloudWatch logs and metrics, plus Lambda and other services. The credentials section exists because multi-account work breaks silently when environment variables and the default profile overwrite each other — naming every account with --profile is the cheapest fix available. The query section is where the real leverage is: --output table for a human, --output json piped to jq, and --query with JMESPath to lift one field straight into a shell variable, collapsing twenty lines of parsing into one. Debugging paths are covered too: CloudWatch Logs Insights aggregates by field instead of paginating, and an instance that will not start is traced from StateReason to the matching CloudTrail event. Know the boundary — this is a single-shot client, not an orchestrator; conditional loops and retry policy belong to CloudFormation or CI. · Sections: Configure &amp; Auth, EC2 Instances, S3 Storage · e.g. aws configure, aws configure --profile production, aws configure list</description>
    <pubDate>Sun, 19 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>HTTPie Cheatsheet - HTTP Client &amp; REST API Test Commands</title>
    <link>https://laohand.com/httpie/</link>
    <guid isPermaLink="true">https://laohand.com/httpie/</guid>
    <description>HTTPie encodes intent in the syntax of the request item itself, and that is the reason to reach for it over curl. A colon after a keyword means HTTP header, == means URL query parameter, = writes a string into the JSON body, := writes a number or boolean, and @ uploads file contents. Once that mapping is muscle memory, a cURL line copied from DevTools becomes readable without consulting which of -H, -d or --data-urlencode takes unquoted data. The response side is the other half of the argument: bodies are pretty-printed and highlighted, so you rarely decide whether to pipe into jq. The authentication group covers Basic, Bearer and Digest plus named sessions via --session, which makes multi-step flows workable — log in once, then reuse the stored cookie. Reach for it during API development or for CI smoke requests; stay with curl when you need load generation or already have frozen cURL scripts in production. · Sections: Basic Requests, Headers &amp; Params, Auth &amp; Session · e.g. http GET https://api.example.com/users, http https://api.example.com/users, http POST https://api.example.com/users name=John age:=30</description>
    <pubDate>Sun, 19 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  <item>
    <title>Makefile Cheatsheet - Targets, Variables &amp; Build Rules</title>
    <link>https://laohand.com/makefile/</link>
    <guid isPermaLink="true">https://laohand.com/makefile/</guid>
    <description>A Makefile is a dependency graph, not a script. Targets whose prerequisites are unchanged are not rebuilt, and that single property is why a tool born for C still fronts every npm script and most static site tooling. What matters is learning the rule syntax: how a pattern rule such as %.o matches filenames, what $@, $&lt; and $^ expand to, and how make decides which target to build first. Two mistakes recur constantly. Recipe lines must start with a real Tab, and a missing Tab produces a missing separator error rather than anything resembling a clue. Targets like clean that produce no file must be declared .PHONY, otherwise an unrelated file named clean makes make consider the job already done. The sheet groups variable assignment, automatic variables, rules, pattern rules, builtin functions, conditionals and worked examples. Keep prerequisite lines honest, because one wrong dependency produces a build that quietly skips work and reports success. · Sections: Variables &amp; Assignment, Automatic Variables, Rules &amp; Targets · e.g. CC = gcc, CC := gcc, CC ?= gcc</description>
    <pubDate>Sun, 19 Jul 2026 00:00:00 GMT</pubDate>
    <category>linux</category>
  </item>
  </channel>
</rss>
