Tag: scripting

A short guide on how to get and use local binary paths for packages installed through NPM or Yarn, under node_modules, for multiple OSes.

How to use various tools to extract the word count from a markdown file, or even the summed count across multiple nested markdown files.

Bookmarklet to enable Picture-in-Picture (PiP) support on sites that try to disable it, such as Hulu, and especially in browsers that honor it, such as Chrome.

Using TP-Link Kasa, Google Apps Script, Android, and Automagic to automate my morning wake up alarm and turn on the lights.

Utility program, built with AutoHotkey, to use the right mouse button to start a click and drag operation. Useful for certain remote control / VNC clients.

Solutions and tips on how to use "created" and "last updated" date and timestamps with Gatsby and Git, including a fully automated approach with git hooks.

A breakdown of different ways to embed static and dynamic content into iframes, and dynamically generate iframe embeds on both the client-side and server-side.

Reusable Node script that can be passed CLI arguments for a remote file to be downloaded, and optionally integrity checked against a known file hash.

Batch script to kill and restart dropbox client on Windows.

Some code examples on how to force wow.js (aka WOW) to trigger on content that suddenly becomes visible, and/or force it to reanimate on ANY element.