Code Singularities

Technical implementations and algorithms

One SKU, Five Markets: Where the iPhone 18 Pro Pre-order Broke

One SKU, Five Markets: Where the iPhone 18 Pro Pre-order Broke

Eight availability queries across five markets in the first half hour of iPhone 18 Pro pre-orders. Pro Max 1TB Burgundy was at zero in Hong Kong and Shenzhen while Pro Max 2TB sat in stock down the road, which makes this SKU concentration rather than a shortage.

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.

H

How to add new fonts on Collabora Online - Built-in CODE Server?

It works for me! I am adding new fonts to NextCloud Office ( Collabora Online - Built-in CODE Server ) as I found that it does not support Chinese characters originally. My settings are: Ubuntu,...

Upgrading OpenSSL on aaPanel (宝塔), 2021 Edition

Upgrading OpenSSL on aaPanel (宝塔), 2021 Edition

aaPanel servers often still ship OpenSSL 1.0.x. Here is how to compile and install a newer OpenSSL by hand.

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.

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.

How to Remove /index.php/ from My URL

How to Remove /index.php/ from My URL

The basic mod_rewrite rule that hides index.php from URLs, explained line by line.

N

NextCloud Error: Installation Fails with 503 Service Unavailable

NextCloud install dying halfway into a 503? Don't touch anything — wait an hour and it finishes itself.

Flushing the Local DNS Cache

Flushing the Local DNS Cache

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

I

Icons and Browser Colors | Chrome

How to feed browsers the right icons, tiles and theme colors: favicon sizes, apple-touch-icon, msapplication tiles and theme-color.