Code Singularities

Technical implementations and algorithms

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.

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.

C

Compress Your CSS with PHP

Serve CSS through a style.php that strips comments and whitespace on the fly.

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.

R

Recommended: Cactus — a Responsive, Clean and Elegant Typecho Theme

Cactus — a clean, responsive Typecho theme ported from the Hexo theme of the same name.

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.

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.

D

DNSSEC: DS Record Digest Algorithm Types

The IANA registry of Delegation Signer (DS) digest algorithms: SHA-1, SHA-256, GOST, SHA-384.