stdoutamir.hashnode.devBring Your CLI to Life with chalkIf you’ve ever littered your Node scripts with raw ANSI escape codes (\x1b[31m, anyone?) you’ll feel the same relief I did when I stumbled across chalk. This tiny npm package lets you paint text in the terminal with readable, chainable syntax, no mag...Jun 28, 2025·3 min read
stdoutamir.hashnode.devMeasuring the Web Like a Pro: A Practical Guide to the Performance APIStop guessing why your page “feels” slow. The Performance API lets you profile everything from first paint to late-night layout thrashing, with millisecond precision, right in production. 1. Why Bother? Frontend frameworks, mega-bundles, third-party...Jun 26, 2025·4 min read
stdoutamir.hashnode.devHeadless Console Sorcery: Running Off Browser Scripts with Puppeteer inside DockerAutomating a bit of JavaScript in the browser console can save hours of repetitive clicking, but doing it reliably in a containerised CI or server environment introduces a fresh set of head-scratchers.This post walks through the approach I landed on ...Apr 19, 2025·4 min read
stdoutamir.hashnode.devInstalling Plex Media Server on Daphile (Gentoo/OpenRC)TL;DR – On Daphile beta you get SSH, so you can shell in, grab the latest .deb from Plex’s site, unpack it with ar, drop it into /opt, add an OpenRC init script (escape those spaces), and stream away. Future upgrades are the same dance in fast-forwar...Mar 18, 2025·3 min read
stdoutamir.hashnode.devCopying to the Clipboard in 2025Copy-to-clipboard helpers feel almost primitive today, yet they still pop up in projects every week. The gist you shared shows the classic pattern that dominated for years: // Legacy helper function copyToClipboard(text) { const el = document.creat...Mar 6, 2025·2 min read