Aliasing Loopback on OSX
aka…how to make it possible to use 127.0.0.2, 127.0.0.3, … on your Mac.
This post comes from a need I had to start cassandra in multiple instances on a single Mac (testing a cluster configuration out), and failing to do so. Previously on Linux, I had configured multiple instances to bind to 127.0.0.1 and 127.0.0.2 and [...]
July 26, 2010
Tags: cassandra, mac, OSX Posted in: Operating Systems
No Comments
Selenium RC, Safari and Blocking Browser Pop-Ups
Just a quick note here:
If you are using selenium rc to remote control a Safari on a Mac, remember to turn off pop-up blocking, or else your tests will hang in “selenium.start()” somewhere deep down in HttpURLConnection.getResponseCode() because the selenium-rc server never returns with any content.
In Safari menu, de-select “Block Pop-Up Windows”.
Let’s just say this [...]
February 13, 2010
Tags: mac, OSX, safari, selenium Posted in: Programming, Testing, Tools
One Comment
AppleScript to Check Image Ratio on a Bunch of Files
Faced with the tedious task of checking a large bunch of image files for the correct ratio before uploading to a print service website, I set out to write a small AppleScript application that could do it for me. It turned out to be quite fun and at the same time I got my feet [...]
October 7, 2009
Tags: applescript, crop, OSX Posted in: Operating Systems, Photography, Programming, Tools
No Comments
Multiple iPhoto Libraries
Just discovered a cool feature of iPhoto (’08) that I did not know about. It can handle multiple iPhoto libraries.
Due to serious color-related limitations on the display of my wifes laptop, she currently imports her pictures onto my Mac. In addition, my oldest child is taking more and more pictures with her camera, all of [...]
August 15, 2009
Tags: iphoto, mac, OSX Posted in: Photography, Tools
One Comment
