Minor structural fixes
This commit is contained in:
parent
b49b15b350
commit
1d6afb7268
16
README.md
16
README.md
@ -111,6 +111,7 @@ rm -r ~/Library/Containers/com.apple.RemoteDesktop
|
||||
defaults write com.bohemiancoding.sketch3 exportCompactSVG -bool yes
|
||||
```
|
||||
|
||||
|
||||
## Developer
|
||||
|
||||
### Xcode
|
||||
@ -177,7 +178,7 @@ You don't have to use the Disk Utility GUI for this.
|
||||
sudo diskutil repairPermissions /
|
||||
```
|
||||
|
||||
### Set Boot Volume
|
||||
#### Set Boot Volume
|
||||
```bash
|
||||
bless --mount "/path/to/mounted/volume" --setBoot
|
||||
```
|
||||
@ -363,12 +364,12 @@ sudo dscachutil -flushcache && sudo killall -HUP mDNSResponder
|
||||
#### Set Hostname
|
||||
You need to run all of the commands since the hostname needs to be changed in three places.
|
||||
```bash
|
||||
sudo scutil --set ComputerName "newhostname"
|
||||
sudo scutil --set LocalHostName "newhostname"
|
||||
sudo scutil --set ComputerName "newhostname"
|
||||
sudo scutil --set LocalHostName "newhostname"
|
||||
sudo scutil --set HostName "newhostname"
|
||||
```
|
||||
|
||||
### Networking Tools
|
||||
### Networking Tools
|
||||
|
||||
#### Ping a Host to See Whether It’s Available
|
||||
```bash
|
||||
@ -464,7 +465,7 @@ srm -rf /path/to/complete/destruction
|
||||
#### Execute AppleScript
|
||||
```bash
|
||||
osascript /path/to/script.scpt
|
||||
````
|
||||
```
|
||||
|
||||
### Basics
|
||||
|
||||
@ -550,7 +551,6 @@ launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.
|
||||
launchctl load -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist
|
||||
```
|
||||
|
||||
|
||||
### QuickLook
|
||||
|
||||
#### Preview via QuickLook
|
||||
@ -558,7 +558,6 @@ launchctl load -w /System/Library/LaunchAgents/com.apple.notificationcenterui.pl
|
||||
qlmanage -p /path/to/file
|
||||
```
|
||||
|
||||
|
||||
### Root User
|
||||
|
||||
#### Enable Root User
|
||||
@ -588,7 +587,6 @@ sudo nvram boot-args="-x"
|
||||
sudo nvram boot-args=""
|
||||
```
|
||||
|
||||
|
||||
### Software Installation
|
||||
|
||||
#### Install PKG
|
||||
@ -596,7 +594,6 @@ sudo nvram boot-args=""
|
||||
installer -pkg /path/to/installer.pkg -target /
|
||||
```
|
||||
|
||||
|
||||
### Spotlight
|
||||
|
||||
#### Disable Indexing
|
||||
@ -619,6 +616,7 @@ mdutil -E /path/to/volume
|
||||
mdfind -name 'searchterm'
|
||||
```
|
||||
|
||||
|
||||
## License
|
||||
|
||||
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a><br />This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.
|
||||
|
Loading…
Reference in New Issue
Block a user