<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Come hither, cirrhosis</title>
	<atom:link href="http://jaundice.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jaundice.wordpress.com</link>
	<description>Scribblings from a poisoned mind</description>
	<lastBuildDate>Wed, 09 Nov 2011 14:09:36 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='jaundice.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Come hither, cirrhosis</title>
		<link>http://jaundice.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://jaundice.wordpress.com/osd.xml" title="Come hither, cirrhosis" />
	<atom:link rel='hub' href='http://jaundice.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Pumping data through Tor with Python</title>
		<link>http://jaundice.wordpress.com/2011/11/09/pumping-data-through-tor-with-python/</link>
		<comments>http://jaundice.wordpress.com/2011/11/09/pumping-data-through-tor-with-python/#comments</comments>
		<pubDate>Wed, 09 Nov 2011 14:09:28 +0000</pubDate>
		<dc:creator>Poverty and Boredom</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jaundice.wordpress.com/?p=155</guid>
		<description><![CDATA[import urllib import urllib2 import cookielib link=&#8217;http://www.somesite.com&#8217; cookieJar = cookielib.LWPCookieJar() def GrabPage(address,data=None): proxy_support = urllib2.ProxyHandler({&#8220;http&#8221; : &#8220;127.0.0.1:8118&#8243;, &#8220;https&#8221; : &#8220;127.0.0.1:8118&#8243;}) opener = urllib2.build_opener(proxy_support,urllib2.HTTPCookieProcessor(cookieJar)) opener.addheaders = spoofheaders torcon=opener.open(address,data) data=torcon.read() torcon.close() return data<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaundice.wordpress.com&amp;blog=8775923&amp;post=155&amp;subd=jaundice&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>import urllib</p>
<p>import urllib2</p>
<p>import cookielib</p>
<p>link=&#8217;http://www.somesite.com&#8217;</p>
<p>cookieJar = cookielib.LWPCookieJar()</p>
<p>def GrabPage(address,data=None):</p>
<p style="padding-left:30px;">proxy_support = urllib2.ProxyHandler({&#8220;http&#8221; : &#8220;127.0.0.1:8118&#8243;, &#8220;https&#8221; : &#8220;127.0.0.1:8118&#8243;})<br />
opener = urllib2.build_opener(proxy_support,urllib2.HTTPCookieProcessor(cookieJar))<br />
opener.addheaders = spoofheaders<br />
torcon=opener.open(address,data)<br />
data=torcon.read()<br />
torcon.close()<br />
return data</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaundice.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaundice.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaundice.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaundice.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaundice.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaundice.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaundice.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaundice.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaundice.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaundice.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaundice.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaundice.wordpress.com/155/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaundice.wordpress.com/155/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaundice.wordpress.com/155/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaundice.wordpress.com&amp;blog=8775923&amp;post=155&amp;subd=jaundice&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaundice.wordpress.com/2011/11/09/pumping-data-through-tor-with-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc5cb469210ec12b37ca7add4c3543cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Poverty and Boredom</media:title>
		</media:content>
	</item>
		<item>
		<title>Quick and dirty bread sauce</title>
		<link>http://jaundice.wordpress.com/2010/09/28/quick-and-dirty-bread-sauce/</link>
		<comments>http://jaundice.wordpress.com/2010/09/28/quick-and-dirty-bread-sauce/#comments</comments>
		<pubDate>Tue, 28 Sep 2010 19:03:03 +0000</pubDate>
		<dc:creator>Poverty and Boredom</dc:creator>
				<category><![CDATA[Cookery]]></category>

		<guid isPermaLink="false">http://jaundice.wordpress.com/?p=152</guid>
		<description><![CDATA[I&#8217;ve a weakness for bread sauce with roast chicken, but had never bothered making it from scratch until recently ( naughty and lazy of me to buy packet sauce mix, I know, but I do hate scrubbing burnt milk from the bottom of pans&#8230; ). This is a minimalist version of the recipe, thrown together [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaundice.wordpress.com&amp;blog=8775923&amp;post=152&amp;subd=jaundice&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve a weakness for bread sauce with roast chicken, but had never bothered making it from scratch until recently ( naughty and lazy of me to buy packet sauce mix, I know, but I do hate scrubbing burnt milk from the bottom of pans&#8230; ). This is a minimalist version of the recipe, thrown together out of ingredients I had lying about from other dishes. </p>
<p>Ingredients:</p>
<p>500ml milk<br />
3 slices white bread<br />
1 onion<br />
4 cloves<br />
1 bay leaf</p>
<p>1. Skin the onion and push the cloves into it, each a quarter of the way around the outside of the onion<br />
2. Add the onion, the milk and the bay leaf to a pan and heat at the lowest possible temperature available on your hob for about 30 mins. The idea is to keep the milk below boiling but warm enough to encourage the flavours of the other ingredients to infuse into it.<br />
3. While the milk is heating, take the bread slices, chop off the crusts and dice into cubes about 1-2 cm in size.<br />
4. Once the milk has infused and thickened slightly, remove the onion and the bay leaf and add the bread. Heat gently and stir until the bread dissolves into the milk to form a thick and even sauce.</p>
<p>That&#8217;s it, just serve with a roast chicken dinner and enjoy.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaundice.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaundice.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaundice.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaundice.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaundice.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaundice.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaundice.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaundice.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaundice.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaundice.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaundice.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaundice.wordpress.com/152/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaundice.wordpress.com/152/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaundice.wordpress.com/152/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaundice.wordpress.com&amp;blog=8775923&amp;post=152&amp;subd=jaundice&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaundice.wordpress.com/2010/09/28/quick-and-dirty-bread-sauce/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc5cb469210ec12b37ca7add4c3543cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Poverty and Boredom</media:title>
		</media:content>
	</item>
		<item>
		<title>Leek, potato and thyme soup</title>
		<link>http://jaundice.wordpress.com/2010/08/20/leek-potato-and-thyme-soup/</link>
		<comments>http://jaundice.wordpress.com/2010/08/20/leek-potato-and-thyme-soup/#comments</comments>
		<pubDate>Fri, 20 Aug 2010 02:23:33 +0000</pubDate>
		<dc:creator>Poverty and Boredom</dc:creator>
				<category><![CDATA[Cookery]]></category>

		<guid isPermaLink="false">http://jaundice.wordpress.com/?p=148</guid>
		<description><![CDATA[I was dragged out by family to a distant little eatery near Burton to dine when I stumbled on this little treat. It was immediately obvious upon tasting it what the ingredients were, so I ended up testing the recipe for this a few days later. Ingredients: 2 leeks 2 potatoes 2 cloves garlic 2 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaundice.wordpress.com&amp;blog=8775923&amp;post=148&amp;subd=jaundice&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I was dragged out by family to a distant little eatery near Burton to dine when I stumbled on this little treat. It was immediately obvious upon tasting it what the ingredients were, so I ended up testing the recipe for this a few days later.</p>
<p>Ingredients:<br />
2 leeks<br />
2 potatoes<br />
2 cloves garlic<br />
2 pints vegetable stock<br />
1/2 pint chicken stock<br />
1 teaspoon thyme<br />
milk<br />
butter<br />
salt<br />
pepper</p>
<p>1. Chop the leeks into rings around centimeter thickness rings along their length.<br />
2. Peel and dice the potatoes into centimeter square lumps.<br />
3. Add the cubed potato to boiling water and cook for around 20 mins.<br />
4. Melt some butter in a pan, add the leeks, and sweat them over a low heat until soft.<br />
5. Add the chicken stock, vegetable stock, potatoes, and thyme to the leeks. Add enough milk to turn the soup a semi translucent grey. Push the garlic through a garlic press and add to the soup. Add salt and pepper to taste while simmering for at least 20 mins.</p>
<p>This is a quick and simple recipe, but surprisingly tasty and filling, and as leeks cost an awful lot less than meat, certainly a good one for stretching the budget when it&#8217;s needed. </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaundice.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaundice.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaundice.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaundice.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaundice.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaundice.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaundice.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaundice.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaundice.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaundice.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaundice.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaundice.wordpress.com/148/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaundice.wordpress.com/148/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaundice.wordpress.com/148/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaundice.wordpress.com&amp;blog=8775923&amp;post=148&amp;subd=jaundice&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaundice.wordpress.com/2010/08/20/leek-potato-and-thyme-soup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc5cb469210ec12b37ca7add4c3543cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Poverty and Boredom</media:title>
		</media:content>
	</item>
		<item>
		<title>Sniffing Twitter</title>
		<link>http://jaundice.wordpress.com/2010/06/29/sniffing-twitter/</link>
		<comments>http://jaundice.wordpress.com/2010/06/29/sniffing-twitter/#comments</comments>
		<pubDate>Tue, 29 Jun 2010 08:04:46 +0000</pubDate>
		<dc:creator>Poverty and Boredom</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Science]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://jaundice.wordpress.com/?p=113</guid>
		<description><![CDATA[Curiosity overcame me recently and had me puzzling over who exactly was clicking any links that appeared on my twitter account. A web searched produced pages of a handful of webserver administrators who&#8217;d posted the access logs of their servers. Not keen on having to run the server from my own machines, writing some code [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaundice.wordpress.com&amp;blog=8775923&amp;post=113&amp;subd=jaundice&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Curiosity overcame me recently and had me puzzling over who exactly was clicking any links that appeared on my twitter account. A web searched produced pages of a handful of webserver administrators who&#8217;d posted the access logs of their servers. Not keen on having to run the server from my own machines, writing some code to utilize a free webhosting service struck me as much wiser.</p>
<p>After grabbing a hosting account with free php and mysql access ( php to capture the details of anything clicking and redirect them to the page you wish to present and mysql to store them ), the following simple scripts allowed logging to commence. I present them for you consideration. Kindly note that these scripts are currently not very robust and are more flung together than beautifully designed.</p>
<p>The first task is to create the database schema. As, sadly, most hosting providers seem a little hesitant to allow just any old riff-raff to connect directly to their database server, opening this script should do that for you.</p>
<p><code>&lt;?php</code></p>
<p><code># snooperinitdb.php</code><br />
<code># customise the 4 vars below to match your hosting setup</code></p>
<p><code>$server='localhost';</code><br />
<code>$user='root';</code><br />
<code>$password='secret';</code><br />
<code>$database='snooper';</code></p>
<p><code>$link=mysql_connect($server,$user,$password);</code><br />
<code>$dbexists=mysql_select_db($database,$link);</code></p>
<p><code>if($dbexists==FALSE) {</code><br />
<code> mysql_query("create database ".$database);</code><br />
<code> $dbexists=mysql_select_db($database,$link);</code><br />
<code> if($dbexists==FALSE) {</code><br />
<code> print('Database Error: Create manually');</code><br />
<code> }</code><br />
<code> mysql_query("create table snooper ( time timestamp, remotehost varchar(20), remoteport int, remotebrowser varchar(250), referer varchar(250))");</code><br />
<code>}</code></p>
<p><code># If you can't create databases, comment out the above code from </code><br />
<code># if($dbexists==FALSE)  and use this instead ( HINT: THIS IS A COMMENT )</code><br />
<code># after using phpmyadmin or whatever rubbish the webhost is using </code><br />
<code># to control databasing access.</code><br />
<code>#</code><br />
<code># mysql_query("create table snooper ( time timestamp, remotehost varchar(20), remoteport int, remotebrowser varchar(250), referer varchar(250))");</code></p>
<p><code>?&gt;</code></p>
<p>To get the above script to setup the database for you, upload it and simply open with your browser. Once that is done, upload the following log display script and check it works without throwing a fit.</p>
<p><code>&lt;?php</code></p>
<p><code># snooperviewlog.php</code><br />
<code># Prints out snoopers records to screen</code><br />
<code># customise the 4 vars below to match your hosting setup</code></p>
<p><code>$server='localhost';</code><br />
<code>$user='root';</code><br />
<code>$password='secret';</code><br />
<code>$database='snooper';</code></p>
<p><code>$link=mysql_connect($server,$user,$password);</code><br />
<code>$dbexists=mysql_select_db($database,$link);</code></p>
<p><code>$result = mysql_query("select * from ".$database);</code></p>
<p><code>print "&lt;HTML&gt;&lt;BODY&gt;&lt;TABLE&gt;";</code></p>
<p><code>print "&lt;TR&gt;&lt;TD&gt;Time&lt;/TD&gt;&lt;TD&gt;IP Address &lt;/TD&gt;&lt;TD&gt;Browser ID&lt;/TD&gt;&lt;TD&gt;Referer&lt;/TD&gt;&lt;/TR&gt;";</code></p>
<p><code>while($record=mysql_fetch_assoc($result)) {</code><br />
<code> print "&lt;TR&gt;&lt;TD&gt;".$record["time"]."&lt;/TD&gt;&lt;TD&gt;".$record["remotehost"]."&lt;/TD&gt;&gt;TD&lt;".$record["remotebrowser"]."&lt;/TD&gt;&lt;TD&gt;".$record["referer"]."&lt;/TD&gt;&lt;/TR&gt;";</code><br />
<code>}</code></p>
<p><code>mysql_free_result($result);</code></p>
<p><code>print "&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;";</code></p>
<p><code>?&gt;</code></p>
<p>The above script should produce just the field headings for the table of machines that have clicked the link to access the script. Assuming all is well so far, we&#8217;re ready to roll. Next, we need to upload the script that does the actual sniffing. Here it is.</p>
<p><code>&lt;?php</code></p>
<p><code># Snooper.php</code><br />
<code># Logs the machines with follow a given link, then redirects them to a given page</code></p>
<p><code>$counter=0;</code><br />
<code>$address='';</code></p>
<p><code># customise the 4 vars below to match your hosting setup</code></p>
<p><code>$server='localhost';</code><br />
<code>$username='root';</code><br />
<code>$password='secret';</code><br />
<code>$database='snooper';</code></p>
<p><code>$link=mysql_connect($server,$username,$password);</code><br />
<code>mysql_select_db($database,$link);</code></p>
<p><code>if(isset($_SERVER['HTTP_REFERRER'])) {</code><br />
<code> mysql_query("insert into snooper (time,remotehost,remotebrowser,remoteport,referer) values (now(),'".$_SERVER['REMOTE_ADDR']."','".$_SERVER['HTTP_USER_AGENT']."','".$_SERVER['REMOTE_PORT']."','".$_SERVER['HTTP_REFERRER']."')");</code><br />
<code>} else {</code><br />
<code> mysql_query("insert into snooper (time,remotehost,remotebrowser,remoteport,referer) values (now(),'".$_SERVER['REMOTE_ADDR']."','".$_SERVER['HTTP_USER_AGENT']."','".$_SERVER['REMOTE_PORT']."',NULL)");<br />
}</code></p>
<p><code>foreach($_GET as $key =&gt; $val) {</code><br />
<code> if($key=='targurl') {</code><br />
<code> $address=$val;</code><br />
<code> } else {</code><br />
<code> if(!$counter) {</code><br />
<code> $address=$address."?".$key."=".$val;</code><br />
<code> $counter=1;</code><br />
<code> } else {</code><br />
<code> $address=$address."&amp;".$key."=".$val;</code><br />
<code> }</code><br />
<code> }</code></p>
<p><code>}</code></p>
<p><code>#print($address);</code><br />
<code>header("Location: ".$address);</code></p>
<p><code>?&gt;</code></p>
<p>So, let&#8217;s say we want to post a link to a book an amazon and monitor which IP addresses on twitter click our link to check out what we&#8217;ve linked to. Let say that book is Stephen Hawkings &#8216;The Universe in a Nutshell&#8217; at <a href="http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&amp;field-keywords=Stephen+hawking&amp;x=0&amp;y=0">http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Daps&amp;field-keywords=Stephen+hawking&amp;x=0&amp;y=0</a> and our script is located on snooper.com and is called snooper.php.</p>
<p>The first thing we have to do is reformat the URL for the page so that we can successfully feed it into our script. All we have to do is change the ? in the url to a &amp; and our script will be able to preserve any data that needs to be passed to our target server, thus : http://www.amazon.com/s/ref=nb_sb_noss&amp;url=search-alias%3Daps&amp;field-keywords=Stephen+hawking&amp;x=0&amp;y=0</p>
<p>Next, we need to feed this into our script. So we take the above and alter it so it reads thus : http://snooper.com/snooper.php?targurl=http://www.amazon.com/s/ref=nb_sb_noss&amp;url=search-alias%3Daps&amp;field-keywords=Stephen+hawking&amp;x=0&amp;y=0</p>
<p>Now this makes it rather obvious that we&#8217;re sniffing who clicks our links on twitter. So the next step is to take the above url and feed it into a URL shortening service, such as <a href="http://www.bit.ly">bit.ly</a>, so we get a nice short link that&#8217;s indistinguishable from the other links pasted on twitter.</p>
<p>The main issue with this technique is that it, due the use of the URL shortening service, is unable to link an IP address to a given twitter user by name. To do that requires developing the scripts into a full blown man-in-the middle attack and embedding some javascript into the page to get at the browsers history and rewrite the address bar. Something for another post, I feel.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaundice.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaundice.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaundice.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaundice.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaundice.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaundice.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaundice.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaundice.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaundice.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaundice.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaundice.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaundice.wordpress.com/113/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaundice.wordpress.com/113/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaundice.wordpress.com/113/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaundice.wordpress.com&amp;blog=8775923&amp;post=113&amp;subd=jaundice&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaundice.wordpress.com/2010/06/29/sniffing-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc5cb469210ec12b37ca7add4c3543cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Poverty and Boredom</media:title>
		</media:content>
	</item>
		<item>
		<title>A simple, quick, basic raita</title>
		<link>http://jaundice.wordpress.com/2010/03/09/a-simple-quick-basic-raita/</link>
		<comments>http://jaundice.wordpress.com/2010/03/09/a-simple-quick-basic-raita/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 18:33:13 +0000</pubDate>
		<dc:creator>Poverty and Boredom</dc:creator>
				<category><![CDATA[Cookery]]></category>
		<category><![CDATA[Supermarkets]]></category>

		<guid isPermaLink="false">http://jaundice.wordpress.com/?p=108</guid>
		<description><![CDATA[While shopping in Sainsbury&#8217;s to sate my curry addiction, I chanced upon some of their little pots of raita dip. A exceedingly pleasant discovery, I resolved to discover how to make this myself. My recipe is simpler than the store bought product but tastes reasonably equivalent. Ingredients : 100g Mayonnaise 100g Plain Yogurt 1/2 teaspoon [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaundice.wordpress.com&amp;blog=8775923&amp;post=108&amp;subd=jaundice&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>While shopping in Sainsbury&#8217;s to sate my curry addiction, I chanced upon some of their little pots of <a href="http://www.sainsburys.co.uk/groceries/index.jsp?bmUID=1268158101103">raita dip</a>. A exceedingly pleasant discovery, I resolved to discover how to make this myself. My recipe is simpler than the store bought product but tastes reasonably equivalent. </p>
<p>Ingredients :</p>
<p>100g Mayonnaise<br />
100g Plain Yogurt<br />
1/2 teaspoon Ground Cumin<br />
5g ( ish )  Finely chopped fresh Coriander<br />
1 or 2 drops of Lemon Juice</p>
<p>1: Chop the coriander and add to a bowl with the cumin.<br />
2: Add the mayonnaise, lemon juice and yogurt, then mix.<br />
3: Chill.</p>
<p>You can, of course, add all or substitute sorts of other things, much as you&#8217;ll see online, though honestly, the traditional recipes for <a href="http://www.ummah.com/family/recipes/cucumber.html">Cucumber sauce</a>, such as the Greek <a href="http://greekfood.about.com/od/appetizerssalads/r/tzatziki_sass.htm">Tzatziki</a> are probably more desirable if you desire true finesse, rather quick and tasty filler food.</p>
<p>As I close, might I also add that Sainsbury&#8217;s range of pre-packaged curries are, unsurprisingly, poor. The hot dishes are entirely limp-wristed and lacking in heat, for starters. I do understand that not everyone enjoys their food seasoned with the flavour of chemical burns, but when purchasing a dish from the hotter range of products, it&#8217;s not unreasonable to expect a meal that tastes as though it has more than the lightest hint of chilli within it. The supplied rice is also annoyingly problematic. The texture and colour are wonderful, but the flavour of lemongrass is ridiculously overpowering.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaundice.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaundice.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaundice.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaundice.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaundice.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaundice.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaundice.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaundice.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaundice.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaundice.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaundice.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaundice.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaundice.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaundice.wordpress.com/108/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaundice.wordpress.com&amp;blog=8775923&amp;post=108&amp;subd=jaundice&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaundice.wordpress.com/2010/03/09/a-simple-quick-basic-raita/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc5cb469210ec12b37ca7add4c3543cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Poverty and Boredom</media:title>
		</media:content>
	</item>
		<item>
		<title>Chicken Vindaloo</title>
		<link>http://jaundice.wordpress.com/2010/02/15/chicken-vindaloo/</link>
		<comments>http://jaundice.wordpress.com/2010/02/15/chicken-vindaloo/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 22:21:47 +0000</pubDate>
		<dc:creator>Poverty and Boredom</dc:creator>
				<category><![CDATA[Cheap Entertainment]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Cookery]]></category>
		<category><![CDATA[Boozing]]></category>

		<guid isPermaLink="false">http://jaundice.wordpress.com/?p=104</guid>
		<description><![CDATA[Those of you who know me well will be aware that I&#8217;m rather keen on popping out the Wetherspoons curry club of a Thursday evening, given sufficient liquidity to do so. I&#8217;m very much a fan of the Wetherspoons business model, it&#8217;s an excellent place to pop in with a wi-fi enabled smartphone and take [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaundice.wordpress.com&amp;blog=8775923&amp;post=104&amp;subd=jaundice&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Those of you who know me well will be aware that I&#8217;m rather keen on popping out the <a href="http://www.jdwetherspoon.co.uk/">Wetherspoons</a> curry club of a Thursday evening, given sufficient liquidity to do so. I&#8217;m very much a fan of the Wetherspoons business model, it&#8217;s an excellent place to pop in with a wi-fi enabled smartphone and take advantage of an excellent range of competitively priced drinks, amazingly fair priced food and generally good customer service. Should you be one of the few yet to try them, do pop along, though avoiding the party crowd on friday and saturday nights is probably advisable.  </p>
<p>I visit myself ( mainly on Thursday ) to take advantage of the wonderful range of curries, offered for a pittance. I&#8217;m a particular fan, as a chilli addict, of the chicken vindaloo; the spiciest offering on the menu. As something I&#8217;d like to enjoy somewhat more regularly, I&#8217;ve been intermittently attempting to reverse engineer the recipe.</p>
<p>Hence my post tonight. I&#8217;ve finally managed a reasonable approximation of of the dish where I&#8217;m actually happy about the flavour, so I&#8217;m presenting it for others who may be interested to tinker with and refine. In no way is this a perfect copy, but it should prove a suitable candidate for refinement. </p>
<p>Initially, we need an onion puree as the core of the dish. This can be prepared thus :</p>
<p>5 onions<br />
a little vegetable oil ( you should use ghee, but it&#8217;s a pain to make )<br />
a dash of white wine vinegar</p>
<p>1: Peel and roughly chop the onions.<br />
2: Add a little oil to a pan and heat. Add the onions and cook them slowly until brown. The onions will at least quarter in volume over this time. The browner the better.<br />
3: Remove the onions when caramelised, to a bowl or blender. Add a little oil and the white wine vinegar ( substituting lemon juice should work, if needed ) and blend. You should now have a wonderful beige puree.</p>
<p>Next, we need a vindaloo sauce base. This paste shall suffice :</p>
<p>2 chilli peppers, 1 green, 1 red<br />
2 or 3 cloves of garlic.<br />
2 teaspoons turmeric<br />
1 teaspoon cumin<br />
1 teaspoon cayenne pepper<br />
1 teaspoon chilli powder<br />
2 teaspoons garam masala<br />
2 teaspoons dried coriander<br />
2 teaspoons mustard seeds<br />
a few drops <a href="http://www.scorchio.co.uk/daves-gourmet-insanity-sauce-p-9.html">chilli extract sauce</a><br />
Freshly ground pepper<br />
Salt to taste<br />
Water as required</p>
<p>1: Roughly chop the chillis and the garlic into a container for blending. Then add the spices and chilli extract.<br />
2: Blend. The thicker the paste is, the better, but you may need to add water to make it liquid enough. The ideal paste should be the consistency of cement.</p>
<p>Penultimately, we need to prepare the rice :</p>
<p>1 part basmati rice<br />
2.5 parts water<br />
1 or 2 teaspoons of turmeric<br />
a dash of salt<br />
boiling water to rinse the rice</p>
<p>1: Add the rice, water, turmeric and salt to pan. Bring to the boil and simmer for around 10 minutes. The rice is cooked when you can bite through a grain with no resistance.<br />
2: The now yellow rice ( that&#8217;s what the turmeric was for ) should be turned out into a collender and rinsed with boiling water. Leave to drip dry. </p>
<p>Finally, the curry itself :</p>
<p>1 tin chopped tomatoes<br />
around 3 chicken breasts<br />
onion puree ( see above )<br />
vindaloo paste ( see above )<br />
2 chilli&#8217;s, 1 red, 1 green<br />
a touch of vegetable oil<br />
A little water<br />
More chilli extract, if required.</p>
<p>1: Roughly chop the chillis and dice the chicken breast into bite sized lumps<br />
2: Line the bottom of a pan with oil. Once the oil is hot, add the vindaloo paste and mix the two for a couple of minutes.<br />
3: Add the diced chicken and cook in the sauce for about five minutes. You&#8217;re looking for the chicken meat to go nice and white. This should infuse some of the spice into the meat without having to marinade it.<br />
4: Add the chopped tomatoes, chopped chillis and onion puree. Simmer for at least 30 minutes. Add water to thin the consistency a little ( the water should reduce off, during the cooking process ).<br />
5: Add a little extra chilli extract if you find the dish a little limp.</p>
<p>There you go. Add mango chutney, poppadoms and naan bread when serving and this is a reasonably acceptable clone. All feedback to move this closer to the original is of course, very welcome.</p>
<p><strong>Update: 19/8/2010</strong></p>
<p>I&#8217;ve altered my sauce base to the following, finding a better flavour, the previous on seemed a little too bitter:</p>
<p>4-5 chilli peppers, mixed colours<br />
2 cloves of garlic.<br />
1 teaspoons turmeric<br />
1/2 teaspoon cumin<br />
1/2 teaspoon cayenne pepper<br />
1/2 teaspoon chilli powder ( optional )<br />
3 teaspoons garam masala<br />
1 teaspoons mustard seeds</p>
<p>The usual Hungarian hot wax Tesco sells seems to be acceptable in the above, though using 10g of Dorset Naga coupled with about 20g of Scotch Bonnets seems to give a very good heat, though the flavour is a little fruity because of the bonnets. </p>
<p>I&#8217;ve drastically altered the recipe for the rice, getting something much closer to a takeaway rather than a pub curry using it. I should stress, the &#8216;part&#8217; measurement is one of my large drinking mugs! Not very scientific, I admit. </p>
<p>1 basmati rice<br />
2.5 parts chicken stock<br />
1 or 2 teaspoons of turmeric<br />
8 cloves<br />
4 cardamom pods<br />
1 bay leaf<br />
A large pat of butter<br />
a dash of salt<br />
boiling water to rinse the rice</p>
<p>Melt the butter in the pan, and add the cardamom pods, cloves and bay leaf. Fry in the butter for a couple of mins, then add the rice and fry for another couple. Then add the chicken stock and tumeric, and cook as per usual. Tip into colander and rinse with boiling water.</p>
<p>I&#8217;ve also started adding two tins of chopped tomatoes to the pan, instead of one and blending them before doing so. I&#8217;ve also changed the water added before reducing the sauce in the final stage for chicken stock, this seems an improvement too. </p>
<p>I&#8217;ve you want to go for the full takeaway hit, add some chopped FRESH coriander ( or cilantro if you&#8217;re in the states ), near the end of the cooking process. Dried leaves from the store cupboard seem completely inadequate in adding that fragrant sensation to the dish.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaundice.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaundice.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaundice.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaundice.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaundice.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaundice.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaundice.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaundice.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaundice.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaundice.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaundice.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaundice.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaundice.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaundice.wordpress.com/104/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaundice.wordpress.com&amp;blog=8775923&amp;post=104&amp;subd=jaundice&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaundice.wordpress.com/2010/02/15/chicken-vindaloo/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc5cb469210ec12b37ca7add4c3543cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Poverty and Boredom</media:title>
		</media:content>
	</item>
		<item>
		<title>A very simple twitter bot</title>
		<link>http://jaundice.wordpress.com/2010/02/11/a-very-simple-twitter-bot/</link>
		<comments>http://jaundice.wordpress.com/2010/02/11/a-very-simple-twitter-bot/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 18:31:22 +0000</pubDate>
		<dc:creator>Poverty and Boredom</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://jaundice.wordpress.com/?p=97</guid>
		<description><![CDATA[Among my recent fiddlings have been some manipulations of the twitter API. I&#8217;ve managed to throw together some proof of concept code for automatically sending out tweets, as well as grabbing and examining them. It&#8217;s rough and ready, but it executes. I hope someone finds it of interest. # A Very simple python bot. # [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaundice.wordpress.com&amp;blog=8775923&amp;post=97&amp;subd=jaundice&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Among my recent fiddlings have been some manipulations of the twitter API. I&#8217;ve managed to throw together some proof of concept code for automatically sending out tweets, as well as grabbing and examining them. It&#8217;s rough and ready, but it executes. I hope someone finds it of interest.</p>
<p><code># A Very simple python bot.<br />
# Requires the python twitter module available here : http://code.google.com/p/python-twitter/</code></p>
<p><code># TODO : Add support for a proxy such as Tor.</code></p>
<p><code># Load required libraries<br />
import twitter, time</code></p>
<p><code># These two variables simply control program flow.<br />
incrementer = 0</code><br />
<code>loopcounter = 0<br />
</code><br />
<code>while 1 :</code></p>
<p><code>    # Ok, pop the login details here. Or use this call in a loop to crack passwords <img src='http://s1.wp.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
    # Replace the xxxxxx with the relavant info. </code><br />
    <code>twitterapi=twitter.Api(username='xxxxxx',password='xxxxxx')<br />
</code><br />
  <code>  #This should be the name of the client you wish the script to impersonate<br />
    #This has to be the name of a REAL client to work<br />
    twitterapi.SetSource(source='Tweetie')<br />
</code><br />
    <code>#This stuff is just some general test code for detecting and printing tweets.<br />
    # Left in so you can get some ideas for making more complex responses for the bot<br />
</code><br />
    <code>#users=twitterapi.GetFriends()<br />
    #print [u.screen_name for u in users]<br />
    #tweetlist=twitterapi.GetUserTimeline()<br />
    #tweets=[]<br />
    #i=0<br />
    #print tweetlist<br />
</code><br />
<code>#for item in tweetlist :<br />
#    print item.text<br />
#    print item.user.screen_name<br />
#    tweets.append([item.user.screen_name,item.text])<br />
#    i=i+1<br />
</code><br />
<code>#print tweets<br />
</code><br />
<code># This part belches out messages sequentially<br />
</code><br />
   <code> if incrementer==6 :<br />
        incrementer=0<br />
        loopcounter=loopcounter+1<br />
</code><br />
    <code>if incrementer==0 :<br />
        twitterapi.PostUpdate("Message 1")<br />
</code><br />
    <code>if incrementer==1 :<br />
        twitterapi.PostUpdate("Message 2")<br />
	</code><br />
    <code>if incrementer==2 :<br />
        twitterapi.PostUpdate("Message 3")<br />
       </code><br />
    <code>if incrementer==4 :<br />
        twitterapi.PostUpdate("Message 4")<br />
	</code><br />
   <code> if incrementer==5 :<br />
        twitterapi.PostUpdate("Message 5")<br />
	</code><br />
<code># This exits the program after tweeting each message twice<br />
    if loopcounter==2 :<br />
        break<br />
    incrementer=incrementer+1<br />
    # Delay time in seconds until next tweet<br />
    time.sleep(677)</code></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaundice.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaundice.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaundice.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaundice.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaundice.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaundice.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaundice.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaundice.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaundice.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaundice.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaundice.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaundice.wordpress.com/97/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaundice.wordpress.com/97/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaundice.wordpress.com/97/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaundice.wordpress.com&amp;blog=8775923&amp;post=97&amp;subd=jaundice&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaundice.wordpress.com/2010/02/11/a-very-simple-twitter-bot/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc5cb469210ec12b37ca7add4c3543cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Poverty and Boredom</media:title>
		</media:content>
	</item>
		<item>
		<title>My nokia, BBC iPlayer, a cheap telly and the BeBox</title>
		<link>http://jaundice.wordpress.com/2009/10/21/my-nokia-bbc-iplayer-a-cheap-telly-and-the-bebox/</link>
		<comments>http://jaundice.wordpress.com/2009/10/21/my-nokia-bbc-iplayer-a-cheap-telly-and-the-bebox/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 03:34:22 +0000</pubDate>
		<dc:creator>Poverty and Boredom</dc:creator>
				<category><![CDATA[Complete Nuisance]]></category>
		<category><![CDATA[Computing]]></category>

		<guid isPermaLink="false">http://jaundice.wordpress.com/?p=75</guid>
		<description><![CDATA[Recently, I&#8217;ve preoccupied myself and the vast amounts of spare time i possess by indulging my main hobbies; cookery and technology. A few weeks back, as reported via twitter, I collected a small television with which to equip my cell for the exorbitant sum of one entire british pound. As with all bargains, there was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaundice.wordpress.com&amp;blog=8775923&amp;post=75&amp;subd=jaundice&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Recently, I&#8217;ve preoccupied myself and the vast amounts of spare time i possess by indulging my main hobbies; cookery and technology. A few weeks back, as reported via twitter, I collected a small television with which to equip my cell for the exorbitant sum of one entire british pound. </p>
<p>As with all bargains, there was a catch, in this case being the lack of a remote control and the telescreen requiring such to tune it into anything other than the scart socket. Bereft of finance for the range of currently overpriced freeview boxes, the idea came upon my to at least use my smartphone as a conduit for the <a href="http://www.bbc.co.uk/iplayer">iplayer</a></p>
<p>Be Internet&#8217;s Speedtouch 585 made this an experience akin to pulling teeth from one&#8217;s own skull, meaning best enjoyed after rapid consumption of a bottle of vodka so that at least you will not retain memory of such agony. In this case, sadly, no such respite was forthcoming. </p>
<p>The issue is that Thomson&#8217;s slapdash firmware implementation of uPNP is incapable of handling the Nokia&#8217;s realplayer, predictably used by auntie for playback. The only way to resolve this is to hack the devices configurations around the problem.</p>
<p>Thus to start with, you have to get the speedtouch to assign a fixed ip address to the phone by :</p>
<ol>
<li>Going into the routers <a href="http://bebox.config">web interface</a>, clicking Home Network, then Devices, noting what&#8217;s listed with the phone disconnected, then connecting the phone, refreshing the page and clicking on the MAC address that appears, clicking configure and ticking the box marked &#8216;Always use the same IP address for this device&#8217;.</li>
<li>Next, head into the phones realplayer ( menu button -&gt; applications -&gt; media -&gt; realplayer ) and press options and go to settings. Select streaming, then network. Set lowest udp port to 45105, highest port to 45125 and select the name of your wireless network as default access point.</li>
<li>Finally, head back into the routers configuration, select game and application sharing and go to <a href="http://bebox.config/cgi/b/games/newserv/?ce=1&amp;be=0&amp;l0=2&amp;l1=3&amp;tid=CREATE_GAME">create a new game or application</A>. Name it something appropriate then select manual entry of port maps, then tell it udp from 45105 to 45125 and save. Head back into the router configuration and assign the rule you just created to the phone.</li>
</ol>
<p>What a pain in the backside, just to watch a bit of telly in the house.s </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaundice.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaundice.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaundice.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaundice.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaundice.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaundice.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaundice.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaundice.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaundice.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaundice.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaundice.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaundice.wordpress.com/75/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaundice.wordpress.com/75/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaundice.wordpress.com/75/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaundice.wordpress.com&amp;blog=8775923&amp;post=75&amp;subd=jaundice&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaundice.wordpress.com/2009/10/21/my-nokia-bbc-iplayer-a-cheap-telly-and-the-bebox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc5cb469210ec12b37ca7add4c3543cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Poverty and Boredom</media:title>
		</media:content>
	</item>
		<item>
		<title>Shepherds/Cottage Pie</title>
		<link>http://jaundice.wordpress.com/2009/10/21/shepherdscottage-pie/</link>
		<comments>http://jaundice.wordpress.com/2009/10/21/shepherdscottage-pie/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 02:59:55 +0000</pubDate>
		<dc:creator>Poverty and Boredom</dc:creator>
				<category><![CDATA[Cookery]]></category>

		<guid isPermaLink="false">http://jaundice.wordpress.com/?p=76</guid>
		<description><![CDATA[A friend just asked me how to cook a flawless one of these, so I told him I&#8217;d blog my method. You&#8217;ll need : Mash Topping: Around 1kg of potatoes Butter Milk Meat Filling: Beef Oxo&#8217;s Instant Gravy 500g ( or more if you like ) Minced Beef/Lamb 1 Medium Onion ( optional ) carrots [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaundice.wordpress.com&amp;blog=8775923&amp;post=76&amp;subd=jaundice&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>A friend just asked me how to cook a flawless one of these, so I told him I&#8217;d blog my method.</p>
<p>You&#8217;ll need :</p>
<p>Mash Topping:<br />
Around 1kg of potatoes<br />
Butter<br />
Milk</p>
<p>Meat Filling:<br />
Beef Oxo&#8217;s<br />
Instant Gravy<br />
500g ( or more if you like ) Minced Beef/Lamb<br />
1 Medium Onion<br />
( optional ) carrots or other diced veg to taste</p>
<p>Start off by peeling the spuds and boiling them for around 30-40 mins in salted water, as per the usual way for cooking potatoes. If you&#8217;re adding veg, cook this separately too. </p>
<p>While you&#8217;re doing this, peel and finely chop the onion ( I like to use a mandolin ), then throw in a frying pan with the mince and brown them. Cheaper mince will contain enough fat to fry itself, you might need to add a little oil to the frying pan to start the process. </p>
<p>Once the mince is browned, use a slotted spoon to scoop the onion and mince into a large pyrex cooking bowl. Add the veggies when they are cooked, then cover with a mixture of equal parts instant gravy and beef stock cubes.</p>
<p>Once the potatoes are cooked, add a little milk and a knob of butter and mash them ( cream is overkill for the topping here ) until soft and fluffy throughout. Then spoon lumps of the mashed potatoes over the filling, slowly building up a layer covering the filling. After you&#8217;ve produced the topping, fork down to ensure any gaps are removed and that the topping reaches the sides of the bowl. </p>
<p>Now brown the top of the potato topping using the grill. This will ensure a good seal over the top of the filling and prevent any hot gravy bubbling up from the filling later and ruining your hard work!</p>
<p>After browning the crust, when you&#8217;re ready to serve, simply place the pie in the oven at 160C for around 20 mins to warm through. Enjoy!.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaundice.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaundice.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaundice.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaundice.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaundice.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaundice.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaundice.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaundice.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaundice.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaundice.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaundice.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaundice.wordpress.com/76/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaundice.wordpress.com/76/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaundice.wordpress.com/76/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaundice.wordpress.com&amp;blog=8775923&amp;post=76&amp;subd=jaundice&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaundice.wordpress.com/2009/10/21/shepherdscottage-pie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc5cb469210ec12b37ca7add4c3543cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Poverty and Boredom</media:title>
		</media:content>
	</item>
		<item>
		<title>Noodle Soup</title>
		<link>http://jaundice.wordpress.com/2009/09/10/noodle-soup/</link>
		<comments>http://jaundice.wordpress.com/2009/09/10/noodle-soup/#comments</comments>
		<pubDate>Thu, 10 Sep 2009 21:46:49 +0000</pubDate>
		<dc:creator>Poverty and Boredom</dc:creator>
				<category><![CDATA[Cookery]]></category>

		<guid isPermaLink="false">http://jaundice.wordpress.com/?p=68</guid>
		<description><![CDATA[As a little filler post, here&#8217;s a noodle soup I&#8217;ve been developing. It&#8217;s based roughly on the recipe for Vietnamese Pho Bo that Rick Stein&#8217;s recent far eastern cookery show demonstrated, though this interpretation has had all the high value ingredients removed or substituted to allow those enjoying the pleasures the British welfare system to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaundice.wordpress.com&amp;blog=8775923&amp;post=68&amp;subd=jaundice&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>As a little filler post, here&#8217;s a noodle soup I&#8217;ve been developing. It&#8217;s based roughly on the recipe for Vietnamese Pho Bo that Rick Stein&#8217;s recent far eastern cookery show demonstrated, though this interpretation has had all the high value ingredients removed or substituted to allow those enjoying the pleasures the British welfare system to serve it.</p>
<p>You&#8217;ll require for each portion :<br />
1 beef stock cube ( Oxo seems to work well )<br />
1 packet instant noodles<br />
1 spring onion<br />
a little fresh minced beef<br />
1/2 about half a large chilli<br />
lemon juice<br />
fish sauce ( my local Sainsbury&#8217;s has bottles of this for around a pound )<br />
salt and pepper</p>
<p>Start by chopping the chilli and the spring onion into small pieces, you&#8217;ll ideally want the chilli in slices about 1 or 2 millimeters thick. Put these to one side, and prepare the instant noodles according to the packet, leaving out the stock included with them. Once cooked, place the noodles in a bowl, take a lump of the mince about the size of a meatball and fry it a saucepan. After cooking it, put the mince over the noodles. Take 350ml of water and place in the pan you cooked the mince in, and add the stock cube, salt and pepper and some lemon juice and fish sauce ( about a tablespoon or two&#8217;s worth depending on your tastes ) and simmer this to reduce it into a broth. Sprinkle the spring onion and chilli over the beef and noodles, then pour in the broth. Serve.</p>
<p>Now to return to increasingly frustrating <a href="http://www.monopolycitystreets.com/game.html#en">Monopoly City Streets</a> and spectate as the server undergoes it&#8217;s own version of <a href="http://www.catnarok.org">Catnarok</a>.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/jaundice.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/jaundice.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/jaundice.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/jaundice.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/jaundice.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/jaundice.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/jaundice.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/jaundice.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/jaundice.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/jaundice.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/jaundice.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/jaundice.wordpress.com/68/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/jaundice.wordpress.com/68/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/jaundice.wordpress.com/68/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=jaundice.wordpress.com&amp;blog=8775923&amp;post=68&amp;subd=jaundice&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://jaundice.wordpress.com/2009/09/10/noodle-soup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/cc5cb469210ec12b37ca7add4c3543cc?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Poverty and Boredom</media:title>
		</media:content>
	</item>
	</channel>
</rss>
