diff --git a/README.md b/README.md index e547e35..7546299 100644 --- a/README.md +++ b/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 Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.