RelicRELIC
Topic

Cheat sheets for the syntax you half-remember

Nobody memorizes regex flavors, jq filters or subnet masks. You look them up, every time. These cheat sheets keep the lookup short: the forms you actually use, correct and copy-ready, with just enough explanation to trust them.

Start here
Pillar·9 min

Regex cheat sheet

The regex pieces you actually reach for, character classes through lookarounds, with the flavor differences that bite you and a handful of patterns worth saving.

Read
In this topic
8 min

JSONPath examples

JSONPath is XPath for JSON. One small store document, threaded through wildcards, slices, filters and recursive descent, with the honest note on how implementations vary.

Read
8 min

jq cheat sheet

jq is sed for JSON. The filters you use most, built up against one API response so every command has a visible result, from map and select to group_by and raw output.

Read
8 min

wget vs curl: what is the difference?

wget and curl both fetch over HTTP, and there the resemblance ends. One is a recursive downloader, the other a protocol swiss army knife. What each is genuinely better at.

Read
8 min

Subnet cheat sheet

The prefix length tells you how many addresses a block holds and how many you can assign. The full /8 to /32 table, the reserved ranges, and the math to find a network and broadcast by hand.

Read
7 min

Port numbers list

The ports people actually look up, grouped by use, each with the protocol that matters and what runs there. Web, mail, file and shell, databases, infrastructure, and local dev ports.

Read
8 min

Ed25519 vs RSA

For a new SSH or signing key, Ed25519 is the better default: smaller, faster, and harder to misconfigure. When RSA is still the right call, and the commands to generate each.

Read
7 min

TOML vs YAML

TOML aims to be obvious and minimal; YAML serializes any data a human can read. The same config in both, YAML's sharp edges stated accurately, and where each one won.

Read