cooliris is a nice app, but has no utility.
source: http://discussions.apple.com/thread.jspa?threadID=1730494&tstart=0
1 tell application "Safari" to quit
2 do shell script "rm -rf ~/Library/Preferences/com.cooliris.safariplugin.plist" with administrator privileges
3 do shell script "rm -rf ~/Library/Application\\ Support/Cooliris/" with administrator privileges and password
4 do shell script "rm -rf /Library/Receipts/cooliriswebkitplugin.pkg" with administrator privileges and password
5 do shell script "rm -rf /Library/Receipts/cooliris.pkg" with administrator privileges and password
6 do shell script "rm -rf /Library/Internet\\ Plug-Ins/CoolirisWebKitPlugin.plugin" with administrator privileges and password
7 do shell script "rm -rf /Library/InputManagers/Cooliris/" with administrator privileges and password
8 display dialog "Cooliris files are deleted." buttons {"Quit"} default button 1 cancel button "Quit"
9
tell application "Safari" to quit
do shell script "rm -rf ~/Library/Preferences/com.cooliris.safariplugin.plist" with administrator privileges
do shell script "rm -rf ~/Library/Application\\ Support/Cooliris/" with administrator privileges and password
do shell script "rm -rf /Library/Receipts/cooliriswebkitplugin.pkg" with administrator privileges and password
do shell script "rm -rf /Library/Receipts/cooliris.pkg" with administrator privileges and password
do shell script "rm -rf /Library/Internet\\ Plug-Ins/CoolirisWebKitPlugin.plugin" with administrator privileges and password
do shell script "rm -rf /Library/InputManagers/Cooliris/" with administrator privileges and password
display dialog "Cooliris files are deleted." buttons {"Quit"} default button 1 cancel button "Quit"
1 cd /Volumes/your_drive
2 touch .metadata_never_index
cd /Volumes/your_drive
touch .metadata_never_index
1 input:focus { outline: none; }
input:focus { outline: none; }
the alias command makes it possible to launch any command using a pre-set string. i love it!
1 $ alias mypassword="echo '123456'"
2
3 $ mypassword # return '123456'
$ alias mypassword="echo '123456'"
$ mypassword # return '123456'
1 sudo launchctl unload -w /Library/LaunchDaemons/com.mysql.mysqld.plist
2 sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysqld.plis
sudo launchctl unload -w /Library/LaunchDaemons/com.mysql.mysqld.plist
sudo launchctl load -w /Library/LaunchDaemons/com.mysql.mysqld.plis
1 defaults write com.apple.dock contents-immutable -bool true
defaults write com.apple.dock contents-immutable -bool true
1 /usr/sbin/system_profiler SPHardwareDataType | /usr/bin/awk '/Serial Number/ {print $3}'
/usr/sbin/system_profiler SPHardwareDataType | /usr/bin/awk '/Serial Number/ {print $3}'
open your ~/.bash_profile, paste and be happy!
1 export CLICOLOR=1
2 export LSCOLORS=ExFxCxDxBxegedabagacad
export CLICOLOR=1
export LSCOLORS=ExFxCxDxBxegedabagacad
1 defaults write com.apple.screencapture type jpg
defaults write com.apple.screencapture type jpg
1 defaults write com.apple.screencapture disable-shadow -bool true
2 killall SystemUIServer
defaults write com.apple.screencapture disable-shadow -bool true
killall SystemUIServer