Calling Sublime from Terminal

I work a lot from the command-line. From SSH sessions to automation scripts. My finger memory is always wanting to "$ vim <filename>" when I need to edit a text file. There is certainly nothing wrong with VIM, but, Sublime Text Editor has far more useful keyboard shortcuts (including their famous multi-cursors). So, I needed a way to call up the editor for a file from a command line on my Mac.  It's pretty easy using the "alias" and "open" commands.  To open an application from the command-line, you would use: NOTE:  See a simpler, alternative way at end of post $ open -a Sublime\...

Using Python for Juniper on a Mac

Juniper Networks has developed a python library to manage their devices.  The library is called "junos-eznc" hosted at GitHub.  This library is meant to be able to handle commands programmatically that you would usually do at a CLI.  In order to use it, you will need to also install "ncclient" which implements NETCONF in python.  The easiest way to install is to use PIP. MacPro:~ aaronpaxson$  sudo pip install ncclient MacPro:~ aaronpaxson$  sudo pip install junos-eznc If you receive an error regarding "error: 'cc' failed with exit status 1", this is because you don't have the C compiler in...

Can’t open Parallels after Mountain Lion update

I just upgraded my Mac to Mountain Lion.  So far, I like it.  Especially the integration of Twitter into the OS, and the enhancements to iChat (now called Messages).  However, there was one thing that bothered me, when I tried to open Parallels. First off, my Parallels dock icon showed it cannot be opened:  You may also get the error message "You can't use this version of the application Parallels with this version of OS X."   According to Parallels website, you need to re-install using the latest build of the app.