Blog / Misc.

This section of the site is for "blog" type posts, short asides, and other miscellaneous bits of content that do not qualify as a project or tool.

Why is mapping remote mouse controls, particularly click-and-drag, so complex and often left out of major mobile applications? I cover the options and answers.

How to setup NodeJS based tasks in Windows Task Scheduler, with details for both Yarn and NPM entries. Also explores comparison with CRON and alternatives.

An adventure in trying to write a Gatsby remark plugin to wrap specific markdown blocks (aka MD AST nodes) in custom classed div HTML elements.

5 powerful features that are built-in to Visual Studio Code and do not require any extensions or special toolchains to start using. Improve your dev workflow!

Details on using a Google Cloud Platform Function and NodeJS to maintain a fixed URL that forwards to a dynamic Ngrok host and can be easily redeployed.

Simple example showing how to use http-proxy-middleware with a NodeJS powered Google Cloud Function.

How to use .env files that are in a different directory than a docker-compose YML file, with variable substitution and relative paths. Options and workarounds.

How to test that an array does not include any members of another array with Chai JS and Mocha framework. Explains workaround and why certain tests don't work.

Information about public Reddit APIs, building post preview embeds, parsing Reddit JSON data, and an example of a custom Reddit embed generator.

Tips and tricks on sharing global variable values, inject values, capturing variables, and general NodeJS workarounds for if you can't edit a file.