Let’s assume you hate Mavericks and you want a new fresh installation of Mountain Lion. You can do that from Snow Leopard and Lion. If you have an original Snow Leopard DVD, then things are easy. You start your Mac holding down the C button…
Let’s assume you hate Mavericks and you want a new fresh installation of Mountain Lion. You can do that from Snow Leopard and Lion. If you have an original Snow Leopard DVD, then things are easy. You start your Mac holding down the C button…
Open automator, choose “run shell script” under “utilities” then use the following code. Save it. STATUS=`defaults read com.apple.finder AppleShowAllFiles` if [ $STATUS == YES ]; then defaults write com.apple.finder AppleShowAllFiles NO else defaults write com.apple.finder AppleShowAllFiles YES fi killall Finder You can assign a short…
You need to create com.adobe.AdobeUpdater.Admin.plist and set its boolean value to true. To achieve this i. Launch Terminal and go to /Applications/Utilities/ ii. Paste the following into the terminal defaults write com.adobe.AdobeUpdater.Admin Disable.Update -bool yes iii. When you hit return, this will create com.adobe.AdobeUpdater.Admin.plist file…
Reinstall ports To reinstall your ports: Save the list of installed ports: port -qv installed > myports.txt Uninstall all installed ports: sudo port -f uninstall installed Clean any partially-completed builds: <pre>sudo port clean all Browse myports.txt and install the ports that you actually want to…
Have you installed the latest OS X (10.9)? If you need to install Java 6 go to this page http://support.apple.com/kb/DL1572?viewlocale=en_US Do not forget to change the setting “allow apps downloaded from” to “anywhere” from your “security & privacy” settings.
wget -qO- http://your-secret-link.asc | gpg -d
Edit /etc/vmware-tools/scripts/vmware/network @@ -78,13 +78,13 @@ run_network_script() [ "$script" != "error" ] || Panic "Cannot find system networking script." # Using SysV "service" if it exists, otherwise fall back to run the script directly – service=`which service 2>/dev/null` – if [ $? = 0 -a…
for file in *.png;do mv "$file" "${file/_h.png/_half.png}"; done Another use case: foo=” ” # replace first blank only bar=${foo/ /.} # replace all blanks bar=${foo// /.}
By default, /etc/motd is a link to /var/run/motd which gets reset every time you login. To make permanent changes you need to remove the link first then change the content of /etc/motd. sudo rm /etc/motd sudo nano /etc/motd