Code Singularities

Technical implementations and algorithms

I

IPv6 Broke My Server — But I Blamed Apache First

Intermittent 522 errors, a perfectly healthy server, and a wrong diagnosis — the real culprit was invisible IPv6 routing failure. Here's how I chased Apache ghosts before finding the two sysctl lines that fixed everything.

W

Windows 0x57 Error and Blue Screens

A first-hand fix for blue screens: scan and restore system files with DISM, then sfc /SCANNOW.

Changing the ServerAdmin Email on aaPanel (宝塔)

Changing the ServerAdmin Email on aaPanel (宝塔)

Where to change the ServerAdmin email for a site on aaPanel: edit the domain's vhost config file.

Rename Lots of Files at Once in Windows — Fast and Effortless

Rename Lots of Files at Once in Windows — Fast and Effortless

![](https://img.c.mr/uploads/6af17119bf8d7_140670953.jpg) Windows actually has several built-in ways to rename large numbers of files. Knowing these tricks can save you a lot of time. We often...

L

Linux CentOS Tips

CentOS 7/8 notes: sudo -i for temporary root, and the tmux key sequences for split-screen sessions that survive SSH drops.

S

Self-hosting the Fiora Chat Room with aaPanel (宝塔)

A beginner-friendly walkthrough for deploying the Fiora chat room with aaPanel: dependencies, PM2, MongoDB, Redis, systemd and reverse proxy.

T

This Is How Attackers Get Your WordPress [Admin Username]!!

Reading access logs: how an automated attacker enumerates your WordPress admin username in 8 requests before brute-forcing xmlrpc.php.

What Each File in Typecho's Admin Directory Does

What Each File in Typecho's Admin Directory Does

A file-by-file reference for Typecho's admin directory — handy when hacking on the backend.

W

WHMCS 7.x: "Something went wrong and we couldn't process your request" After Moving Servers

Moving WHMCS to a new server hit the generic Oops page. The culprit: a leftover DirectAdmin addon encrypted for PHP 5.6.

B

Build Your Own Website Now

A beginner walkthrough: register a domain, pick hosting, set nameservers, and add DNS records — no website builder needed.