Luke Oliff.
2024
TIL: Testing npm Packages Locally With npm linkOriginalnpm link creates a symlink so your local package behaves like an installed one. Test SDK changes in a real project before publishing.TIL
2023
TIL: Managing Processes With pgrep and pkillOriginalpgrep finds processes by name. pkill kills them. No more ps aux | grep to find and kill a runaway Node process.TIL
TIL: Installing Specific Tool Versions With asdfOriginalasdf manages multiple language runtimes from one tool. A single .tool-versions file pins Node.js, Python, and everything else per project.TIL
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