<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Andrew's Blog</title>
	<atom:link href="http://blog.aclarke.eu/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.aclarke.eu</link>
	<description>random thoughts</description>
	<lastBuildDate>Fri, 16 Mar 2012 14:11:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>A simple script to list s3 bucket sizes</title>
		<link>http://blog.aclarke.eu/a-simple-script-to-list-s3-bucket-sizes/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=a-simple-script-to-list-s3-bucket-sizes</link>
		<comments>http://blog.aclarke.eu/a-simple-script-to-list-s3-bucket-sizes/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 14:09:55 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[OS]]></category>
		<category><![CDATA[Programming Tips]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[aws]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[s3]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[shell]]></category>

		<guid isPermaLink="false">http://blog.aclarke.eu/?p=121</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
This script uses the excellent s3cmd to provide a list of all buckets in an account along with their sizes rounded down to the nearest GB MB and Byte. Amazingly there doesnt seem to be an easy way to do this &#8230;<p class="read-more"><a href="http://blog.aclarke.eu/a-simple-script-to-list-s3-bucket-sizes/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>This script uses the excellent <a title="s3cmd" href="http://s3tools.org/s3cmd" target="_blank">s3cmd</a> to provide a list of all buckets in an account along with their sizes rounded down to the nearest GB MB and Byte. Amazingly there doesnt seem to be an easy way to do this within the s3 web interface.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#!/bin/sh</span>
<span style="color: #007800;">buckets</span>=<span style="color: #000000; font-weight: bold;">`</span>s3cmd <span style="color: #660033;">-c</span> .s3cfg_onespot <span style="color: #c20cb9; font-weight: bold;">ls</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{FS=&quot; &quot;;print $3}'</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #000000; font-weight: bold;">for</span> bucket <span style="color: #000000; font-weight: bold;">in</span> <span style="color: #007800;">$buckets</span>
<span style="color: #000000; font-weight: bold;">do</span>
<span style="color: #007800;">size</span>=<span style="color: #000000; font-weight: bold;">`</span>s3cmd <span style="color: #660033;">-c</span> .yours3cfgfile <span style="color: #c20cb9; font-weight: bold;">du</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$bucket</span>&quot;</span> <span style="color: #000000; font-weight: bold;">|</span><span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'{FS=&quot; &quot;;print $1}'</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #007800;">sizemb</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">expr</span> <span style="color: #007800;">$size</span> <span style="color: #000000; font-weight: bold;">/</span> \\<span style="color: #7a0874; font-weight: bold;">&#40;</span> <span style="color: #000000;">1024</span> \\<span style="color: #000000; font-weight: bold;">*</span> <span style="color: #000000;">1024</span> \\<span style="color: #7a0874; font-weight: bold;">&#41;</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #007800;">sizegb</span>=<span style="color: #000000; font-weight: bold;">`</span><span style="color: #c20cb9; font-weight: bold;">expr</span> <span style="color: #007800;">$sizemb</span> <span style="color: #000000; font-weight: bold;">/</span> <span style="color: #000000;">1024</span><span style="color: #000000; font-weight: bold;">`</span>
<span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #ff0000;">&quot;<span style="color: #007800;">$bucket</span> <span style="color: #007800;">${sizegb}</span> GB <span style="color: #007800;">${sizemb}</span> MB <span style="color: #007800;">${size}</span> bytes&quot;</span>
<span style="color: #000000; font-weight: bold;">done</span></pre></div></div>

<p>Hope someone finds this useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aclarke.eu/a-simple-script-to-list-s3-bucket-sizes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Netflix Ireland Review</title>
		<link>http://blog.aclarke.eu/netflix-ireland-review/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=netflix-ireland-review</link>
		<comments>http://blog.aclarke.eu/netflix-ireland-review/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 15:53:45 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.aclarke.eu/?p=101</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
So I recently signed up for the Netflix&#8217;s service which has just launched here in Ireland and I thought I&#8217;d share my experience in a concise review. My first impression was that there is a lot of stuff on it, albeitt &#8230;<p class="read-more"><a href="http://blog.aclarke.eu/netflix-ireland-review/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>So I recently signed up for the <a href="http://www.netflix.com">Netflix&#8217;s</a> service which has just launched here in Ireland and I thought I&#8217;d share my experience in a concise review.</p>
<p>My first impression was that there is a lot of stuff on it, albeitt not exactly up to the minute with regard to new seasons of currently running shows. for example there are early seasons of Dexter, 24, Shameless <a href="http://www.netflix.com"><img class="alignleft size-medium wp-image-115" title="netflix ireland" src="http://blog.aclarke.eu/wp-content/uploads/2012/01/netflix1-300x224.jpg" alt="" width="300" height="224" /></a>among others. They generally have the first few seasons of a show but not the latest 1 or 2. I was pleasantly surprised to see that the full series of Arrested Development is there which I will happily re-watch. In truth there is a lot of crappy b movies and shows you have never heard of in the Netflix library but there is more than enough good stuff there to be well worth my €7 per month.</p>
<p>The most imprssive thing about Netflix in my view is the quality of the streaming. My internet connection while claiming to be 6 megabit is patchy at best and even youtube videos stutter and stop to buffer regularly. I have watched loads of Netflix in the couple of weeks that I have had it and it has yet to stop to buffer or stutter. Very impressive. This appears to be because they dynamically adjust the bitrate of the video as you watch it so if your connection gets a bit congested it reduces the bitrate so the video quality may degrade slightly (most of the time not even noticable on my 46inch tv) but your viewing is not interrupted.</p>
<p>I hope that going forward Netflix keep adding more content and some newer tv shows would be great.<br />
If so I will happily keep paying my €7 as its really great value for money.</p>
<p>Click <a href="http://www.netflix.com">here</a> to sign up for the free months trial, you need to enter your credit card details to get the free month but I think Netflix are relatively trustworthy <img src='http://blog.aclarke.eu/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>TLDR &#8211; Get it, its great.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aclarke.eu/netflix-ireland-review/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mounting a Windows 7 Share in Linux</title>
		<link>http://blog.aclarke.eu/mounting-a-windows-7-share-in-linux/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mounting-a-windows-7-share-in-linux</link>
		<comments>http://blog.aclarke.eu/mounting-a-windows-7-share-in-linux/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 21:35:13 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[OS]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[smbfs]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://blog.aclarke.eu/?p=79</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
I run an Ubuntu VM using VMware on my windows 7 machine and I find it very useful to be able to access files on the windows machine from inside of linux. This is actually quite easy to achieve and &#8230;<p class="read-more"><a href="http://blog.aclarke.eu/mounting-a-windows-7-share-in-linux/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>I run an Ubuntu VM using VMware on my windows 7 machine and I find it very useful to be able to access files on the windows machine from inside of linux. This is actually quite easy to achieve and you can be up and running in about five minutes if nothing goes wrong.</p>
<p>First, in windows, share the folder that you are trying to access from your linux box. Make sure that the user you want to grant access to has read and write permissions (by default this the the current admin user so most likely you wont have to worry about this)</p>
<p>Now create an .smbcredentials file somewhere on your linux machine. I just used :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">/</span>home<span style="color: #000000; font-weight: bold;">/</span>andrew<span style="color: #000000; font-weight: bold;">/</span>.smbcredentials</pre></div></div>

<p>but you can put it wherever floats your boat. </p>
<p>Now edit the .smbcredentials file and add the username and password for the windows machine in this file in this format :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #007800;">username</span>=andrew
<span style="color: #007800;">password</span>=andrewspassword</pre></div></div>

<p>Next you need to create the entry in your /etc/fstab which will mount the directory on startup.<br />
Add this line to your /etc/fstab file (filling in your details where necessary) :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">//&lt;</span>windows machine name<span style="color: #000000; font-weight: bold;">&gt;/</span>dev <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/&lt;</span><span style="color: #c20cb9; font-weight: bold;">mount</span> folder name<span style="color: #000000; font-weight: bold;">&gt;</span> smbfs <span style="color: #007800;">iocharset</span>=utf8,<span style="color: #007800;">credentials</span>=<span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>.smbcredentials,<span style="color: #007800;">uid</span>=<span style="color: #000000;">1000</span> <span style="color: #000000;">0</span> <span style="color: #000000;">0</span></pre></div></div>

<p>Next you need to create the mount point and make sure you can access it as a non root user :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/&lt;</span><span style="color: #c20cb9; font-weight: bold;">mount</span> folder name<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #c20cb9; font-weight: bold;">chmod</span> <span style="color: #660033;">-R</span> <span style="color: #000000;">775</span> <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/&lt;</span><span style="color: #c20cb9; font-weight: bold;">mount</span> folder name<span style="color: #000000; font-weight: bold;">&gt;</span>
<span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #660033;">-R</span> <span style="color: #000000; font-weight: bold;">&lt;</span>your linux username<span style="color: #000000; font-weight: bold;">&gt;</span>:root <span style="color: #000000; font-weight: bold;">/</span>mnt<span style="color: #000000; font-weight: bold;">/&lt;</span><span style="color: #c20cb9; font-weight: bold;">mount</span> folder name<span style="color: #000000; font-weight: bold;">&gt;</span></pre></div></div>

<p>Finally ensure that smbfs is installed on your system. In Ubuntu just use :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> smbfs</pre></div></div>

<p>Now just mount it</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">mount</span> <span style="color: #660033;">-a</span></pre></div></div>

<p>If you get an error like this :</p>
<pre>
mount: wrong fs type, bad option, bad superblock on ⁄⁄mywindows⁄myshare,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might....
</pre>
<p>You probably havent installed smbfs correctly so run :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> smbfs</pre></div></div>

<p>again.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aclarke.eu/mounting-a-windows-7-share-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A simple &#8220;treesize&#8221; shell script for Linux</title>
		<link>http://blog.aclarke.eu/a-simple-treesize-shell-script-for-linux/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=a-simple-treesize-shell-script-for-linux</link>
		<comments>http://blog.aclarke.eu/a-simple-treesize-shell-script-for-linux/#comments</comments>
		<pubDate>Wed, 21 Sep 2011 10:11:17 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[OS]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://blog.aclarke.eu/?p=69</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
One of my favorite pieces of software on windows is a little app called treesize free by Jam Software. It basically gives you a simple list of how much disk space each directory is taking up. This is really useful &#8230;<p class="read-more"><a href="http://blog.aclarke.eu/a-simple-treesize-shell-script-for-linux/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>One of my favorite pieces of software on windows is a little app called <a href="http://www.jam-software.com/treesize_free/" title="Treesize Free" target="_blank">treesize free</a> by Jam Software. It basically gives you a simple list of how much disk space each directory is taking up. This is really useful when you are trying to work out where all the space on your 500gig disk is gone.</p>
<p>I am always finding myself looking for similar piece of software for linux which can be run simply from the command line, but alas none exists so i decided to create a simple shell script to do a similar job, and here it is :</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #666666; font-style: italic;">#/bin/sh</span>
<span style="color: #c20cb9; font-weight: bold;">du</span> <span style="color: #660033;">-k</span> <span style="color: #660033;">--max-depth</span>=<span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">sort</span> <span style="color: #660033;">-nr</span> <span style="color: #000000; font-weight: bold;">|</span> <span style="color: #c20cb9; font-weight: bold;">awk</span> <span style="color: #ff0000;">'
     BEGIN {
        split(&quot;KB,MB,GB,TB&quot;, Units, &quot;,&quot;);
     }
     {
        u = 1;
        while ($1 &gt;= 1024) {
           $1 = $1 / 1024;
           u += 1
        }
        $1 = sprintf(&quot;%.1f %s&quot;, $1, Units[u]);
        print $0;
     }
    '</span></pre></div></div>

<p>Just put this code into a file /bin/treesize and make it executable. Then any system user can get a list of directory sizes within a directory by just running treesize from any directory.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aclarke.eu/a-simple-treesize-shell-script-for-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Pro Tip : PHP has built in functions for reading and writing csv files</title>
		<link>http://blog.aclarke.eu/pro-tip-php-has-built-in-functions-for-writing-and-reading-csv-files/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=pro-tip-php-has-built-in-functions-for-writing-and-reading-csv-files</link>
		<comments>http://blog.aclarke.eu/pro-tip-php-has-built-in-functions-for-writing-and-reading-csv-files/#comments</comments>
		<pubDate>Tue, 20 Sep 2011 19:45:42 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming Tips]]></category>

		<guid isPermaLink="false">http://blog.aclarke.eu/?p=55</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
Just discovered this and I am mighty impressed. It seems that in PHP 5.1 and higher there are the functions fgetcsv() and fputcsv(). They make it pretty simple to read and write a csv file. Here is a simple example &#8230;<p class="read-more"><a href="http://blog.aclarke.eu/pro-tip-php-has-built-in-functions-for-writing-and-reading-csv-files/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>Just discovered this and I am mighty impressed. It seems that in PHP 5.1 and higher there are the functions <strong><a href="http://www.php.net/fgetcsv" target="_blank">fgetcsv()</a></strong> and <strong><a href="http://www.php.net/fputcsv" target="_blank">fputcsv()</a></strong>. They make it pretty simple to read and write a csv file.</p>
<p>Here is a simple example which reads a csv file, adds a couple of fields and writes it to a new file.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&lt;?php</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Open the output csv file</span>
<span style="color: #000088;">$outputfp</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fopen</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'output.csv'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'w'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #666666; font-style: italic;">// Read from the input csv file</span>
<span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$inputfp</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fopen</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;input.csv&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;r&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!==</span> <span style="color: #009900; font-weight: bold;">FALSE</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
    <span style="color: #b1b100;">while</span> <span style="color: #009900;">&#40;</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$data</span> <span style="color: #339933;">=</span> <span style="color: #990000;">fgetcsv</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$inputfp</span><span style="color: #339933;">,</span> <span style="color: #cc66cc;">1000</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;,&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">!==</span> <span style="color: #009900; font-weight: bold;">FALSE</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
        <span style="color: #666666; font-style: italic;">// Declare an array which will be used to hoe the new csv line</span>
        <span style="color: #000088;">$line</span><span style="color: #339933;">=</span><span style="color: #990000;">array</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #666666; font-style: italic;">// Add the data from the read csv file to the output array</span>
        <span style="color: #000088;">$line</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=</span><span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">0</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$line</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=</span><span style="color: #000088;">$data</span><span style="color: #009900;">&#91;</span><span style="color: #cc66cc;">1</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #666666; font-style: italic;">// Add some more data, just because we can</span>
        <span style="color: #000088;">$line</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;another param&quot;</span><span style="color: #339933;">;</span>
        <span style="color: #000088;">$line</span><span style="color: #009900;">&#91;</span><span style="color: #009900;">&#93;</span><span style="color: #339933;">=</span><span style="color: #0000ff;">&quot;yet another extra param&quot;</span><span style="color: #339933;">;</span>
&nbsp;
        <span style="color: #666666; font-style: italic;">// Write the line to the file</span>
        <span style="color: #990000;">fputcsv</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$outputfp</span><span style="color: #339933;">,</span> <span style="color: #000088;">$line</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
&nbsp;
    <span style="color: #666666; font-style: italic;">// Clean up</span>
    <span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$inputfp</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #990000;">fclose</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$outputfp</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span>
&nbsp;
<span style="color: #000000; font-weight: bold;">?&gt;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.aclarke.eu/pro-tip-php-has-built-in-functions-for-writing-and-reading-csv-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Introducing 33mail.com &#8211; Unlimited Disposable Email Addresses</title>
		<link>http://blog.aclarke.eu/introducing-33mailcom-unlimited-disposable-email-addresses/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=introducing-33mailcom-unlimited-disposable-email-addresses</link>
		<comments>http://blog.aclarke.eu/introducing-33mailcom-unlimited-disposable-email-addresses/#comments</comments>
		<pubDate>Sun, 27 Mar 2011 23:18:30 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[33mail]]></category>
		<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[email]]></category>
		<category><![CDATA[spam]]></category>

		<guid isPermaLink="false">http://blog.aclarke.eu/?p=42</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
I&#8217;ve just launched my latest project 33mail.com. Its a solution to the ever increasing problem of spam and the fact that you really can&#8217;t trust anyone with your email address anymore. The system is pretty simple, you sign up to &#8230;<p class="read-more"><a href="http://blog.aclarke.eu/introducing-33mailcom-unlimited-disposable-email-addresses/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>I&#8217;ve just launched my latest project <a href="http://33mail.com">33mail.com</a>. Its a solution to the ever increasing problem of spam and the fact that you really can&#8217;t trust anyone with your email address anymore. The system is pretty simple, you sign up to 33mail with a username, say testing123, and you give 33mail your real email address, you can then create alias addresses using 33mail, such as blog.aclarke.eu@testing123<span style="display:none;">dhy66s</span>.<span style="display:none;">kjjss</span>33<span style="display:none;">djjhsda2</span>mail.com which will then be forwarded onto your real address. The kicker is that at any time you can kill the alias addresses you create, and because you can create unlimited addresses you can give a different one every time you need one.</p>
<p>The site is built with codeigniter and the email server backend is pure java.</p>
<p>I&#8217;d love to hear any feedback on the site design, functionality and the service as a whole.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aclarke.eu/introducing-33mailcom-unlimited-disposable-email-addresses/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Laser card custom payment module for Magento</title>
		<link>http://blog.aclarke.eu/laser-card-custom-payment-module-for-magento/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=laser-card-custom-payment-module-for-magento</link>
		<comments>http://blog.aclarke.eu/laser-card-custom-payment-module-for-magento/#comments</comments>
		<pubDate>Fri, 28 Aug 2009 22:01:29 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[magento]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[ireland]]></category>
		<category><![CDATA[laser card]]></category>
		<category><![CDATA[module]]></category>
		<category><![CDATA[navan]]></category>
		<category><![CDATA[payment]]></category>
		<category><![CDATA[payment module]]></category>
		<category><![CDATA[sportsden]]></category>

		<guid isPermaLink="false">http://blog.aclarke.eu/?p=26</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
While helping my brother out with bringing his sports shop online, I discovered Magento which is a pretty kick ass piece of php. One thing that Magento doesn&#8217;t have at the moment is a payment module for Irish Laser Debit &#8230;<p class="read-more"><a href="http://blog.aclarke.eu/laser-card-custom-payment-module-for-magento/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>While helping my brother out with bringing his <a href="http://www.sportsden.ie">sports shop online</a>, I discovered Magento which is a pretty kick ass piece of php. One thing that Magento doesn&#8217;t have at the moment is a payment module for Irish Laser Debit cards, so I decided to write my own.</p>
<p>Some resources that I found useful were <a target="_blank" href="http://www.magentocommerce.com/wiki/how-to:create-payment-method-module#database_updates">this</a> and <a target="_blank" href="http://www.magentocommerce.com/boards/viewthread/6273/">this</a>, The first being from the Magento wiki and the second from a forum post.</p>
<p>The process is pretty straight forward once you get your head around all the config files, there are basically 10 files needed for the module (Coolbreeze is just the package name I gave the modules akin to the Mage group in magento) :</p>
<pre><strong>app/code/local/Coolbreese/LaserPayment/Block/Form.php</strong>
the controller for displaying the input form in the store and admin

<strong>app/code/local/Coolbreese/LaserPayment/Block/Info.php</strong>
the controller for displaying the card details in the store and admin

<strong>app/code/local/Coolbreese/LaserPayment/etc/config.xml</strong>
<em>config stuff</em>

<strong>app/code/local/Coolbreese/LaserPayment/etc/system.xml</strong>
more config stuff
<strong>
app/code/local/Coolbreese/LaserPayment/Model/Laser.php</strong>
where the validation etc happens
<strong>
app/design/adminhtml/default/default/template/laserpayment/form.phtml</strong>
the form template for the admin interface

<strong>app/design/adminhtml/default/default/template/laserpayment/info.phtml</strong>
the details display template for the admin interface

<strong>app/design/frontend/default/default/template/laserpayment/form.phtml</strong>
form display in the store
<strong>
app/design/frontend/default/default/template/laserpayment/info.phtml</strong>
details display in the store
<strong>
app/etc/modules/Coolbreeze_LaserPayment.xml</strong>
the main config file which tells magento that this module exist.</pre>
<p>Here for your viewing pleasure is the <a href="http://blog.aclarke.eu/wp-content/uploads/2009/08/magentolasermodule.zip">module code</a> to download.</p>
<p>To install it in a Magento installation just copy the app folder into the magento root and all the files will be put in the right place. Then go to admin -&gt; System -&gt; Configuration -&gt; Payment Methods and enable the module.</p>
<p>Some cavaets :</p>
<p>I take no responsibility for breaking anything whatsoever so install this at your own risk or better yet look at the code and improve it.</p>
<p>The Laser number validation is pretty simple at the moment with no modulus checks. Something like <a href="http://www.braemoor.co.uk/software/creditcard.shtml">this</a> would probably be useful also as there is no client side validation just server side which works ok but is not ideal.</p>
<p>I&#8217;d love to hear feedback from anyone who uses this or finds it useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aclarke.eu/laser-card-custom-payment-module-for-magento/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Windows 7 first impressions</title>
		<link>http://blog.aclarke.eu/windows-7-first-impressions/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=windows-7-first-impressions</link>
		<comments>http://blog.aclarke.eu/windows-7-first-impressions/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 09:39:49 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[OS]]></category>
		<category><![CDATA[Reviews]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[Windows 7]]></category>
		<category><![CDATA[Windows 7 beta]]></category>

		<guid isPermaLink="false">http://blog.aclarke.eu/?p=24</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
The first surprising thing about the Windows 7 beta is that it works great running in VMware, so if you have a relativly new vesion of VMware installed then it is well worth installing the beta to have a look. &#8230;<p class="read-more"><a href="http://blog.aclarke.eu/windows-7-first-impressions/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>The first surprising thing about the Windows 7 beta is that it works great running in VMware, so if you have a relativly new vesion of VMware installed then it is well worth installing the beta to have a look.</p>
<p>The UI is distinctly vista like with the the round start buton and start menu, and similar dialogs, but for some reason it doesnt give off that hateful vibe that Vista does (having installed vista and immediatly removed it reverting back to trusty XP, Im no fan).</p>
<p>The beta comes with some nifty little apps like sticky notes and a great snipping tool for taking screen shots along with the usual games, calculator and of course paint (which is a nicely updated version in the vein of office 2007). It also comes with an IE 8 beta which may be of interest to some.</p>
<p>Overall i like the feel of Windows 7 and after seeing this beta I have high hopes of eventually upgrading my Windows XP machine to it.</p>
<p>So Microsoft, please dont f*$k it up before release.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.aclarke.eu/windows-7-first-impressions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crop and resize an image using MiniMagick</title>
		<link>http://blog.aclarke.eu/crop-and-resize-an-image-using-minimagick/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=crop-and-resize-an-image-using-minimagick</link>
		<comments>http://blog.aclarke.eu/crop-and-resize-an-image-using-minimagick/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 15:58:50 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[attachmentfu]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[MiniMagick]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://blog.aclarke.eu/?p=21</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
During my dealings with twitter avatars (see here) I discovered how to resize and crop an image using MiniMagick. This is useful when dealing with twitter avatars as the large size ones that the twitter api provides are not always &#8230;<p class="read-more"><a href="http://blog.aclarke.eu/crop-and-resize-an-image-using-minimagick/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p>During my dealings with twitter avatars (see <a href="http://blog.aclarke.eu/pulling-avatars-from-twitter-in-a-rails-app/">here</a>) I discovered how to resize and crop an image using MiniMagick. This is useful when dealing with twitter avatars as the large size ones that the twitter api provides are not always square and the smaller ones may be too small for some applications. Below is the simple function :</p>

<div class="wp_syntax"><div class="code"><pre class="ruby" style="font-family:monospace;"><span style="color:#9966CC; font-weight:bold;">def</span> resize_and_crop<span style="color:#006600; font-weight:bold;">&#40;</span>image, size<span style="color:#006600; font-weight:bold;">&#41;</span>         
  <span style="color:#9966CC; font-weight:bold;">if</span> image.<span style="color:#9900CC;">width</span> <span style="color:#006600; font-weight:bold;">&lt;</span> image.<span style="color:#9900CC;">height</span>   
    remove = <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#40;</span>image.<span style="color:#9900CC;">height</span> <span style="color:#006600; font-weight:bold;">-</span> image.<span style="color:#9900CC;">width</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">/</span><span style="color:#006666;">2</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">round</span> 
    image.<span style="color:#9900CC;">shave</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">&quot;0x#{remove}&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span> 
  <span style="color:#9966CC; font-weight:bold;">elsif</span> image.<span style="color:#9900CC;">width</span> <span style="color:#006600; font-weight:bold;">&gt;</span> image.<span style="color:#9900CC;">height</span> 
    remove = <span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#006600; font-weight:bold;">&#40;</span>image.<span style="color:#9900CC;">width</span> <span style="color:#006600; font-weight:bold;">-</span> image.<span style="color:#9900CC;">height</span><span style="color:#006600; font-weight:bold;">&#41;</span><span style="color:#006600; font-weight:bold;">/</span><span style="color:#006666;">2</span><span style="color:#006600; font-weight:bold;">&#41;</span>.<span style="color:#9900CC;">round</span>
    image.<span style="color:#9900CC;">shave</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">&quot;#{remove}x0&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
  <span style="color:#9966CC; font-weight:bold;">end</span>
  image.<span style="color:#9900CC;">resize</span><span style="color:#006600; font-weight:bold;">&#40;</span><span style="color:#996600;">&quot;#{size}x#{size}&quot;</span><span style="color:#006600; font-weight:bold;">&#41;</span>
  <span style="color:#0000FF; font-weight:bold;">return</span> image
<span style="color:#9966CC; font-weight:bold;">end</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://blog.aclarke.eu/crop-and-resize-an-image-using-minimagick/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Professor Farnsworth mindgames</title>
		<link>http://blog.aclarke.eu/this-is-pretty-funny-if-you-like-futurama/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=this-is-pretty-funny-if-you-like-futurama</link>
		<comments>http://blog.aclarke.eu/this-is-pretty-funny-if-you-like-futurama/#comments</comments>
		<pubDate>Wed, 21 Jan 2009 09:42:45 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[humor]]></category>
		<category><![CDATA[images]]></category>
		<category><![CDATA[funny]]></category>
		<category><![CDATA[futurama]]></category>
		<category><![CDATA[image]]></category>

		<guid isPermaLink="false">http://blog.aclarke.eu/?p=15</guid>
		<description><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
]]></description>
			<content:encoded><![CDATA[<style type="text/css">
#leftcontainerBox {
	float:left;
	position: fixed;
	top: 60%;
	left: 70px;
}
#leftcontainerBox .buttons {
	float:left;
	clear:both;
	margin:4px 4px 4px 4px;
	padding-bottom:2px;
}
#bottomcontainerBox {
	width: 50%;
	padding-top: 1px;
}
#bottomcontainerBox .buttons {
	float: left;
	margin: 4px 4px 4px 4px;
}
</style>
<p><a href="http://blog.aclarke.eu/wp-content/uploads/2009/01/farnsworth.jpg"></a></p>
<p style="text-align: center;"><a href="http://blog.aclarke.eu/wp-content/uploads/2009/01/farnsworth.jpg"><img class="alignnone size-full wp-image-14" title="farnsworth" src="http://blog.aclarke.eu/wp-content/uploads/2009/01/farnsworth.jpg" alt="" width="500" height="287" /></a></p>
<p style="text-align: center;">
]]></content:encoded>
			<wfw:commentRss>http://blog.aclarke.eu/this-is-pretty-funny-if-you-like-futurama/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

