Category: Mountain Lion

  • Get rid of double (triple) entries in Finder’s “Open With” Menu

    Does sh*t like this make you wanna smack your mac :-) Here is a quick way to rebuild the Launch Services database and get rid of duplicates in the Open With submenu: /System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user This process should take about a minute or two. You should check to see…

  • Renew a DHCP lease

    Renew a DHCP lease: Renewing a DHCP lease via the Network System Preference Pane has the advantage of not dropping the connection, unlike switching the interface to BOOTP and back to DHCP. This command mimics that behavior.  (Via MacOSXHints.com)

  • How to Run Mac OS X Inside Windows Using VirtualBox

    How to Run Mac OS X Inside Windows Using VirtualBox: Maybe you’d like to test drive OS X before switching to a Mac or building a Hackintosh, or maybe you just want to run that one killer OS X app on your Windows machine. Whatever your reason, you can actually install and run OS X on any Intel-based…

  • View more export options in Preview

    View more export options in Preview: Preview in 10.8 has removed a number of export options. If you choose File > Export, there are only six options in the Format popup menu, compared to 13 in the Lion version of the application.  Alas, this is yet another feature that has more options hidden behind an…

  • Flush DNS cache in Lion and Mountain Lion

    Flush DNS cache in Lion and Mountain Lion: To flush the DNS cache in Mac OS X 10.5 and 10.6, run this command in Terminal:  sudo dscacheutil -flushcache To do the same in 10.7 and 10.8, run this command:  sudo killall -HUP mDNSResponder (Via MacOSXHints.com)

  • CLI commands that let you access meta data of all files in OSX

    Two small commands with huge possibilities: mdls  usage: mdls [-name attr] [-raw [-nullMarker markerString]] [-plist file] pathlist the values of one or all the attributes of the specified file -raw: don’t print attribute names before values -nullMarker: substitute this string for null attributes in raw mode -plist: output attributes in XML format to file. Use…

  • Everything you ever needed to know about OSX launchd

    Great in-depth article by Nathan Grigg. Everything you ever wanted to know about launchd and how job scheduling can be easily done under OSX.

  • Get Control of Mountain Lion with a huge list of command line tweaks…..

    As pointed out to me in the comments the original Author — Mathias Bynens — is constantly updating this document. You can find the latest up to date version at http://mths.be/osx # ~/.osx — http://mths.be/osx ############################################################################### # General UI/UX # ############################################################################### # Set computer name (as done via System Preferences → Sharing) scutil –set ComputerName…

  • Create a Mountain Lion Install DVD or USB Drive after App Store purchase

    Once you’ve purchased Mountain Lion from the App Store, follow these steps to create a backup install DVD or flash drive Download Lion from the Mac App Store—but don’t install it yet, because of the disappearing installer issue noted above. Find the installer in your Applications folder and right-click on it then select “Show Package…