Tag: scripting

How to write or paste Markdown into Slack messages and have it formatted correctly, while still keeping the format toolbar, by using HTML pasting.

What are shell (bash, zsh, etc.) heredocs (Here Documents), and why they are so fun and useful to have. Covers both the basics and advanced usage and tricks.

Simple JavaScript snippet to manage YouTube history in bulk.

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.