
This section contains useful commands for daily work and will be updated frequently.
At work, you often need to capture mobile app network packets. For example, if an image is inaccessible only on the mobile app but the web version is normal, you need to capture packets to quickly identify the cause of the problem. A common approach is to install packet capture software on your computer to act as a proxy, and then connect your phone to this proxy. This will allow the phone's network packets to pass through the packet capture software, allowing you to capture and analyze the packet details. Mastering the network packet details is like using Chrome's debugging tools; nothing can escape your gaze.
Yesterday, while writing a Python program to batch-process Markdown files, I encountered an issue with improper use of the rstrip method. I'm documenting this.
I have multiple sites running on the same server, corresponding to multiple private Github repositories. I use a deploy key for packaged deployment. Unfortunately, Github requires a unique key for each repository, and if I don't configure it correctly, I'll get an error.
The new version of Python 3.11 was released yesterday. Officially, 3.11 is 10-60% faster than 3.10, and the standard test set is 1.25x faster. There are also other updates. The question is, how to update to the latest version under Linux.