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.
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.
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.
Read →