This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rm -rv ~/Pictures | |
| rm -rv ~/Music | |
| rm -rv ~/Movies | |
| rm -rv ~/Downloads | |
| rm -rv ~/Documents | |
| rm -rv ~/Desktop | |
| rm -rv ~/Applications | |
| rm -rv ~/.ssh | |
| rm -rv ~/.hgext |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo pmset -g | grep hibernatemode | |
| sudo pmset -a hibernatemode 0 | |
| sudo rm -rf /private/var/vm/sleepimage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| defaults read "/Volumes/Mac\ OS\ X\ Install\ ESD/System/Library/CoreServices/SystemVersion" ProductVersion | |
| defaults read "/Volumes/Mac\ OS\ X\ Install\ DVD/System/Library/CoreServices/SystemVersion" ProductVersion |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo launchctl unload /System/Library/LaunchDaemons/com.apple.audio.coreaudiod.plist | |
| sudo rm -rf /Library/Preferences/Audio/com.apple.audio.SystemSettings.plist | |
| sudo rm -rf /Library/Preferences/Audio/com.apple.audio.DeviceSettings.plist | |
| sudo rm -rv /Library/Preferences/com.apple.audio.DeviceSettings.plist | |
| sudo rm -rv /Library/Preferences/com.apple.audio.SystemSettings.plist | |
| sudo rm -rv ~/Library/Preferences/com.apple.audio.AudioMIDISetup.plist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| defaults write com.apple.Xcode PBXCustomTemplateMacroDefinitions '{ORGANIZATIONNAME="1951FDG";}' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| mdfind -onlyin /Applications -onlyin /Developer/Applications "kMDItemContentType == 'com.apple.application-bundle' && kMDItemCFBundleIdentifier == 'com.apple.*'" | while read filename; do basename "$filename"; done | |
| mdfind "kMDItemAppStoreHasReceipt=1" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| open /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Resources/Exceptions.plist | |
| open /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo /usr/libexec/PlistBuddy -c "Add :rights:system.privilege.setugid_appkit:class string allow" /etc/authorization | |
| sudo /usr/libexec/PlistBuddy -c "Delete :rights:system.privilege.setugid_appkit" /etc/authorization |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Use a period as a directory component in a path to represent the current directory, for example ".\temp.txt". | |
| Use two consecutive periods (..) as a directory component in a path to represent the parent of the current directory, for example "..\temp.txt". |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 2011-07-06 - 1.30.1 | |
| svn update -r777 /untitled\ folder/ps3mediaserver/osx/mplayer | |
| svn checkout -r777 http://ps3mediaserver.googlecode.com/svn/trunk/ps3mediaserver | |
| rm -rv /Applications/PS3\ Media\ Server.app | |
| rm -rv /Users/administrator/Library/Application\ Support/PMS | |
| rm -rv /Users/administrator/Library/Application\ Support/PS3\ Media\ Server | |
| cd /Volumes/Untitled/Users/administrator/Developer | |
| svn checkout http://ps3mediaserver.googlecode.com/svn/trunk/ps3mediaserver |
OlderNewer