Code Singularities

Technical implementations and algorithms

R

Recommended Self-hosted Image Hosting: Chevereto

Chevereto — a solid self-hosted image hosting (图床) program.

R

Recommended: Fantasy — a Minimal Typecho Blog Theme

Fantasy — a minimal Typecho theme by Seevil.

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...

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.

H

How to Download Remote Images with PHP

Downloading a remote image in PHP: request the URL with curl and write the returned file stream to a target path.

.

.htaccess Tutorial

A practical .htaccess tutorial: creating the file, custom index and error pages, disabling directory listing, IP allow/deny, redirects, and password protection.

U

Using Different Fonts for Different Languages in CSS

Some fonts only cover one language. With @font-face and unicode-range you can serve the right font to each script.

T

The Anatomy of an SSR Address

An ssr:// link is just Base64. Decode it and the structure is clear: IP, port, protocol, cipher, obfuscation, password, remarks.

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.

About the Server I Bought at Pesyun.com

About the Server I Bought at Pesyun.com

A brief review of Pesyun.com hosting: two one-year servers, a "US" high-defense VPN box whose IP turned out to be Chinese, and a Namepros blacklist surprise.