make a string url-safe

When running devops scripts (among other things), we often need to get a url-safe representation of an arbitrary string. This is commonly known as “url slug” by the average netizens. As my JavaScript is better than my bash, and npx is more universally available than my capability to master both Windows and Linux shell scripts, […]

Read More make a string url-safe

npm dtrace-provider occasional issue

Context: if you use a node module having dtrace-provider as one of its dependencies, even primary or optional, once in a while you may notice a peculiar error spit out from your node processes: Error: Cannot find module ‘./build/Debug/DTraceProviderBindings’ This usually happens when I upgrade my Node.js version then go back to maintaining a few week […]

Read More npm dtrace-provider occasional issue