Grep stderr to suppress warnings in crontab entry
I needed to setup a crontab entry to restart a node process every week after Let’s Encrypt renewed my certificate.
I needed to setup a crontab entry to restart a node process every week after Let’s Encrypt renewed my certificate.
To base64-encode a Uint8Array with arbitrary data (not necessarily UTF-8) using native browser functionality: const base64_arraybuffer = async (data) =>…
To lock the file: chflags uchg {file path} To unlock the file: chflags nouchg {file path} Keywords: lock, unlock, command…
for file in A2B*.bif; do mv "$file" "${file//A2B/a02b}"; done make lowercase: for folder in *; do mv -nv "$folder" "`echo…
Install macOS iMovie 10.2 or later or iOS iMovie 3.0 or later Bring the clip into a new iMovie project…
git diff --name-only <SHA, tag start> <SHA, tag end> Or with the actions performed: git diff --name-status <SHA, tag start>…
Checks the TLS cert on the connection: curl -v \ --insecure \ --include \ --no-buffer \ --header "Connection: Upgrade" \…
I like to keep a permanent record of my shell commands so I can search back through them later. This…
Error message received: ------------------------------------------------------------------------------------ Ctl Model Ports PDs DGs DNOpt VDs VNOpt BBU sPR DS EHS ASOs Hlth ------------------------------------------------------------------------------------ 0…
declare f="fafafda adffd adfadf adfafd afd" echo $f echo "vs" echo "$f" Output: $./above fafafda adffd adfadf adfafd afd vs…