Delete a route in Mac OS X Yosemite

I realized I had a post for how to add a static route, but didn’t have one for how to delete one…. So here ya go!  

How to Add a Route in Mac OS X Mavericks

Ever have need to access a network that your default gateway (router) doesn’t know about?  Just add the route via the CLI/Terminal on a Mac OS X running Mavericks! The command is sudo route -n add (network) (gateway)

Enable VNC from Command line on a Mac

I rarely use VNC because there are more secure methods of remote management out there. But sometimes, when those methods fail, I need a backup. Here’s a way to turn on VNC from the command line in Mac OS X:

If you need to reset the VNC password via command line use this command … Continue Reading

Where is httpd.conf on Mac OS X Server?

Mac OS X Server is awesome! But it “hides” configuration files for some of the services it runs. Finding them can be a pain… This is the directory where OS X Server puts all of the relevant httpd.conf files: /Library/Server/Web/Config/apache2/sites/

Show the entire contents of a file in Linux/Ubuntu/Mac

I’m primarily a Juniper engineer, so most of my commands are followed by ” | no-more”. If you’re like me, you probably like to print the entire contents of files/output and scroll up within the terminal. There’s a super easy command that will print the contents of a file to the screen. “cat” cat output.txt

Split large text files in Mac/Nix

Lets say you have a file full of passwords that is 62,000 lines and you want to chop the file into bite-sized pieces. There is an easy terminal command to help you with that! To split into multiple 1000 line files with a prefix of “SPLAT” here is the command: split -l 1000 textfile.txt SPLAT

Cafe Intermezzo

My Favorite Places: Cafe Intermezzo

The Atlanta airport is the busiest airport in the world.  There are 6 bustling terminals with a new one being added soon.  No matter what time you fly into ATL, you’re bound to see thousands of people.  It’s a bit nerve racking.  I’ve seen normal looking people lose it in the gate areas.  I have no doubt … Continue Reading

How to completely remove Xcode from a mac.

Xcode is a HUGE download and installation and can take up valuable space. If you’ve previously installed Xcode from a download instead of the Mac App Store, it’s time to do this and start fresh anyway. From the terminal: sudo /Developer/Library/uninstall-devtools –mode=all

How-to: Update Dropbox Website Indices with pyndexer

pyndexer is a python script to automatically index all of your public dropbox folders and place the index files in your dropbox. Like This.  This allows you to create a web-based file directory for users to view your dropbox files instead of having to know the exact URL of a file. First off, this how-to … Continue Reading