Skip to main content
巧匠Developer Cheatsheet
VCS Ops Lang Web DB Containers Ref Tools Config AI CLI AI Shortcuts
More
VCS Ops Lang Web DB Containers Ref Tools Config AI CLI AI ShortcutsMore
Home›Guides

Guides

Not just "how to write the command", but "what to do when things break". Original long-form troubleshooting and best-practice articles from the LaoHand team, with copy-ready commands.

Git Accident Recovery: Fix Wrong Commits, Wrong Branches and Deleted Branches

The scariest moment in daily work is "oh no, I messed up a commit or branch". This guide gives copy-ready recovery commands for real accident scenarios, with clear safety boundaries for each.

8 min readUpdated 2026-08-24
Read →

Docker Image Slimming: 5 Steps from 1.2GB to 120MB

Bigger images mean slower pulls, larger attack surface and higher storage cost. This guide gives 5 immediately applicable slimming steps, each with a reusable Dockerfile snippet and a verification command.

7 min readUpdated 2026-08-24
Read →

Nginx 502 Bad Gateway? Locate It in 5 Steps

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.

6 min readUpdated 2026-08-24
Read →
巧匠Developer Cheatsheet

A curated collection of 159+ high-frequency command cheatsheets across containers, ops, databases, languages and more. Find fast, copy directly.

Explore

  • Home
  • All Categories
  • Contact

Resources

  • Recently Updated
  • Popular Tags
  • Guides
  • About

Legal & Compliance

  • Privacy Policy
  • Terms of Service
  • Disclaimer
© 2026 laohand.com · Developer Cheatsheet蜀ICP备17034332号-2
Crafted with care · Free & open source