Skip to content

Instantly share code, notes, and snippets.

View sdrik's full-sized avatar

Cédric Schieli sdrik

  • Neuf-Brisach, France
View GitHub Profile
@sdrik
sdrik / pretty_ldif.sh
Created September 22, 2019 09:18
Prettify LDIF output in BASH
function ldif_decode {
if [[ "$1" =~ ^([^:]*)::\ (.*)$ ]]
then
echo "${BASH_REMATCH[1]}: $(base64 -d <<< "${BASH_REMATCH[2]}")"
else
echo "$1"
fi
}
function pretty_ldif {
@sdrik
sdrik / tmux-control-mode-history.md
Created July 12, 2026 09:47
tmux Control Mode Protocol — complete commit-by-commit history (tmux -C/-CC), reconstructed from source & git history

tmux Control Mode Protocol — Complete History

A commit-by-commit history of tmux control mode (tmux -C / -CC), the text protocol used by iTerm2, WezTerm and similar integrations. For every protocol change: the introducing commit and the release it first shipped in.

Reconstructed from the source code and git history, not from documentation.

Method