Last active
March 16, 2018 17:18
-
-
Save DorkNstein/de3eb83db58e030664d42122369a0428 to your computer and use it in GitHub Desktop.
Mac Terminal Tricks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Tip 1: | |
zip -e [new file name].zip [file path] | |
# Tip 2: | |
defaults write -g PMPrintingExpandedStateForPrint -bool TRUE | |
# Reverse: | |
defaults write -g PMPrintingExpandedStateForPrint -bool FALSE | |
# Tip 3: | |
defaults write com.apple.dashboard mcx-disabled -boolean TRUE; killall Dock | |
# Reverse: | |
defaults write com.apple.dashboard mcx-disabled -boolean FALSE; killall Dock | |
# Tip 4a: | |
defaults write com.apple.dock autohide-delay -float 0; killall Dock | |
# Reverse | |
defaults write com.apple.dock autohide-delay -float 1; killall Dock | |
# Tip 4b: | |
defaults write com.apple.dock autohide-time-modifier -float 0; killall Dock | |
# Reverse | |
defaults delete com.apple.dock autohide-time-modifier; killall Dock | |
# Tip 5: | |
defaults write com.apple.screencapture disable-shadow -bool TRUE; killall SystemUIServer | |
# Reverse | |
defaults write com.apple.screencapture disable-shadow -bool FALSE; killall SystemUIServer |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment