January 7, 2025
·
2 min read

Last week, I have made a python cli tool. To make it more convenient to use, I want to publish it as a pip module, so I have made some research and mistakes, and finally succeeded.
Read the full text -> A total of 0.59k words
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.
Read the full text -> A total of 0.95k words
January 6, 2025
·
0 min read

As a developer, I have been using many packages in my projects. Sometimes I may even forget the existence of the packages. When I changed my devices or some one else asked me, it’s hard for me to remember everything to recommend. Thus I will try to list the things which I think are very helpful and useful to share with you. Maybe we can even make an “Annual Oscar Awards ceremony” for the things.
Note: This post will be updated regularly.
Read the full text -> A total of 0.20k words
January 4, 2025
·
10 min read

HTTP protocol is the foundation of the Internet, and HTTPS is the secure version of HTTP. HTTP is an application layer protocol based on TCP/IP protocol. It does not involve packet (packet) transmission, mainly specifying the communication format between the client and the server, and the default port is 80.
Read the full text -> A total of 2.14k words
January 4, 2025
·
3 min read

Recently, I have been working on DNS of my domain name. And then I need to set up the mail service of my domain name. When I tried many times, I always failed to receive the mail on my phone. Suddenly, I remembered that I didn’t set up IMAP service. So let’s review the mail service and protocol.
Read the full text -> A total of 0.66k words
January 3, 2025
·
0 min read

Most of time, we need to reply the commiter to adjust some code, sometimes it’s not efficient. Instead, we can directly add the commit to the PR.
Read the full text -> A total of 0.17k words
January 3, 2025
·
2 min read
Sometimes we make too many small commits during development, and it’s better to squash them into one clean commit before pushing. Here’s how to use git rebase -i to merge multiple commits.
Read the full text -> A total of 0.56k words
January 2, 2025
·
10 min read

We can learn the proxy process of clash through the configuration file.
Read the full text -> A total of 2.02k words
December 27, 2024
·
16 min read

我在本科期间听到过很多关于广告论调,仍记得某位教授对于短视频所代表的互联网深恶痛绝,在课堂上批判广告的价值,抨击广告行业的浮躁。我身边的同学也大抵持相同的观点,认为互联网广告就是智商税,广告的目的是为了卖课,卖课的目的是为了收割。可事实真的如此吗?
Read the full text -> A total of 3.27k words
December 26, 2024
·
11 min read

In my mind, DNS is the key of the internet. I always believe if you control the DNS, you control the Internet world. So let us get started to know the DNS.
Read the full text -> A total of 2.33k words