Home » Archive

Articles Archive for October 2008

Bash, Internet Goodness, Open Source, Python, Web Development »

[29 Oct 2008 | No Comment | ]

I have been playing around with boo a little bit because it has Python-inspired syntax, runs at C# speeds and is a first class citizen on dotnet.
So I decided to find out what it would be like to do some web programming in it. I learned a bit about asp.Net in the process and mono also.
So first thing I did was:
$ cd /usr/share/doc/boo/examples/asp.net$ xsp2
and then from your browser you can run any of the “inline” samples
http://localhost:8080/InlineBooButtonClick.aspxhttp://localhost:8080/InlineBooExpression.aspxhttp://localhost:8080/InlineBooHelloAspNet.aspx
but if you try and run one of the code behind samples, you get something …

Music & Audio, Open Source, Python »

[20 Oct 2008 | One Comment | ]

There’s three options available for achieving this, as far as I can see:

TheLastRipper – This is a fully featured streamripper for last.fm that has a great feature set (ID3v2 tags, international characters, automatic directory hierachies) BUT you can not listen to the streams while it’s ripping. It’s got the ‘love’ / ‘ban’ buttons but how can you tell if you can’t hear the bloody music right?
LastLonger – Is a command line client written in Perl and you can output the stream to a music player also. When I saw this, …

Bash, Linux Administration, Open Source »

[19 Oct 2008 | 2 Comments | ]

Sometimes I forget what power there is in free software. I put this quickie together the other day. Just be aware that it won’t handle any spaces in the PDF filename.
for i in *.pdf;do pdfimages $i ${i%.*};done && for i in *.ppm;do ppmtojpeg $i >> ${i%.*}.jpg;done; rm -f *.ppm
images are exported as
-00n.jpg – ie: the n’th image found in the pdf.