- page 7

How to fix os x mountain lion download paused

How to fix os x mountain lion download paused

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…

Continue reading →

Toggling hidden files on Finder

Toggling hidden files on Finder

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…

Continue reading →

How to disable adobe update manager

How to disable adobe update manager

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…

Continue reading →

How to retrieve Perforce password.

How to retrieve Perforce password.

Open the terminal and write echo $P4PASSWD

Continue reading →

Reinstall ports

Reinstall ports

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…

Continue reading →

How to Install Java 6 on Mac

How to Install Java 6 on Mac

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.

Continue reading →

How to get your online secret key directly to your terminal without saving it.

How to get your online secret key directly to your terminal without saving it.

wget -qO- http://your-secret-link.asc | gpg -d

Continue reading →

The request to Suspend this virtual machine failed because the corresponding VMware Tools script did not run successfully.

The request to Suspend this virtual machine failed because the corresponding VMware Tools script did not run successfully.

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…

Continue reading →

BASH Rename all file in a directory

BASH Rename all file in a directory

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// /.}

Continue reading →

How can I edit the welcome message when ssh start?

How can I edit the welcome message when ssh start?

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

Continue reading →

Page 7 of 16 ← First ... 5 6 7 8 9 ... Last →