January 13, 2026
·
4 min read

Vim is a powerful command-line text editor that’s been around for decades, and it’s still widely used today. Whether you’re SSH-ing into a remote server or just prefer the keyboard-centric workflow, Vim is often the go-to choice. The learning curve can be steep at first — I remember the first time I opened Vim and couldn’t even figure out how to quit. But once you get the hang of it, the efficiency gains are real. This cheatsheet covers the essentials I use most often, and I’m trying to condense them.
...
January 30, 2025
·
0 min read
Some good commands to share.
Note: This post will be updated regularly.
...
January 17, 2025
·
2 min read

This is a cheatsheet of docker.
Note: the docs will be updated from time to time.
...
January 7, 2025
·
4 min read

This is a Git cheatsheet that distills my years of experience.
- Workspace: The directory of the repository. The working directory is independent of each branch.
- Staging Area (Index): A temporary area for data, similar to a cache before writing from the working directory to the repository. The staging area is independent of each branch.
- Repository: Stores all code versions that have been committed to the local repository.
- Version Structure: A tree structure where each node represents a code version.
...
December 22, 2024
·
1 min read
July 27, 2022
·
13 min read
管道类似于文件重定向,可以将前一个命令的stdout重定向到下一个命令的stdin。
- 管道命令仅处理
stdout,会忽略 stderr (标准错误)。 - 管道右边的命令必须能接受
stdin。 - 多个管道命令可以串联。
...
July 26, 2022
·
1 min read
A tmux instance can contain multiple sessions, a session can contain multiple windows, a window can contain multiple panes, and a shell dialog is opened in each pane.
...