Advanced macOS Command-Line Tools Useful built-in macOS command-line utilities 苹果:为了安全让 M2 吃灰 sips - image manipulation sips -z <height> <width> <image> resizes the specified image, ignoring the previous …
MacOS
All posts
Create macOS DMG and Bootable ISO dmg AppStore ==> search ‘install macos’ ==> get installer ==> du -sh /Applications/Install\ macOS\ Mojave.app/ Disk Utility ==> File ==> New Image ==> Blank Image Size: …
My Productivity Mac Settings and Apps Control dark mode per app https://nightowlapp.co/ brew install --cask nightowl Control external monitor brightness with the keyboard - MonitorControl …
Inspecting Web Views in macOS defaults write NSGlobalDomain WebKitDeveloperExtras -bool true defaults write -g WebKitDeveloperExtras -bool YES
Let Zsh read macOS system proxy settings and set env vars $ system_profiler SPNetworkDataType # get full network configuration $ networksetup -listallnetworkservices # list all network services $ networksetup …
Set SSLKEYLOGFILE on MacBook to decrypt HTTPS traffic Create keylogfile mkdir ~/sslkeylogfile && touch ~/sslkeylogfile/keylogfile.log # create keylogfile.log sudo chmod 777 ~/sslkeylogfile/keylogfile.log # …