叹世界 RSS preview
优雅地在 Docker 中使用 NGINX
2024-04-19 This post explains setting up NGINX in Docker, covering SSL automation with acme.sh, using Docker Compose for configuration, and enabling features like streaming and modules. It includes steps for certificate updates, custom NGINX builds with additional modules, and optimizing configurations for specific applications.
如何在 Windows 中优雅的使用 sing-box
2024-02-11 The blog discusses how to install and configure sing-box, a next-generation universal proxy platform, on Windows using direct download or package managers, and outlines setting it up as a Windows service for automatic execution using WinSW.
二进制中 1 的个数 ——《C/C++ 位运算黑科技 03》
2022-03-27 This post explores a swift technique to count '1's in binary numbers via a merging counter, contrasting with the slower traditional bit-clearing method. It includes code for various integer sizes and demonstrates the method's speed with benchmarks.