Luke Oliff.
2020
TIL: Creating an HTTP Server With the Node.js http ModuleOriginalNode's built-in http module creates a working server in five lines. No Express, no dependencies, just a callback and a port.TIL
TIL: Managing Environment Variables With .env Files in Node.jsOriginalA .env file keeps API keys and config out of your code. The dotenv package loads them into process.env with zero config.TIL
TIL: Testing Webhooks With curlOriginalA curl POST to your webhook endpoint with a JSON body simulates any provider. No dashboard, no test suite, just response codes and latency.TIL
TIL: Debugging Node.js With the Built-in InspectorOriginalnode --inspect opens Chrome DevTools for your server process. Breakpoints, heap snapshots, profiling — no console.log needed.TIL
TIL: Lazy Loading Vue Router Routes With Dynamic ImportsOriginalA dynamic import in your router config splits your Vue bundle per route. Pages load on demand instead of all at once.TIL
TIL: Chaining Promises With Async Await in Node.jsOriginalAsync await turns nested .then chains into flat readable code. One async function wrapper is all it takes to clean up any Node.js callback mess.TIL
2019
TIL: Recording Terminal Sessions With script and scriptreplayOriginalThe script command records everything in your terminal to a file. scriptreplay plays it back. Built into macOS and Linux, zero install.TIL
TIL: Parsing JSON API Responses With jq in the TerminalOriginalPipe any JSON response into jq and get coloured, filtered, transformed output without opening a file or writing a parser.TIL
TIL: Forwarding Localhost With ngrok for Webhook DevOriginalOne ngrok command gives any local server a public HTTPS URL. Webhook testing goes from impossible to trivial in under five seconds.TIL
TIL: Testing WebSocket Connections With wscatOriginalA single wscat command opens an interactive WebSocket session to any endpoint. No browser, no boilerplate, just connect and send messages.TIL