I came across a very useful blog post here about customising the bash shell by editing .bash_profile in nano, a terminal editor for Unix systems that comes with OSX.
In my previous post I talked about using a second Python install on my Macbook and being able to start it in interactive mode on the terminal by modifying the PATH variable. Without doing this, the original Python install would be the one being targeted. Well, instead of having to type this line every time I open the Terminal window, I just had to add it to .bash_profile and now every terminal session receives this setting.

Posted by admin on November 1st, 2009
Read More
I bought a MacBook Pro a couple of months ago (having always worked on Windows) and have started to learn Python. The first step was to install Python but OSX 10.5.7 actually comes with Python 2.5 pre-installed. This was handy to get up and running, allowing me to type Python code in the terminal straight away and helping me check that I installed Pydev correctly but I decided to take this advice and upgrade to a newer version.
I opted for ActiveState's Python distribution 2.6.2.2. I'm really liking the modular nature of Python and using easy_install and pip. A problem arose, however, when it came to targeting my second Python installation. The easy_install exe program will target the default installation since it is defined on the System PATH variable. ActiveState sets up a symbolic link for Python in /usr/local/bin and you can make ActivePython first on your PATH in the terminal window by entering the following:
PATH=/usr/local/bin:$PATH; export PATH
Now when I start Python in the terminal it will be version 2.6.2.2 (i.e., my second installation). By exiting Python (ctrl+d), I can then add packages (such as numpy) that target this version using either easy_install or pip commands:
easy_install numpy
If I wanted to install a package that I downloaded that has a '.pkg' file extension I found that it also targeted the default Python install for the same reason. My solution was to also install the package from the terminal by doing the following:
PATH=/usr/local/bin:$PATH; export PATH
cd /Volumes/wxPython2.8-osx-unicode-2.8.10.1-universal-py2.6/
sudo installer -pkg wxPython2.8-osx-unicode-2.8.10.1-universal-py2.6.pkg -target "/"
This is pretty standard stuff but I thought I'd share since it took me a little while to figure out 
Posted by admin on September 20th, 2009
Read More
Posted by admin on June 5th, 2009
Read More
I gave a lightening talk on Flex using the Flash Develop IDE at OSS Barcamp in Dublin at the weekend. It was quite a challenge fitting everything into 15 minutes but I just about managed to fit a code demo in. Here are my slides:
It was great listening to talks and speaking with people involved in technologies other than Flash Development. Next week I plan on attending the Drupal weekend in Galway after meeting a couple of the Drupal guys on Saturday.
Posted by admin on March 30th, 2009
Read More
Stéphane Le Merre, a Flash Developer from the south of France, has written articles on his blog relating to accessibility on the Flash Platform. This article walks the reader through how to create subtitles for a Flash Video File (flv) and references an article I wrote a few years ago over on actionscript.org.
Thanks for providing a follow up to this Stéphane.
(The article is in French by the way)
Posted by admin on March 24th, 2009
Read More