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?……
Considering that Cloudflare’s free sites are really slow in China, and Baidu Cloud Acceleration in China uses Cloudflare technology, I thought using Baidu CDN would speed up domestic access to the site.……
Dockers can package applications along with their virtual containers and dependencies, allowing them to run on any Linux server. This helps achieve flexibility and portability, enabling applications to run anywhere, whether on public cloud, private cloud, or standalone machines.……
Today I logged into the server and found python using a very high percentage of CPU, then discovered it was caused by some small web tools made with Flask on this site. Finally understood why Flask warns not to deploy directly in production.……