Installing Scala on Snow Leopard
These are instructions for quickly installing Scala. Scala is a general purpose language almost completely interoperable with Java, and having features of object-oriented and functional languages.
I installed Scala in /usr/local , the reason for which can be found here.
September 1, 2009 No Comments
Ubuntu Install on XServe G5

I hardly get enough time away from my Mac machines, so I planned to get back in touch with the penguin, and to build a test server.
My plan was to install Xen, and then run a Linux instance on top of it. However the only spare machine was a G5 Xserve, I could not find any information of Xen on ppc processor.
Choosing Linux flavour for ppc wasn’t easy either. Most of the open source linux flavours have stopped supporting ppc, as it seems like a dying platform. Red Hat and Suse seem to support the architecture in their enterprise versions. I did’nt wanted to run YDL, the only flavour I could find truely supporting ppc architecture.
Finally, I decided to go ahead with the Ubuntu 8.04 Server community version for ppc.
February 27, 2009 2 Comments
Installing command line MP3 player

mpg123 is a real time MPEG 1.0/2.0/2.5 audio player for layers 1,2 and 3.
I was playing with Ruby scripts and needed a command line mp3 player which was not a resource hog.
Steps I took for my OS X (Should work on Linux/Unix box):
Download the latest version from the website.
Untar the archive
tar -xvf mpg123-1.4.3.tar
Compile and install the player
./configure --prefix=/usr/local/mpg123
make
make install
Add the path to .bash_profile
echo 'export PATH=/usr/local/mpg123/bin:$PATH' >> ~/.bash_profile
Load the new path
source ~/.bash_profile
Enjoy playing music from command-line!
mpg123 ~/Music/Bagho_Bagh_Gippy_Grewal.mp3
June 28, 2008 2 Comments



