Restart blog

I have been writing a blog since I graduated from college. And the old posts were deployed in different platforms. I didn’t write too much in the past years, and didn’t have too many visitors Many times, I often forget that I have a blog :) Obviously, I am not a professional blogger As a developer from China, I want to improve my English skill. I think it is a proper way to write blog in English.

How to checkout to a remote branch in git

Hi there, in this short note, I’d like to show you how to checkout to a remote branch on your local machine. Step 1: Fetch all the branches by using git fetch This command will download the new branches to your local. For more detail about git fetch, you can look at the helping document by typing: git fetch --help. After fetching, you can use the git branch -r to see all the remote branches to ensure that the branch you want to checkout has been downloaded.

Why you should modify the CapsLock to Ctrl on your keyboard

I have been using the CapsLock key as Ctrl for a long time. I would share why this is a good idea, and why you should too. As all we know, the CapsLock is in a position that is easy to press. When we put our finger on the keyboard, we can move our left pinky finger to the CapsLock and then press it naturally. But, on the other side,

Note: The basic usage of Systemd

Systemd is a system and service manager for Linux. In this post, I will document its basic usage. Check if it is installed, or its version in your machine 1 systemctl --version Yes, systemd providers the systemctl command. We always use the systemctl command to deal with our service. The Man page 1 man systemd You can type this command in your Linux server to find the document of systemd

Docker Compose 控制容器启动顺序

在使用 Docker Compose 编排容器时,就涉及到容器启动的先后顺序。 比如一个Laravel应用,需要用到 PHP/Nginx/Mysql/Redis, 那么肯定是需要先启动 Mysql/Redis,然后才是