Charts for people who write code
These are not tutorials. They are the things you know perfectly well and still look up: which redirect preserves the method, what flex: 1 actually expands to, whether a change is in the working tree or the index, how many bytes someone means by a gigabyte.
HTTP status codes are grouped by class rather than listed in numeric order, because that is how they are reasoned about. Flexbox is split into what belongs on the container and what belongs on the item — the distinction people actually get wrong. The Git sheet draws the places a change can be sitting between your editor and the remote. And the data units sheet runs from the bit upwards, where the same word keeps meaning two different numbers.
They belong on the wall of a study or a small office: the kind of reference you glance at without breaking a train of thought to open a browser tab.
THE MIDI PROTOCOL
one top bit separates status from data, seven commands per channel, and how much time a serial wire actually takes
THE FLAGS OF OPEN()
FIVE flags of creating a file — and why O_CREAT|O_EXCL is not a faster check but a check and a creation joined into one indivisible act
${…}: FOUR MODIFICATIONS
The colon asks about emptiness too: in the column of the empty variable it changes the answer four times out of four, and in the other two columns none
${…}: TRIMMING BY PATTERN
The sign says from which end to cut and doubling it says how much: from the same path the same pair of patterns takes away either one character or fifteen
POSIX SIGNALS
Twenty-seven signals, five default actions — and two that cannot be caught, ignored or blocked
PYTHON vs GO
seven questions, the same to both, and the document each answer is written in
PYTHON vs JAVASCRIPT
seven questions, the same to both, and the document each answer is written in
PYTHON vs RUST
seven questions, the same to both, and the document each answer is written in
THE ORDER OF REDIRECTIONS
Redirections are done from left to right, and “2>&1” copies where the output points at that very moment: the file first — and it holds two lines; the copy first — one
REGULAR EXPRESSIONS
anchors, classes, quantifiers and groups: what a pattern is made of and how it reads, token by token
TIMESTAMPS
date, time and offset from UTC in one string: what it is made of and what it is not
SEMANTIC VERSIONING
what each of the three numbers means, what may follow them, and the order versions stand in