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 CouchDB.app to your Applications folder, do the following to get access to the CLI tools.
- Open Terminal.
- Edit (nano or vi) your .bash_profile.
- Add the following to the end of it:
export PATH=/Applications/Apache\ CouchDB.app/Contents/Resources/couchdbx-core/bin:$PATH
- Save the file and exit your editor.
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:
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.
Read more →
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:
- `<username>` = your username
- `KomodoEdit` = `KomodoEdit` or `KomodoIDE` depending on which one you’re using
- `7.1` = the version you’re using
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:
- Open a new tab in Chrome
- 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)
- Load the page you want to view headers for
- Switch to your Developer Tools and select Network from the row of buttons across the top
- Click the page you loaded on the left-hand side
- Click Headers in the new row of tabs underneath the top buttons