Settings

To play X, stop playing on another device.

1
defaults write com.apple.Music no-bouncing -bool TRUE

Upgrade Bash

1
2
3
4
brew update
brew install bash
sudo bash -c 'echo /opt/homebrew/bin/bash >> /etc/shells' && sudo -k
chsh -s /opt/homebrew/bin/bash

Flush DNS cache

1
sudo dscacheutil -flushcache; sudo killall -HUP mDNSResponder

Disk Not Ejected

1
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.DiskArbitration.diskarbitrationd.plist DADisableEjectNotification -bool YES && sudo pkill diskarbitrationd

How to disable System Integrity Protection and enable it

1
csrutil disable

Globally disabling the assessment system needs to be confirmed in System Settings.

1
spctl --master-disable

Disable Microsoft AutoUpdater

1
2
3
4
5
# disable the service
launchctl disable gui/$(id -u)/com.microsoft.update.agent

# check that the service is disabled
launchctl print-disabled gui/$(id -u) | grep microsoft