Plurrrr

a tumblelog
11 Jun 2019

IP address of the first network interface on macOS

To get the IP address of the first network interface on macOS use:

ipconfig getifaddr en0

Disable screenshot drop shadows on macOS

To disable screenshot drop shadows on macOS use:

defaults write \
   com.apple.screencapture \
   disable-shadow -bool TRUE
killall SystemUIServer

Replace TRUE with FALSE to revert back to the default.