CouchDB CLI on Mac OS X

CouchDB now includes a fancy, pre-compiled OS X app file that you can download.  This works fine, except that the CLI (command-line interface) tools don’t get automatically added to the path.  So, after dragging Apache to your Applications folder, do the following to get access to the CLI tools.

  1. Open Terminal.
  2. Edit (nano or vi) your .bash_profile.
  3. Add the following to the end of it:
    export PATH=/Applications/Apache\$PATH

  4. Save the file and exit your editor.
  5. Type source .bash_profile to load the .bash_profile and gain immediate access to the CLI tools.

Once you’ve done this, paths referenced via couchdb -c will be relative to:


Mavericks Broke My Apache!

Note: Instead of doing everything below, you could just restore the backup of your httpd.conf that the Mavericks install created at /etc/apache2/httpd.conf~previous. Wish I knew that 8 hours ago.

Because I like shiny new things, I decided to upgrade to Mavericks (OS X 10.9) last night.  The upgrade finished around 1am, at which point I was tired, so I went to sleep.  I woke up this morning to start my day, only to realize that all of my Apache Virtual Hosts were throwing 403: Forbidden errors.  After a couple hours of chmod, chown, editing conf files and banging my head against the wall, I finally got it working.  So if this happened to you, hopefully the following steps will help.

Komodo Edit/IDE Color Scheme Location on OSX

More for me because I have to look this up every time I need it, but if you’re trying to figure out where Komodo Edit (or IDE) stores its color schemes on OSX, it’s in:

`/Users/<username>/Library/Application Support/KomodoEdit/7.1/schemes`


  • `<username>` = your username
  • `KomodoEdit` = `KomodoEdit` or `KomodoIDE` depending on which one you’re using
  • `7.1` = the version you’re using

Also, I’m using a modified version of Solarized Dark (originally from we3geeks) which has better JavaScript color support and a few other tweaks.  To install it, just download the ksf file and drag it into Komodo.

Download Solarized-Dark-Modified

View HTTP Headers in Chrome

I had to dig for this one.  Found a few references on the web, but either the location has moved since they were posted or the Windows version differs from the Mac version.  At any rate, to view the HTTP headers in Chrome on Mac do the following:

  1. Open a new tab in Chrome
  2. Hit Command-Option-i to bring up the Developer Tools (it’s important you do this before loading the page or the headers won’t be captured)
  3. Load the page you want to view headers for
  4. Switch to your Developer Tools and select Network from the row of buttons across the top
  5. Click the page you loaded on the left-hand side
  6. Click Headers in the new row of tabs underneath the top buttons