Add Notification Center snippet
This commit is contained in:
parent
e429171786
commit
cae4f4a81b
@ -181,6 +181,12 @@ cat whatever.txt | pbcopy
|
|||||||
pbpaste > whatever.txt
|
pbpaste > whatever.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Disable/enable Notification Center
|
||||||
|
```bash
|
||||||
|
launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist && killall -9 NotificationCenter
|
||||||
|
launchctl load -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist
|
||||||
|
```
|
||||||
|
|
||||||
### Eject all mountable volumes
|
### Eject all mountable volumes
|
||||||
```bash
|
```bash
|
||||||
osascript -e 'tell application "Finder" to eject (every disk whose ejectable is true)'
|
osascript -e 'tell application "Finder" to eject (every disk whose ejectable is true)'
|
||||||
|
Loading…
Reference in New Issue
Block a user