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
|
defaults write com.bohemiancoding.sketch3 exportCompactSVG -bool yes
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## Developer
|
## Developer
|
||||||
|
|
||||||
### Xcode
|
### Xcode
|
||||||
@ -177,7 +178,7 @@ You don't have to use the Disk Utility GUI for this.
|
|||||||
sudo diskutil repairPermissions /
|
sudo diskutil repairPermissions /
|
||||||
```
|
```
|
||||||
|
|
||||||
### Set Boot Volume
|
#### Set Boot Volume
|
||||||
```bash
|
```bash
|
||||||
bless --mount "/path/to/mounted/volume" --setBoot
|
bless --mount "/path/to/mounted/volume" --setBoot
|
||||||
```
|
```
|
||||||
@ -363,12 +364,12 @@ sudo dscachutil -flushcache && sudo killall -HUP mDNSResponder
|
|||||||
#### Set Hostname
|
#### Set Hostname
|
||||||
You need to run all of the commands since the hostname needs to be changed in three places.
|
You need to run all of the commands since the hostname needs to be changed in three places.
|
||||||
```bash
|
```bash
|
||||||
sudo scutil --set ComputerName "newhostname"
|
sudo scutil --set ComputerName "newhostname"
|
||||||
sudo scutil --set LocalHostName "newhostname"
|
sudo scutil --set LocalHostName "newhostname"
|
||||||
sudo scutil --set HostName "newhostname"
|
sudo scutil --set HostName "newhostname"
|
||||||
```
|
```
|
||||||
|
|
||||||
### Networking Tools
|
### Networking Tools
|
||||||
|
|
||||||
#### Ping a Host to See Whether It’s Available
|
#### Ping a Host to See Whether It’s Available
|
||||||
```bash
|
```bash
|
||||||
@ -464,7 +465,7 @@ srm -rf /path/to/complete/destruction
|
|||||||
#### Execute AppleScript
|
#### Execute AppleScript
|
||||||
```bash
|
```bash
|
||||||
osascript /path/to/script.scpt
|
osascript /path/to/script.scpt
|
||||||
````
|
```
|
||||||
|
|
||||||
### Basics
|
### Basics
|
||||||
|
|
||||||
@ -550,7 +551,6 @@ launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.
|
|||||||
launchctl load -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist
|
launchctl load -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### QuickLook
|
### QuickLook
|
||||||
|
|
||||||
#### Preview via QuickLook
|
#### Preview via QuickLook
|
||||||
@ -558,7 +558,6 @@ launchctl load -w /System/Library/LaunchAgents/com.apple.notificationcenterui.pl
|
|||||||
qlmanage -p /path/to/file
|
qlmanage -p /path/to/file
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Root User
|
### Root User
|
||||||
|
|
||||||
#### Enable Root User
|
#### Enable Root User
|
||||||
@ -588,7 +587,6 @@ sudo nvram boot-args="-x"
|
|||||||
sudo nvram boot-args=""
|
sudo nvram boot-args=""
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Software Installation
|
### Software Installation
|
||||||
|
|
||||||
#### Install PKG
|
#### Install PKG
|
||||||
@ -596,7 +594,6 @@ sudo nvram boot-args=""
|
|||||||
installer -pkg /path/to/installer.pkg -target /
|
installer -pkg /path/to/installer.pkg -target /
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
### Spotlight
|
### Spotlight
|
||||||
|
|
||||||
#### Disable Indexing
|
#### Disable Indexing
|
||||||
@ -619,6 +616,7 @@ mdutil -E /path/to/volume
|
|||||||
mdfind -name 'searchterm'
|
mdfind -name 'searchterm'
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
## License
|
## 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>.
|
<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