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.
By the time you've read this, I think you should have a pretty good idea of what a password manager is. However, for those unfamiliar with the subject, it's still worth explaining. Nowadays, when using various online services, more established platforms require you to register and create a strong password. Examples include Google, Weibo, Twitter, Instagram, and even gaming platforms. Over time, most people end up using the same username and password for everything. This leads to two problems: 1. Your username might have been taken by someone else on a particular platform; 2. If your username on a particular platform is compromised for unknown reasons, affecting all platforms, even a pianist would tire of changing it, let alone changing it individually.