Luke Oliff.
2024
An open letter on politicsOriginalWhy I judge people by their politics, and why staying neutral is a choice too. On democracy, media, and raising two kids in this world.Open letter
TIL: Visualising Directory Structures With treeOriginaltree prints a directory as a nested tree diagram. Perfect for documenting project layouts in READMEs or during onboarding walkthroughs.TIL
TIL: Interactive Staging With git add -pOriginalgit add -p shows each change hunk by hunk and asks whether to stage it. Commit only the relevant parts of a messy working tree.TIL
TIL: Auto-Running Commands on File Change With entrOriginalentr runs a command every time a watched file changes. Pipe a list of files in, get automatic re-runs out. Lighter than nodemon.TIL
TIL: Running Containers Without Docker With PodmanOriginalPodman runs OCI containers with the same CLI as Docker but daemonless and rootless by default. No Docker Desktop needed.TIL
TIL: Quick Network Debugging With nc (netcat)Originalnc opens raw TCP connections from the terminal. Test if a port is open, send raw HTTP requests, or set up a one-off chat between machines.TIL
TIL: Converting Markdown to PDF With pandocOriginalpandoc turns any Markdown file into a styled PDF with one command. Great for generating docs that non-technical stakeholders can open.TIL
TIL: Using grep -P for Perl-Compatible Regex in the TerminalOriginalgrep -P gives you full Perl regex syntax — lookaheads, non-capturing groups, and character class shortcuts the basic syntax lacks.TIL
TIL: Scripting WebSocket Tests With websocatOriginalwebsocat connects to WebSocket servers from the terminal and pipes data in both directions. Better than wscat for automated testing.TIL
TIL: Creating Python Packages With pyproject.tomlOriginalpyproject.toml replaces setup.py as the standard Python packaging config. One file declares dependencies, build system, and metadata.TIL