<?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>Ramin Hossaini (blog) &#187; Tools</title>
	<atom:link href="http://blog.ramin-hossaini.com/category/tools/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ramin-hossaini.com</link>
	<description></description>
	<lastBuildDate>Sun, 01 Jan 2012 17:30:38 +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>If this, then that (ifttt)</title>
		<link>http://blog.ramin-hossaini.com/2012/01/01/if-this-then-that-ifttt/</link>
		<comments>http://blog.ramin-hossaini.com/2012/01/01/if-this-then-that-ifttt/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 17:30:38 +0000</pubDate>
		<dc:creator>Ramin Hossaini</dc:creator>
				<category><![CDATA[Tools]]></category>

		<guid isPermaLink="false">http://blog.ramin-hossaini.com/?p=875</guid>
		<description><![CDATA[Ifttt is a really handy tool for creating simple triggers that set off actions or tasks. It works off of what ifttt calls "channels" (a particular date &#038; time, Foursquare, Facebook, Flickr, and Evernote are a few examples) You might find that the "if this, then that" is a bit too simple for certain things [...]
No related posts.]]></description>
			<content:encoded><![CDATA[<p><a href="http://ifttt.com/" rel="nofollow"><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2012/01/2012-01-01_192217.png" alt="" title="2012-01-01_192217" width="283" height="85" class="alignnone size-full wp-image-876" /></a></p>
<p>Ifttt is a really handy tool for creating simple triggers that set off actions or tasks. It works off of what ifttt calls "channels" (a particular date &#038; time, Foursquare, Facebook, Flickr, and Evernote are a few examples) </p>
<p>You might find that the "if this, then that" is a bit too simple for certain things you would like to do - I would have loved to see a little more complexity involved. For example, "if this and this, then that". </p>
<p>Here are a couple of examples: </p>
<ul>
<li><a href="http://ifttt.com/recipes/8981" rel="nofollow">When your Facebook profile picture changes, update your Twitter profile picture as well</a></li>
<li><a href="http://ifttt.com/recipes/12281" rel="nofollow">Post to Facebook at midnight, January 1st (or any other time)</a></li>
<li><a href="http://ifttt.com/recipes/9134" rel="nofollow">Starred items in Google Reader -&gt; Evernote</a></li>
<li><a href="http://ifttt.com/recipes/12507" rel="nofollow">If it's raining tomorrow, send me an email</a></li>
<li><a href="http://ifttt.com/recipes/1760" rel="nofollow">If you're tagged in a photo on Facebook, send it to Dropbox</a></li>
<li><a href="http://ifttt.com/recipes/56" rel="nofollow">If photo is uploaded to Instagram, send it to Dropbox</a></li>
<li><a href="http://ifttt.com/recipes/150" rel="nofollow">Flickr-favourites to Dropbox</a></li>
<li><a href="http://ifttt.com/recipes/518" rel="nofollow">Archive all your Facebook statuses to Evernote</a></li>
</ul>
<p>Ifttt is in beta at the moment, and it's free to sign up - but I don't suspect it will stay that way for very long.</p>
<p>Anyways, you might as well try it yourself and start making your own recipes: <a href="http://ifttt.com/" rel="nofollow">ifttt</a></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.ramin-hossaini.com/2012/01/01/if-this-then-that-ifttt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Extracting attachments from .EML files</title>
		<link>http://blog.ramin-hossaini.com/2011/03/15/base64/</link>
		<comments>http://blog.ramin-hossaini.com/2011/03/15/base64/#comments</comments>
		<pubDate>Mon, 14 Mar 2011 22:22:24 +0000</pubDate>
		<dc:creator>Ramin Hossaini</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Attachments]]></category>
		<category><![CDATA[Base64]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[Outlook Express]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[Utility]]></category>

		<guid isPermaLink="false">http://blog.ramin-hossaini.com/?p=847</guid>
		<description><![CDATA[Note: If you're only interested in the download, scroll down to the bottom of the post. An inconsiderate friend sent me a couple of .eml files with attachments that I had to look through. I downloaded the files and found that I had no associated application to open them. So instead of finding an application [...]
Related posts:<ol>
<li><a href='http://blog.ramin-hossaini.com/2010/02/16/listing-key-oracle-database-files/' rel='bookmark' title='Listing key Oracle Database files'>Listing key Oracle Database files</a></li>
<li><a href='http://blog.ramin-hossaini.com/2007/06/11/unlocker/' rel='bookmark' title='Unlocker'>Unlocker</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Note: If you're only interested in the download, scroll down to the bottom of the post.</p>
<p>An inconsiderate friend sent me a couple of .eml files with attachments that I had to look through. I downloaded the files and found that I had no associated application to open them. So instead of finding an application to open them, I thought I'd take a closer look at the files:</p>
<p>The top portion had a whole bunch of stuff I had no interest in whatsoever:</p>
<p><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2011/03/2011-03-14_235305.png" alt="" title="2011-03-14_235305" width="483" height="165" class="alignnone size-full wp-image-848" /></p>
<p>After all the HTML, I found the code for the attachment:</p>
<p><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2011/03/2011-03-14_235933.png" alt="" title="2011-03-14_235933" width="567" height="213" class="alignnone size-full wp-image-849" /></p>
<p>So I figured I just had to decode the Base64-encoded data and save it as the filename (in this case, a PDF)</p>
<p>The most logical thing at this point was to write my own application to do it. Just made a simple C# form with a textbox for the Base64-encoded data, a textbox for the filename to write to and a Decode button to get things going:</p>
<p><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2011/03/2011-03-15_000523.png" alt="" title="2011-03-15_000523" width="693" height="473" class="alignnone size-full wp-image-851" /></p>
<p>The Decode function is pretty simple:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
</pre></td><td class="code"><pre class="csharp" style="font-family:monospace;"><span style="color: #0600FF; font-weight: bold;">public</span> <span style="color: #6666cc; font-weight: bold;">byte</span><span style="color: #008000;">&#91;</span><span style="color: #008000;">&#93;</span> decode<span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">string</span> data<span style="color: #008000;">&#41;</span>
<span style="color: #008000;">&#123;</span>
    <span style="color: #6666cc; font-weight: bold;">byte</span><span style="color: #008000;">&#91;</span><span style="color: #008000;">&#93;</span> output <span style="color: #008000;">=</span> Convert<span style="color: #008000;">.</span><span style="color: #0000FF;">FromBase64String</span><span style="color: #008000;">&#40;</span> data <span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
    <span style="color: #0600FF; font-weight: bold;">return</span> output<span style="color: #008000;">;</span>
<span style="color: #008000;">&#125;</span></pre></td></tr></table></div>

<p>So feed the function the Base64 part and it spits out the good stuff that you just write to a file:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
</pre></td><td class="code"><pre class="csharp" style="font-family:monospace;">FileStream fs <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> FileStream<span style="color: #008000;">&#40;</span>txtFilename<span style="color: #008000;">.</span><span style="color: #0000FF;">Text</span>, FileMode<span style="color: #008000;">.</span><span style="color: #0000FF;">Create</span>, FileAccess<span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
BinaryWriter writer <span style="color: #008000;">=</span> <span style="color: #008000;">new</span> BinaryWriter<span style="color: #008000;">&#40;</span>fs<span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #0600FF; font-weight: bold;">try</span>
<span style="color: #008000;">&#123;</span>
    <span style="color: #0600FF; font-weight: bold;">for</span> <span style="color: #008000;">&#40;</span><span style="color: #6666cc; font-weight: bold;">int</span> i <span style="color: #008000;">=</span> <span style="color: #FF0000;">0</span><span style="color: #008000;">;</span> i <span style="color: #008000;">&lt;</span> decodedData<span style="color: #008000;">.</span><span style="color: #0000FF;">Length</span><span style="color: #008000;">;</span> i<span style="color: #008000;">++</span><span style="color: #008000;">&#41;</span>
    <span style="color: #008000;">&#123;</span>
        writer<span style="color: #008000;">.</span><span style="color: #0000FF;">Write</span><span style="color: #008000;">&#40;</span>decodedData<span style="color: #008000;">&#91;</span>i<span style="color: #008000;">&#93;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
    <span style="color: #008000;">&#125;</span>
<span style="color: #008000;">&#125;</span>
<span style="color: #0600FF; font-weight: bold;">finally</span>
<span style="color: #008000;">&#123;</span>
    writer<span style="color: #008000;">.</span><span style="color: #0000FF;">Close</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
    fs<span style="color: #008000;">.</span><span style="color: #0000FF;">Close</span><span style="color: #008000;">&#40;</span><span style="color: #008000;">&#41;</span><span style="color: #008000;">;</span>
<span style="color: #008000;">&#125;</span></pre></td></tr></table></div>

<p>You can also just download the latest version of the app here: <a href="http://dev.ramin-hossaini.com/base64/base64_decoder.zip">Base64 Decoder</a></p>
<p>The open file function is a bit experimental and does some .EML file clean-up.</p>
<p>It requires the .NET framework and no, it doesn't come supported, and I can't promise that I'll continue working on it.</p>
<p>Related posts:<ol>
<li><a href='http://blog.ramin-hossaini.com/2010/02/16/listing-key-oracle-database-files/' rel='bookmark' title='Listing key Oracle Database files'>Listing key Oracle Database files</a></li>
<li><a href='http://blog.ramin-hossaini.com/2007/06/11/unlocker/' rel='bookmark' title='Unlocker'>Unlocker</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.ramin-hossaini.com/2011/03/15/base64/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>An introduction to Yahoo! Pipes</title>
		<link>http://blog.ramin-hossaini.com/2011/01/01/an-introduction-to-yahoo-pipes/</link>
		<comments>http://blog.ramin-hossaini.com/2011/01/01/an-introduction-to-yahoo-pipes/#comments</comments>
		<pubDate>Sat, 01 Jan 2011 13:59:23 +0000</pubDate>
		<dc:creator>Ramin Hossaini</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Pipes]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Yahoo]]></category>

		<guid isPermaLink="false">http://blog.ramin-hossaini.com/?p=836</guid>
		<description><![CDATA[Yahoo! isn't exactly one of my favourite companies out there, and it isn't hard to figure out why when you see how they've acquired and maintained technologies like Delicious and Flickr. That being said, I have to say I'm a big fan of Yahoo! Pipes, and I haven't been able to find an alternative that's [...]
Related posts:<ol>
<li><a href='http://blog.ramin-hossaini.com/2009/02/18/google-reader-hack/' rel='bookmark' title='Use Google Reader to find out rough estimate of RSS subscribers'>Use Google Reader to find out rough estimate of RSS subscribers</a></li>
<li><a href='http://blog.ramin-hossaini.com/2007/07/27/firefox-extension-dragdropupload/' rel='bookmark' title='Firefox extension: DragDropUpload'>Firefox extension: DragDropUpload</a></li>
<li><a href='http://blog.ramin-hossaini.com/2008/12/05/finding-new-photos-on-flickr-almost-effortlessly/' rel='bookmark' title='Finding new photos on Flickr (almost effortlessly)'>Finding new photos on Flickr (almost effortlessly)</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Yahoo! isn't exactly one of my favourite companies out there, and it isn't hard to figure out why when you see how they've acquired and maintained technologies like <a href="http://www.delicious.com/">Delicious</a> and <a href="http://www.flickr.com/">Flickr</a>.</p>
<p>That being said, I have to say I'm a big fan of <a href="http://pipes.yahoo.com/pipes/">Yahoo! Pipes</a>, and I haven't been able to find an alternative that's as good.</p>
<p>The name is derived from the Unix pipe where simple commands can be combined together to create output that meets your needs.</p>
<h2>Example</h2>
<p>So here's a very simple example: let's say you have a specific RSS feed (in this example, the <a href="http://feeds.guardian.co.uk/theguardian/football/rss">Guardian football RSS feed</a>) you like - but you're only interested in very specific news (in this example, we only want content relating to Liverpool FC).</p>
<p>Go to Yahoo! Pipes and create a new pipe. Then add the RSS feed as input:</p>
<p><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2011/01/2011-01-01_152256.png" alt="" title="2011-01-01_152256" width="562" height="249" class="alignnone size-full wp-image-837" /></p>
<p>Click on the input-box and you should be able to see a preview of what the input is like:</p>
<p><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2011/01/2011-01-01_152327.png" alt="" title="2011-01-01_152327" width="473" height="182" class="alignnone size-full wp-image-839" /></p>
<p>Under the 'Operators' menu on the left, drag a 'filter' module into your pipe, add some rules and then connect the boxes together:</p>
<p><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2011/01/2011-01-01_152338.png" alt="" title="2011-01-01_152338" width="566" height="376" class="alignnone size-full wp-image-840" /></p>
<p>Click on the 'pipe output' box to see a preview of the new output:</p>
<p><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2011/01/2011-01-01_152402.png" alt="" title="2011-01-01_152402" width="440" height="198" class="alignnone size-full wp-image-841" /></p>
<p>Once you've saved your pipe, click on 'Run pipe' and get the output's RSS feed address:</p>
<p><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2011/01/2011-01-01_152701.png" alt="" title="2011-01-01_152701" width="702" height="262" class="alignnone size-full wp-image-842" /></p>
<p>I'm curious to see how others use Yahoo! Pipes - leave a comment if you think of something.</p>
<p>Related posts:<ol>
<li><a href='http://blog.ramin-hossaini.com/2009/02/18/google-reader-hack/' rel='bookmark' title='Use Google Reader to find out rough estimate of RSS subscribers'>Use Google Reader to find out rough estimate of RSS subscribers</a></li>
<li><a href='http://blog.ramin-hossaini.com/2007/07/27/firefox-extension-dragdropupload/' rel='bookmark' title='Firefox extension: DragDropUpload'>Firefox extension: DragDropUpload</a></li>
<li><a href='http://blog.ramin-hossaini.com/2008/12/05/finding-new-photos-on-flickr-almost-effortlessly/' rel='bookmark' title='Finding new photos on Flickr (almost effortlessly)'>Finding new photos on Flickr (almost effortlessly)</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.ramin-hossaini.com/2011/01/01/an-introduction-to-yahoo-pipes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updated: Flickr comment generator</title>
		<link>http://blog.ramin-hossaini.com/2010/09/03/updated-flickr-comment-generator/</link>
		<comments>http://blog.ramin-hossaini.com/2010/09/03/updated-flickr-comment-generator/#comments</comments>
		<pubDate>Fri, 03 Sep 2010 18:07:24 +0000</pubDate>
		<dc:creator>Ramin Hossaini</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Comments]]></category>
		<category><![CDATA[Flickr]]></category>
		<category><![CDATA[Generator]]></category>
		<category><![CDATA[Greasemonkey]]></category>
		<category><![CDATA[Script]]></category>

		<guid isPermaLink="false">http://blog.ramin-hossaini.com/?p=814</guid>
		<description><![CDATA[I had a shocking revelation today: people are actually using my Flickr-comment-generator. Even cooler: I realised people were using the Greasemonkey script I had created to go along with it. Shame on all of you! After Flickr redesigned their photo-pages, the script stopped working though, and people had to actually think of comments to write [...]
Related posts:<ol>
<li><a href='http://blog.ramin-hossaini.com/2009/08/11/automatically-insert-rubbish-flickr-comments-with-flickr-comment-generator/' rel='bookmark' title='Automatically insert rubbish Flickr-comments with Flickr-comment-generator'>Automatically insert rubbish Flickr-comments with Flickr-comment-generator</a></li>
<li><a href='http://blog.ramin-hossaini.com/2009/08/09/flickr-comment-generator/' rel='bookmark' title='Flickr comment generator'>Flickr comment generator</a></li>
<li><a href='http://blog.ramin-hossaini.com/2008/10/20/flickr-modifies-start-page-and-makes-life-harder/' rel='bookmark' title='Flickr modifies start page &#8211; and makes life harder'>Flickr modifies start page &#8211; and makes life harder</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>I had a shocking revelation today: people are actually using my <a href="http://dev.ramin-hossaini.com/flickr-comments/">Flickr-comment-generator</a>. Even cooler: I realised people were using the <a href="http://www.greasespot.net/">Greasemonkey</a> script I had created to go along with it. Shame on all of you!</p>
<p><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2010/09/2010-09-03_185727.png" alt="" title="2010-09-03_185727" width="414" height="151" class="alignnone size-full wp-image-816" /></p>
<p>After Flickr redesigned their photo-pages, the script stopped working though, and people had to actually think of comments to write (terrible!). I finally took the time out today to update the script and now everybody can have generic-goodness available to them. </p>
<p><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2010/09/2010-09-03_190154.png" alt="" title="2010-09-03_190154" width="322" height="281" class="alignnone size-full wp-image-817" /></p>
<p>Also, if you would like to contribute to this terrible project by submitting generic comments of your own, feel free to <a href="http://www.ramin-hossaini.com/">send me an email here</a></p>
<p>Related posts:<ol>
<li><a href='http://blog.ramin-hossaini.com/2009/08/11/automatically-insert-rubbish-flickr-comments-with-flickr-comment-generator/' rel='bookmark' title='Automatically insert rubbish Flickr-comments with Flickr-comment-generator'>Automatically insert rubbish Flickr-comments with Flickr-comment-generator</a></li>
<li><a href='http://blog.ramin-hossaini.com/2009/08/09/flickr-comment-generator/' rel='bookmark' title='Flickr comment generator'>Flickr comment generator</a></li>
<li><a href='http://blog.ramin-hossaini.com/2008/10/20/flickr-modifies-start-page-and-makes-life-harder/' rel='bookmark' title='Flickr modifies start page &#8211; and makes life harder'>Flickr modifies start page &#8211; and makes life harder</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.ramin-hossaini.com/2010/09/03/updated-flickr-comment-generator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More Twitter tools</title>
		<link>http://blog.ramin-hossaini.com/2009/10/15/more-twitter-tools/</link>
		<comments>http://blog.ramin-hossaini.com/2009/10/15/more-twitter-tools/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 12:39:06 +0000</pubDate>
		<dc:creator>Ramin Hossaini</dc:creator>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://blog.ramin-hossaini.com/?p=514</guid>
		<description><![CDATA[Favstar Find out who's faved your Tweets http://favstar.fm ReTweetist Find out who's re-tweeted/RT'ed your tweets http://www.retweetist.com For even more tools, check out my previous post: Twitter Tools Related posts: Twitter tools Ridding Twitter of Annoyances
Related posts:<ol>
<li><a href='http://blog.ramin-hossaini.com/2009/10/07/twitter-tools/' rel='bookmark' title='Twitter tools'>Twitter tools</a></li>
<li><a href='http://blog.ramin-hossaini.com/2010/06/05/ridding-twitter-of-annoyances/' rel='bookmark' title='Ridding Twitter of Annoyances'>Ridding Twitter of Annoyances</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h3>Favstar</h3>
<p>Find out who's faved your Tweets</p>
<p><a href="http://favstar.fm">http://favstar.fm</a></p>
<p><a href="http://favstar.fm"><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/10/2011-04-26_003036.png" alt="" title="2011-04-26_003036" width="317" height="110" class="alignnone size-full wp-image-862" /></a></p>
<h3>ReTweetist</h3>
<p>Find out who's re-tweeted/RT'ed your tweets</p>
<p><a href="http://www.retweetist.com">
<p>http://www.retweetist.com</p>
<p></a><br />
<a href="http://www.retweetist.com/"><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/10/retweetist.png" alt="retweetist" title="retweetist" width="298" height="131" class="alignnone size-full wp-image-516" /></a></p>
<p>For even more tools, check out my previous post: <a href="http://blog.ramin-hossaini.com/2009/10/07/twitter-tools/">Twitter Tools</a></p>
<p>Related posts:<ol>
<li><a href='http://blog.ramin-hossaini.com/2009/10/07/twitter-tools/' rel='bookmark' title='Twitter tools'>Twitter tools</a></li>
<li><a href='http://blog.ramin-hossaini.com/2010/06/05/ridding-twitter-of-annoyances/' rel='bookmark' title='Ridding Twitter of Annoyances'>Ridding Twitter of Annoyances</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.ramin-hossaini.com/2009/10/15/more-twitter-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter tools</title>
		<link>http://blog.ramin-hossaini.com/2009/10/07/twitter-tools/</link>
		<comments>http://blog.ramin-hossaini.com/2009/10/07/twitter-tools/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 11:06:34 +0000</pubDate>
		<dc:creator>Ramin Hossaini</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Twitter]]></category>

		<guid isPermaLink="false">http://blog.ramin-hossaini.com/?p=478</guid>
		<description><![CDATA[Tweetdeck Personally, I think this is the best Twitter client/interface I've used so far - they also have a version available for the iPhone. Get Tweetdeck TweetStats Find out more about your Tweeting-patterns: TweetStats Twitalyzer Find out about your Twitter 'influence', 'signal', 'generosity', 'velocity' and 'clout': Twitalyzer TweetPsych This is interesting - build a psychological [...]
Related posts:<ol>
<li><a href='http://blog.ramin-hossaini.com/2009/10/15/more-twitter-tools/' rel='bookmark' title='More Twitter tools'>More Twitter tools</a></li>
<li><a href='http://blog.ramin-hossaini.com/2010/06/05/ridding-twitter-of-annoyances/' rel='bookmark' title='Ridding Twitter of Annoyances'>Ridding Twitter of Annoyances</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<h2>Tweetdeck</h2>
<p>Personally, I think this is the best Twitter client/interface I've used so far - they also have a version available for the iPhone.</p>
<p><a href="http://tweetdeck.com/beta/"><br />
<img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/10/tweetdeck1.png" alt="tweetdeck1" title="tweetdeck1" width="393" height="195" class="alignnone size-full wp-image-479" /></a><br />
<a href="http://tweetdeck.com/beta/">
<p>Get Tweetdeck</p>
<p></a></p>
<h2>TweetStats</h2>
<p>Find out more about your Tweeting-patterns:</p>
<p><a href="http://tweetstats.com/"><br />
<img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/10/tweetstats.png" alt="tweetstats" title="tweetstats" width="403" height="175" class="alignnone size-full wp-image-481" /></a><br />
<a href="http://tweetstats.com/">
<p>TweetStats</p>
<p></a></p>
<h2>Twitalyzer</h2>
<p>Find out about your Twitter 'influence', 'signal', 'generosity', 'velocity' and 'clout':</p>
<p><a href="http://www.twitalyzer.com/twitalyzer/"><br />
<img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/10/twitalyzer.png" alt="twitalyzer" title="twitalyzer" width="521" height="185" class="alignnone size-full wp-image-482" /></a><br />
<a href="http://www.twitalyzer.com/twitalyzer/">
<p>Twitalyzer</p>
<p></a></p>
<h2>TweetPsych</h2>
<p>This is interesting - build a psychological profile of a person based on the content of their tweets:</p>
<p><a href="http://tweetpsych.com/"><br />
<img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/10/tweetpsych.png" alt="tweetpsych" title="tweetpsych" width="376" height="158" class="alignnone size-full wp-image-484" /></a><br />
<a href="http://tweetpsych.com/">
<p>TweetPsych</p>
<p></a></p>
<h2>Twitter Karma</h2>
<p>Find out who isn't following you back and who you're not following:</p>
<p><a href="http://dossy.org/twitter/karma/"><br />
<img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/10/twitterkarma.png" alt="twitterkarma" title="twitterkarma" width="419" height="154" class="alignnone size-full wp-image-485" /></a><br />
<a href="http://dossy.org/twitter/karma/">
<p>Twitter Karma</p>
<p></a></p>
<h2>BackTweets</h2>
<p>Lets you search for links on twitter (even through URL shorteners). Useful if you want to see who's been tweeting about your website. They also have a WordPress plugin for it.</p>
<p><a href="http://backtweets.com/"><br />
<img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/10/backtweets.png" alt="backtweets" title="backtweets" width="405" height="155" class="alignnone size-full wp-image-486" /></a><br />
<a href="http://backtweets.com/">
<p>BackTweets</p>
<p></a></p>
<h2>Twuffer</h2>
<p>Twuffer is a "Twitter Buffer" that allows you to schedule tweets for a later time</p>
<p><a href="http://twuffer.com/"><br />
<img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/10/twuffer.png" alt="twuffer" title="twuffer" width="297" height="178" class="alignnone size-full wp-image-487" /></a><br />
<a href="http://twuffer.com/">
<p>Twuffer</p>
<p></a></p>
<h2>Qwitter</h2>
<p>Qwitter lets you know when someone has stopped following you</p>
<p><a href="http://useqwitter.com/"><br />
<img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/10/qwitter.png" alt="qwitter" title="qwitter" width="451" height="135" class="alignnone size-full wp-image-488" /></a><br />
<a href="http://useqwitter.com/">
<p>Qwitter</p>
<p></a></p>
<p>Did I miss something? Let me know in the comments. You can also <a href="http://twitter.com/RaminHossaini/">follow me on twitter</a></p>
<p>Related posts:<ol>
<li><a href='http://blog.ramin-hossaini.com/2009/10/15/more-twitter-tools/' rel='bookmark' title='More Twitter tools'>More Twitter tools</a></li>
<li><a href='http://blog.ramin-hossaini.com/2010/06/05/ridding-twitter-of-annoyances/' rel='bookmark' title='Ridding Twitter of Annoyances'>Ridding Twitter of Annoyances</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.ramin-hossaini.com/2009/10/07/twitter-tools/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Creating a tunnel and SOCKS proxy with Putty</title>
		<link>http://blog.ramin-hossaini.com/2009/10/06/creating-a-tunnel-and-socks-proxy-with-putty/</link>
		<comments>http://blog.ramin-hossaini.com/2009/10/06/creating-a-tunnel-and-socks-proxy-with-putty/#comments</comments>
		<pubDate>Tue, 06 Oct 2009 08:46:07 +0000</pubDate>
		<dc:creator>Ramin Hossaini</dc:creator>
				<category><![CDATA[How-to]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Proxy]]></category>
		<category><![CDATA[Putty]]></category>
		<category><![CDATA[SOCKS]]></category>
		<category><![CDATA[SSH]]></category>
		<category><![CDATA[Tunnel]]></category>

		<guid isPermaLink="false">http://blog.ramin-hossaini.com/?p=468</guid>
		<description><![CDATA[Why? Secure a public WiFi connection Bypass country-specific-content websites (e.g sites that only allow users from the U.S) Connect to a remotely-secured MySQL database via localhost It's pretty easy to do in Linux (and I think the command is pretty much the same in MacOS or with cygwin installed): ssh -L localport:hostname:remoteport username@Server This is [...]
Related posts:<ol>
<li><a href='http://blog.ramin-hossaini.com/2007/08/02/photoshop-tutorial-creating-detailed-masks-from-channels/' rel='bookmark' title='Photoshop tutorial: Creating detailed-masks from channels'>Photoshop tutorial: Creating detailed-masks from channels</a></li>
<li><a href='http://blog.ramin-hossaini.com/2010/06/01/ubuntu-installing-apache-php-5-and-mysql-5/' rel='bookmark' title='Ubuntu: Installing Apache, PHP 5, and MySQL 5'>Ubuntu: Installing Apache, PHP 5, and MySQL 5</a></li>
<li><a href='http://blog.ramin-hossaini.com/2008/03/23/simple-mysql-backup-script/' rel='bookmark' title='Simple MySQL backup-script'>Simple MySQL backup-script</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Why?</p>
<ul>
<li>Secure a public WiFi connection</li>
<li>Bypass country-specific-content websites (e.g sites that only allow users from the U.S)</li>
<li>Connect to a remotely-secured MySQL database via localhost</li>
</ul>
<p>It's pretty easy to do in Linux (and I think the command is pretty much the same in MacOS or with cygwin installed):</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">ssh</span> <span style="color: #660033;">-L</span> localport:<span style="color: #c20cb9; font-weight: bold;">hostname</span>:remoteport username<span style="color: #000000; font-weight: bold;">@</span>Server</pre></div></div>

<p>This is how to do it with <a href="http://www.chiark.greenend.org.uk/~sgtatham/putty/">Putty</a></p>
<p>Open Putty and enter in the basics: the Server and port (22):</p>
<p><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/10/putty1.png" alt="putty1" title="putty1" width="462" height="444" class="alignnone size-full wp-image-470" /></p>
<p>Next, create the tunnel. Enter the source port (in this example, it's 3306 - a MySQL port) and leave the destination field empty (not always left blank, but it works for most cases)</p>
<p><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/10/putty2.png" alt="putty2" title="putty2" width="463" height="443" class="alignnone size-full wp-image-471" /></p>
<p>The tunnel will be open/active as soon as you've logged in. Obviously, you still have to set up your proxy settings in whatever application you're using (for those who don't know, 127.0.0.1 is 'localhost'):</p>
<p><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/10/proxy.png" alt="proxy" title="proxy" width="457" height="456" class="alignnone size-full wp-image-472" /></p>
<p>Related posts:<ol>
<li><a href='http://blog.ramin-hossaini.com/2007/08/02/photoshop-tutorial-creating-detailed-masks-from-channels/' rel='bookmark' title='Photoshop tutorial: Creating detailed-masks from channels'>Photoshop tutorial: Creating detailed-masks from channels</a></li>
<li><a href='http://blog.ramin-hossaini.com/2010/06/01/ubuntu-installing-apache-php-5-and-mysql-5/' rel='bookmark' title='Ubuntu: Installing Apache, PHP 5, and MySQL 5'>Ubuntu: Installing Apache, PHP 5, and MySQL 5</a></li>
<li><a href='http://blog.ramin-hossaini.com/2008/03/23/simple-mysql-backup-script/' rel='bookmark' title='Simple MySQL backup-script'>Simple MySQL backup-script</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.ramin-hossaini.com/2009/10/06/creating-a-tunnel-and-socks-proxy-with-putty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reducing spam even further in WordPress</title>
		<link>http://blog.ramin-hossaini.com/2009/09/28/reducing-spam-even-further-in-wordpress/</link>
		<comments>http://blog.ramin-hossaini.com/2009/09/28/reducing-spam-even-further-in-wordpress/#comments</comments>
		<pubDate>Mon, 28 Sep 2009 21:59:33 +0000</pubDate>
		<dc:creator>Ramin Hossaini</dc:creator>
				<category><![CDATA[Dev & Design]]></category>
		<category><![CDATA[How-to]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[HoneyPot]]></category>
		<category><![CDATA[Protection]]></category>
		<category><![CDATA[Spam]]></category>

		<guid isPermaLink="false">http://blog.ramin-hossaini.com/?p=438</guid>
		<description><![CDATA[Maybe I'm bored, but I've been spending a bit of time researching on ways to beat spam. Mind you, I haven't had anything get past Akismet anyway. This article is for all of you who want to be hardcore about your spam defences I came across "Project Honey Pot", which is a distributed system for [...]
Related posts:<ol>
<li><a href='http://blog.ramin-hossaini.com/2009/09/24/how-to-get-rid-of-your-captcha-and-still-avoid-spam/' rel='bookmark' title='How to get rid of your CAPTCHA and still avoid spam'>How to get rid of your CAPTCHA and still avoid spam</a></li>
<li><a href='http://blog.ramin-hossaini.com/2009/10/19/wordpress-bloginfo-variables/' rel='bookmark' title='WordPress BlogInfo variables'>WordPress BlogInfo variables</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Maybe I'm bored, but I've been spending a bit of time researching on ways to beat spam. Mind you, I haven't had anything get past Akismet anyway. This article is for all of you who want to be hardcore about your spam defences <img src='http://blog.ramin-hossaini.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>I came across "<a href="http://www.projecthoneypot.org/">Project Honey Pot</a>", which is a distributed system for identifying spammers and the spambots. Simply said, IPs of your site's visitors are verified against the Project Honey Pot database and spammers are kicked out.</p>
<p>Participating in this network comes in 2 forms. You can either install a Honey Pot (which is pretty easy) or if you don't want to install a Honey Pot of your own, you can link to someone else's.</p>
<h2>Installing Honey Pot on a server (optional)</h2>
<p>Installing a Honey Pot is easy enough. Start out by visiting <a href="http://www.projecthoneypot.org/">Project Honey Pot</a>. Once you've signed up for an account, you can begin adding a Honey Pot:</p>
<p><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/09/honeypot1.png" alt="honeypot1" title="honeypot1" width="518" height="169" class="alignnone size-full wp-image-439" /></p>
<p>Depending on your webserver's supported languages, you can choose from a bunch:</p>
<p><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/09/honeypot2.png" alt="honeypot2" title="honeypot2" width="356" height="190" class="alignnone size-full wp-image-440" /></p>
<p>Once you've chosen your options, you can download the files and upload it to any accessible-directory on the site you specified. Just visit the site to activate it.</p>
<p>The next step, is to customize your blog or site in such a way that you can actually catch suspicious activity:</p>
<h2>Plugin: WP-Honey Pot</h2>
<p>In order to make use of your new Honey Pot (or a Honey Pot elsewhere), install <a href="http://wordpress.org/extend/plugins/wp-honeypot/">WP-Honey Pot</a>. WP-HoneyPot enables you to add a hidden link on your blog in one of several randomised locations to ensure that spammers are less able to adapt to the solution and once you are a contributing member to Project HoneyPot then you are able to use the http:BL (which I'll be getting to just now).</p>
<p>Once that's set up, you'll be doing your part in helping to catch email harversters, comment spammers and other suspicious folks.</p>
<h2>Plugin: http:BL</h2>
<p>The obvious next step, would be to block the spammers from your site. And that's where <a href="http://wordpress.org/extend/plugins/httpbl/">http:BL</a> comes into the picture. </p>
<p>Once you've installed and activated the plugin, all you need to do is specify an API key (which you get from the Project Honey Pot site) and the URL to your Honey Pot of choice. And that's pretty much all there is to it.</p>
<p>This flow-chart sums up my Spam protection for the time-being:</p>
<p><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/09/spam_flow_chart.png" alt="spam_flow_chart" title="spam_flow_chart" width="393" height="490" class="alignnone size-full wp-image-442" /></p>
<p>So far so good: </p>
<p><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/09/no-spam.png" alt="no-spam" title="no-spam" width="280" height="116" class="alignnone size-full wp-image-444" /></p>
<p>If any of you have tried something similar, or tried what I described above, drop me a line below and let me know your experiences!</p>
<p>Related posts:<ol>
<li><a href='http://blog.ramin-hossaini.com/2009/09/24/how-to-get-rid-of-your-captcha-and-still-avoid-spam/' rel='bookmark' title='How to get rid of your CAPTCHA and still avoid spam'>How to get rid of your CAPTCHA and still avoid spam</a></li>
<li><a href='http://blog.ramin-hossaini.com/2009/10/19/wordpress-bloginfo-variables/' rel='bookmark' title='WordPress BlogInfo variables'>WordPress BlogInfo variables</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.ramin-hossaini.com/2009/09/28/reducing-spam-even-further-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New project: Blowfish encrypt/decrypt</title>
		<link>http://blog.ramin-hossaini.com/2009/09/27/new-project-blowfish-encryptdecrypt/</link>
		<comments>http://blog.ramin-hossaini.com/2009/09/27/new-project-blowfish-encryptdecrypt/#comments</comments>
		<pubDate>Sun, 27 Sep 2009 18:32:21 +0000</pubDate>
		<dc:creator>Ramin Hossaini</dc:creator>
				<category><![CDATA[Dev & Design]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Blowfish]]></category>
		<category><![CDATA[Cryptography]]></category>
		<category><![CDATA[Decryption]]></category>
		<category><![CDATA[Encryption]]></category>

		<guid isPermaLink="false">http://blog.ramin-hossaini.com/?p=431</guid>
		<description><![CDATA[Wrote a simple AJAX driven application to encrypt and decrypt text using the Blowfish algorithm. So if you're looking to encode your secret messages, this is just the tool for you Possible additions: More encryption algorithms Emailing functionality Let me know if you find any major bugs. Blowfish encrypt/decrypt No related posts.
No related posts.]]></description>
			<content:encoded><![CDATA[<p>Wrote a simple AJAX driven application to encrypt and decrypt text using the Blowfish algorithm. So if you're looking to encode your secret messages, this is just the tool for you <img src='http://blog.ramin-hossaini.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://dev.ramin-hossaini.com/encrypt/"><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/09/encrypt1.png" alt="encrypt1" title="encrypt1" width="410" height="127" class="alignnone size-full wp-image-432" /></a></p>
<p><a href="http://dev.ramin-hossaini.com/encrypt/"><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/09/encrypt2.png" alt="encrypt2" title="encrypt2" width="415" height="143" class="alignnone size-full wp-image-433" /></a></p>
<h4>Possible additions:</h4>
<ul>
<li>More encryption algorithms</li>
<li>Emailing functionality</li>
</ul>
<p>Let me know if you find any major bugs.</p>
<p><a href="http://dev.ramin-hossaini.com/encrypt/">Blowfish encrypt/decrypt</a></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://blog.ramin-hossaini.com/2009/09/27/new-project-blowfish-encryptdecrypt/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Automatically insert rubbish Flickr-comments with Flickr-comment-generator</title>
		<link>http://blog.ramin-hossaini.com/2009/08/11/automatically-insert-rubbish-flickr-comments-with-flickr-comment-generator/</link>
		<comments>http://blog.ramin-hossaini.com/2009/08/11/automatically-insert-rubbish-flickr-comments-with-flickr-comment-generator/#comments</comments>
		<pubDate>Tue, 11 Aug 2009 14:07:45 +0000</pubDate>
		<dc:creator>Ramin Hossaini</dc:creator>
				<category><![CDATA[Dev & Design]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[Comment]]></category>
		<category><![CDATA[Flickr]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Humour]]></category>

		<guid isPermaLink="false">http://blog.ramin-hossaini.com/?p=393</guid>
		<description><![CDATA[I created an AJAX application that generates somewhat generic comments for Flickr. But I soon realised that people would not use it unless it was completely simple and automated. That's where GreaseMonkey comes into action. I've created a GreaseMonkey script that automatically retrieves a random flickr-comment and places it into the comment text-field of a [...]
Related posts:<ol>
<li><a href='http://blog.ramin-hossaini.com/2010/09/03/updated-flickr-comment-generator/' rel='bookmark' title='Updated: Flickr comment generator'>Updated: Flickr comment generator</a></li>
<li><a href='http://blog.ramin-hossaini.com/2009/08/09/flickr-comment-generator/' rel='bookmark' title='Flickr comment generator'>Flickr comment generator</a></li>
<li><a href='http://blog.ramin-hossaini.com/2008/10/20/flickr-modifies-start-page-and-makes-life-harder/' rel='bookmark' title='Flickr modifies start page &#8211; and makes life harder'>Flickr modifies start page &#8211; and makes life harder</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.ramin-hossaini.com/wp-content/uploads/2009/08/flickr-comment-gen-gm.png" alt="flickr-comment-gen-gm" title="flickr-comment-gen-gm" width="452" height="157" class="alignnone size-full wp-image-394" /></p>
<p>I created an AJAX application that generates somewhat generic comments for Flickr. But I soon realised that people would not use it unless it was completely simple and automated.</p>
<p>That's where GreaseMonkey comes into action. I've created a GreaseMonkey script that automatically retrieves a random flickr-comment and places it into the comment text-field of a picture. You get to choose whether you would like to publish the comment or not.</p>
<p>If you notice any bugs in the script, or any improvements I can make to the script - please let know.</p>
<p><a href="http://dev.ramin-hossaini.com/flickr-comments/">Go to Flickr-Comment generator</a></p>
<p>Or <a href="http://dev.ramin-hossaini.com/flickr-comments/flickr-comment-gen.user.js">download</a> the script directly</p>
<p>Related posts:<ol>
<li><a href='http://blog.ramin-hossaini.com/2010/09/03/updated-flickr-comment-generator/' rel='bookmark' title='Updated: Flickr comment generator'>Updated: Flickr comment generator</a></li>
<li><a href='http://blog.ramin-hossaini.com/2009/08/09/flickr-comment-generator/' rel='bookmark' title='Flickr comment generator'>Flickr comment generator</a></li>
<li><a href='http://blog.ramin-hossaini.com/2008/10/20/flickr-modifies-start-page-and-makes-life-harder/' rel='bookmark' title='Flickr modifies start page &#8211; and makes life harder'>Flickr modifies start page &#8211; and makes life harder</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.ramin-hossaini.com/2009/08/11/automatically-insert-rubbish-flickr-comments-with-flickr-comment-generator/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>

