Skip to content

Instantly share code, notes, and snippets.

@Jeket
Last active October 16, 2020 05:36
Show Gist options
  • Save Jeket/8d3a1cc6047f35f39414c18b1cd40c5b to your computer and use it in GitHub Desktop.
Save Jeket/8d3a1cc6047f35f39414c18b1cd40c5b to your computer and use it in GitHub Desktop.
OSX settings

OSX settings

#avoid creating .DS_Store files on network volumes
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true

#avoid creating .DS_Store files on USB Volumes
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true

#Show what WIFI related components have debug logging enabled with
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport debug

#Disable all debug logging
/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport debug -AllUserland -AllDriver -AllVendor

#Show WIFI debug log settings
sudo wdutil log

#Disable WIFI debug log
sudo wdutil log -wifi

#Uninstall Google Update
~/Library/Google/GoogleSoftwareUpdate/GoogleSoftwareUpdate.bundle/Contents/Resources/ksinstall --nuke

Infrared Receiver

# Status
defaults read /Library/Preferences/com.apple.driver.AppleIRController DeviceEnabled

# Enable (Default)
defaults write /Library/Preferences/com.apple.driver.AppleIRController DeviceEnabled -int 1

# Disable
defaults write /Library/Preferences/com.apple.driver.AppleIRController DeviceEnabled -int 0

Save Dialogs

Significantly improve the now rather slow animation in save dialogs.

defaults write NSGlobalDomain NSWindowResizeTime .001

Spotlight Indexing

# Disable
sudo mdutil -pEsa -i off -da

Zsh

Install the latest version and set as current user's default shell:

brew install zsh && \
sudo sh -c 'echo $(brew --prefix)/bin/zsh >> /etc/shells' && \
chsh -s $(brew --prefix)/bin/zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment