nabeards.com

Tech Notes (35)

Using cURL to get just the HTTP status code

There are a few ways to accomplish getting just the HTTP status code for a URL using cURL, but many…

  • More

Test Network Quality from macOS with results similar to Fast.com

Excellent tool to quickly test the current network’s download and upload speeds. % networkQuality ==== SUMMARY ==== Upload capacity: 10.767…

  • More

Time Machine backups ignoring NPM modules

My Time Machine backups started taking an insane amount of time to complete. After some research, I was able to…

  • More

Send Docker container traffic through second VNIC on Oracle Cloud Compute Instances

I have a need to route all traffic to a running Docker conainer through a second network interface card (NIC)…

  • More

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.

  • More

Converting any binary to base64 using FileReader and Blob

To base64-encode a Uint8Array with arbitrary data (not necessarily UTF-8) using native browser functionality: const base64_arraybuffer = async (data) =>…

  • More

Locking and Unlocking a file in macOS from the cli

To lock the file: chflags uchg {file path} To unlock the file: chflags nouchg {file path} Keywords: lock, unlock, command…

  • More

Command line batch file rename with regex

for file in A2B*.bif; do mv "$file" "${file//A2B/a02b}"; done make lowercase: for folder in *; do mv -nv "$folder" "`echo…

  • More

Make iPhone HDR video not washed out in macOS and Photos

Install macOS iMovie 10.2 or later or iOS iMovie 3.0 or later Bring the clip into a new iMovie project…

  • More

git get list of changed files

git diff --name-only <SHA, tag start> <SHA, tag end> Or with the actions performed: git diff --name-status <SHA, tag start>…

  • More
Older Posts Page 1 of 4

Menu

  • Home
  • Presearch
  • Tech Notes

© nabeards