During the recent Black Friday sales, I grabbed a special machine from Virmach, so I thought of testing its performance by running some VPS performance and network tests since the machine looks pretty good.……
How to batch replace strings in Linux? At first, I thought about using sed with -r or some iterative method, but found sed doesn’t support iteration parameters. So, I use find to get files and sed to replace strings.……
During Linux system development, sometimes your program might crash or be stopped. To keep it running continuously, adding the program to the service list is a very good practice.……
This article explains how to solve a 9x9 Sudoku puzzle in Python with backtracking, including board representation, empty-cell search, candidate filtering, validity checks, and recursive backtracking.……
This guide shows how to shrink /home and grow /root on CentOS 8 with LVM, with practical notes on backup, filesystem expansion, and the final /etc/fstab check after recreating /home.……
This guide shows how to enable IPv6 passthrough on a K2 router running Padavan firmware, including WAN IPv6 settings, the startup script, and quick checks on the client side.……
This light post collects a few classic 1024 Programmer’s Day jokes and one-liners, while also explaining why 1024 became such a recognizable symbol in programmer culture.……
My blog used the lnmp program to build the web environment, but when I needed to use mysql, I found that the lnmp installation log file was missing and the mysql root password was forgotten. I remember that the lnmp was installed by pressing Enter all the way, and the default lnmp password is lnmp.org# plus 5 random numbers, with only 100,000 possibilities. In this case, brute-forcing 100,000 times will definitely find the password.……
This guide shows how to move the real SSH service to a new port and deploy a Docker-based SSH honeypot on port 22 to collect brute-force logs for defensive analysis.……
This guide shows how to prepare Oracle Cloud free-instance parameters, configure OCI CLI, and use scripts to retry VM or ARM instance creation when popular regions are capacity-constrained.……
When evaluating the website, I found that a large portion of js, css, and other content was not fully utilized, but I didn’t know how to efficiently combine or remove them. I also wanted to try a static blog, so I decided to migrate to a completely static blog system. Here, I chose Hugo as the new system.……
Today I chatted with a friend who said he bought emoji packs from Taobao. I don’t have many myself, but there are tons of emoji websites online — why not scrape them and build my own emoji search engine?……