Node.js Checkenv Script with Axios
A small Node.js CLI that polls URLs with Axios and reports when a service becomes ready.
The notebook
Every article in the notebook, newest first.
A small Node.js CLI that polls URLs with Axios and reports when a service becomes ready.
Find and kill the process listening on a TCP port with fuser.
Define parallel stages in a Jenkins pipeline with a Groovy Jenkinsfile.
Open a throwaway TCP server with netcat and connect a client to it.
Install a recent CMake on Ubuntu from Snap or by building a release from source.
Generate a changelog between two Git tags with git log and a custom pretty format.
List available versions with yum --showduplicates and install a specific package version on CentOS/RHEL.
Compute the UTF-8 byte length of a JavaScript string, which String.length does not give you.
Generate a self-signed TLS certificate and key for local development with openssl.
Recover Debian/Ubuntu when apt reports that a package needs to be reinstalled but has no archive.