How To Associate All Log Files with MacVim

Author: , April 12th, 2017

You can associate a file extension with an app (such as MacVim) via the “Info dialog”. Just select the file and hit Cmd-i, then go to the “Open with” tab, select app and hit “Change all…”. This will change the default application for that file type.

How To Fix Excel for Mac Arrow Keys Do Not Move Cell Cursor

Author: , April 5th, 2017

As per MS Support page: “My arrow keys don’t move from cell to cell” Press SHIFT+F14 to toggle the Scroll Lock to the off position. Applies To: Excel for Mac 2011 Cause: Scroll Lock is turned on and causing the arrow keys to scroll the workbook area. Solution: Turn off Scroll Lock. Typically, when a […]

How To Create a Bootable MacOSX USB Flash Drive

Author: , June 11th, 2016

As the root user, execute: “/Applications/Install OS X El Capitan.app/Contents/Resources/createinstallmedia” –volume /Volumes/{USB_DRIVE_NAME_HERE}/ –applicationpath “/Applications/Install OS X El Capitan.app” Be sure to include the required double-quotes, or use backslashes to escape the spaces in the path. Full instructions may be found on the Apple site: https://support.apple.com/en-us/HT201372 Turn on your Mac by pressing the power button Press […]

How To Eject a Volume from the Terminal Command Line in MacOSX

Author: , December 8th, 2015

As always, YMMV… 1 2 3 4 5 6 7 8 9 #!/bin/bash # Usage: eject [fullpath to mount point] DISK="${1:-/Volumes/YourUSBFlashDriveName/}" df -h "$DISK" > /dev/null 2>&1 if [ $? -eq 0 ]; then    diskutil unmountDIsk `diskutil list "$DISK" | grep ^/dev/` else    echo Volume $DISK is not mounted…skipping. fi #!/bin/bash # Usage: […]

How To Force Key Repeat in MacOSX 10.10 Yosemite

Author: , March 19th, 2015

defaults write -g ApplePressAndHoldEnabled -bool false

How To: Common MacPorts Tasks for MacOSX

Author: , November 20th, 2014

Update Your Ports Tree $ sudo port selfupdate Show Ports Which Need Updating $ port outdated To upgrade all your installed and outdated ports, run $ sudo port upgrade outdated To upgrade only a specific port: $ sudo port upgrade {PORT_NAME} To list inactive ports: $ port installed inactive To remove all inactive ports at […]

How To Fix Safari Crashing in MacOSX

Author: , November 18th, 2013

YMMV… 1 2 3 rm ~/Library/PubSub/Database/Database.sqlite3 cd ~/Library/PubSub/Feeds; rm -r * rm ~/Library/Safari/WebpageIcons.db rm ~/Library/PubSub/Database/Database.sqlite3 cd ~/Library/PubSub/Feeds; rm -r * rm ~/Library/Safari/WebpageIcons.db /usr/bin/sqlite3 ~/Library/PubSub/Database/Database.sqlite3 vacuum

How To Fix Netflix DRM Error N8156-6013 on MacOSX

Author: , June 16th, 2013

I tried to use my new Harman Kardon bluetooth headphones with Netflix running on Firefox and got the following message: “Digital Rights Management Error DRM N8156-6013, please call Netflix support” Netflix uses Microsoft Silverlight for DRM. Silverlight creates a licensing file that identifies your computer hardware. This file needs to be deleted, and will be […]

How To use the MacBook Air SuperDrive on other Mac computers

Author: , June 11th, 2013

Edit the file: /Library/Preferences/SystemConfiguration/com.apple.Boot.plist Make sure that the two lines “Kernel Flags” and “mbasd=1″ exist: 1 2 3 4 5 6 7 8 <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict>     <key>Kernel Flags</key>     <string>mbasd=1</string> </dict> </plist> <?xml version=”1.0″ encoding=”UTF-8″?> <!DOCTYPE plist PUBLIC “-//Apple Computer//DTD PLIST […]

How To Keep SSH Alive In MacOSX Lion Terminal Sessions

Author: , May 24th, 2012

Apple’s 10.7 Lion, is NOT my favorite iteration of MacOSX. They continue to make the OS more Windows-like, which means they have started down that slippery slope… In Snow Leopard, I could have my ssh sessions running for weeks. In Lion, the ssh sessions time out with nasty errors, including “Write failed: Broken pipe”. After […]