Luke Oliff.
2023
TIL: Monitoring File Changes With inotifywait on LinuxOriginalinotifywait blocks until a file or directory changes, then exits. Use it in scripts to trigger actions when new files appear.TIL
TIL: Debugging APIs With httpieOriginalhttpie formats JSON responses, highlights syntax, and shows headers by default. One command is often clearer than curl for exploratory API work.TIL
TIL: Recording Terminal Sessions as SVGs With termtosvgOriginaltermtosvg records your terminal session and outputs an SVG file. Embeddable in docs, zoomable, and smaller than a GIF.TIL
TIL: Parallel Processing in Node.js With worker_threadsOriginalworker_threads runs JavaScript in parallel without the overhead of child processes. Distribute CPU-heavy work across available cores.TIL
TIL: Generating WAV Files at a Specific Sample Rate With SoXOriginalsox generates or converts audio to any sample rate, bit depth, and channel count. Create test fixtures that match your API's exact requirements.TIL
TIL: Batch File Operations With find -execOriginalfind -exec runs any command on every matching file. Bulk rename, convert, or delete without writing a loop or a script.TIL
TIL: Merging PDF Files With pdfuniteOriginalpdfunite combines multiple PDFs into one in a single command. No Adobe subscription, no drag-and-drop, just file paths.TIL
TIL: Implementing Exponential Backoff in TypeScriptOriginalA simple retry loop with exponentially increasing delays handles transient API failures. Add jitter to avoid thundering herd on recovery.TIL
TIL: Finding Duplicate Files With fdupesOriginalfdupes scans a directory tree for duplicate files by comparing checksums. Reclaim disk space from accidental copies and repeated downloads.TIL
TIL: Processing STT Word Timestamps With awkOriginalawk parses word-level timestamps from STT output in one line. Extract, filter, and reformat without importing a CSV library.TIL