Skip to content

Instantly share code, notes, and snippets.

View QuantenGhost's full-sized avatar

QuantenGhost QuantenGhost

View GitHub Profile
Mac Network Commands Cheat Sheet
After writing up the presentation for MacSysAdmin in Sweden, I decided to go ahead and throw these into a quick cheat sheet for anyone who’d like to have them all in one place. Good luck out there, and stay salty.
Get an ip address for en0:
ipconfig getifaddr en0
Same thing, but setting and echoing a variable:
brew update && brew install imagemagick
mkdir med
cp *.j* med/
cd med
for f in *.jpg; do convert $f -resize 1920x1080\> $f; done
cd ..
mkdir min
cp med/* min/
brew update && brew install imagemagick
for i in *.j*g; do convert -sampling-factor 4:2:0 -strip -quality 85 -interlace JPEG -colorspace RGB $i $i; done
@QuantenGhost
QuantenGhost / keybase.md
Last active April 11, 2022 00:33
Verification of my GitHub account using PGP https://keybase.io/quantenghost

Keybase proof

I hereby claim:

  • I am quantenghost on github.
  • I am quantenghost (https://keybase.io/quantenghost) on keybase.
  • I have a public key ASAwTWeN2tU3oGTYrN8Fy_3uDFwBofonH80AT2eSCsf_NQo

To claim this, I am signing this object: