Code Singularities

Technical implementations and algorithms

T

The Sun Is a Square: Inside Apple's iPhone 18 Pro Pre-order Page

Press Cmd-A on Apple's iPhone 18 Pro pre-order page and the sky breaks: the landscape is a 1200px square whose edge pixels are the exact same blue as the page background. A teardown of the cover page, its 65-second heartbeat, and the proof-of-work puzzle your browser quietly solves.

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.

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.

H

Hotlinking and Anti-Hotlink Techniques, Explained

What hotlinking is, why it happens, how referer-based anti-hotlink protection works, and how it can be bypassed.

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.

Flushing the Local DNS Cache

Flushing the Local DNS Cache

How to flush the local DNS cache on Windows, macOS and Linux.

G

Giving Away Free Subdomains with Specific Products in WHMCS

WHMCS can offer a free subdomain at signup: enter ".yourdomain.com" in the product's Subdomain Options.

D

Domains — Custom DNS Server Names

How to serve DNS under your own domain (DNS branding / vanity name servers) using ClouDNS premium, step by step.

B

Build Your Own Website Now

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