Using cURL to retrieve multiple URLs from a text file
curl -K params.txt
params.txt:
url = http://tomholland.co.uk/blog
url = http://tomholland.co.uk/about
url = http://tomholland.co.uk/projects
output = file1.html
output = file2.html
output = file3.html
curl -K params.txt
params.txt:
url = http://www.springerlink.com/content/{3v2337j334561423}/fulltext.pdf
url = http://www.springerlink.com/content/{g6363m5477v45q2n}/fulltext.pdf
output = #1.pdf
output = #1.pdf
Will create files named:
3v2337j334561423.pdf
g6363m5477v45q2n.pdf
Design by committee
Regarding: We Want A Dead Simple Web Tablet For $200. Help Us Build It.
I'm having fun counting all the buttons people want to add to the device (to make it easier to use, of course). With that sort of mentality (pile on as may features as possible) you get, well, a standard ugly PC...
Tagged TechCrunch.
Codebase updates
Ben has recently published some code for routing requests to the correct controllers and views in a PHP MVC framework, so I've spent some of my weekend integrating it into my codebase (yep, this is the sort of thing I do on weekends).
Mapping URLs to site functionality has always seemed quite clumsy in my projects to date; Ben's solution has quite a Rails feel to it and is definitely the most elegant method I have encountered to date.
Crimes against computing
Crimes against computing which should be punishable by death (by death I mean preventing people from using any device with an Internet connection until they learn the error of their ways):
Using Microsoft Word to generate HTML. "But it generates a file that can be read by anyone with a web browser - and it can be easily edited again in Word". In theory, yes it can. In reality: "Oh dear God look at this horrible mess - must... gouge... eyes... out..."
The great O2 Ireland iPhone 3G rip-off
O2 Ireland iPhone 3G 8GB: £134, £35 a month, 1GB data limit, no visual voicemail, 175 minutes and 100 texts. One of the issues with people using a jailbroken iPhone on a different network was no visual voicemail; to not have it supported by the official carrier in Ireland is a joke.
For comparison, on O2 UK: £99, £35 a month, unlimited data, visual voicemail, 600 minutes and 500 texts.
Quick image annotation credits to Skitch.