<?xml version="1.0" encoding="UTF-8"?><feed
  xmlns="http://www.w3.org/2005/Atom"
  xmlns:thr="http://purl.org/syndication/thread/1.0"
  xml:lang="en-US"
  xml:base="https://www.ramin-hossaini.com/wp-atom.php"
   >
	<title type="text">Ramin Hossaini</title>
	<subtitle type="text">Home</subtitle>

	<updated>2016-10-23T18:22:15Z</updated>

	<link rel="alternate" type="text/html" href="https://www.ramin-hossaini.com" />
	<id>https://www.ramin-hossaini.com/feed/atom/</id>
	<link rel="self" type="application/atom+xml" href="http://www.ramin-hossaini.com/feed/atom/" />

	
<icon>https://i2.wp.com/www.ramin-hossaini.com/wp-content/uploads/2016/08/cropped-favicon.png?fit=32%2C32&ssl=1</icon>
	<entry>
		<author>
			<name>ramin</name>
						<uri>http://www.ramin-hossaini.com</uri>
					</author>
		<title type="html"><![CDATA[Zanzibar Mobile Wallpaper]]></title>
		<link rel="alternate" type="text/html" href="https://www.ramin-hossaini.com/2016/10/23/zanzibar-mobile-wallpaper/" />
		<id>https://www.ramin-hossaini.com/?p=1924</id>
		<updated>2016-10-23T18:22:15Z</updated>
		<published>2016-10-23T18:19:07Z</published>
		<category scheme="https://www.ramin-hossaini.com" term="Wallpaper" />		<summary type="html"><![CDATA[I have had a number of requests to publish some of my work as wallpaper, so here&#8217;s the first in the series. &#160; &#160;]]></summary>
		<content type="html" xml:base="https://www.ramin-hossaini.com/2016/10/23/zanzibar-mobile-wallpaper/"><![CDATA[<p>I have had a number of requests to publish some of my work as wallpaper, so here&#8217;s the first in the series.</p>
<div id="attachment_1925" style="width: 235px" class="wp-caption alignnone"><a href="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2016/10/zanzibar-ipad-pro-wallpaper.jpg?ssl=1"><img class="wp-image-1925 size-medium" src="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2016/10/zanzibar-ipad-pro-wallpaper.jpg?resize=225%2C300&#038;ssl=1" alt="zanzibar-ipad-pro-wallpaper" srcset="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2016/10/zanzibar-ipad-pro-wallpaper.jpg?resize=225%2C300&amp;ssl=1 225w, https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2016/10/zanzibar-ipad-pro-wallpaper.jpg?resize=768%2C1024&amp;ssl=1 768w, https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2016/10/zanzibar-ipad-pro-wallpaper.jpg?w=1190&amp;ssl=1 1190w, https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2016/10/zanzibar-ipad-pro-wallpaper.jpg?w=1785&amp;ssl=1 1785w" sizes="(max-width: 225px) 100vw, 225px" data-recalc-dims="1" /></a><p class="wp-caption-text">iPad Pro (2048px x 2732px)</p></div>
<p>&nbsp;</p>
<div id="attachment_1926" style="width: 179px" class="wp-caption alignnone"><a href="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2016/10/zanzibar-iphone-plus-wallpaper.jpg?ssl=1"><img class="wp-image-1926 size-medium" src="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2016/10/zanzibar-iphone-plus-wallpaper.jpg?resize=169%2C300&#038;ssl=1" alt="zanzibar-iphone-plus-wallpaper" srcset="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2016/10/zanzibar-iphone-plus-wallpaper.jpg?resize=169%2C300&amp;ssl=1 169w, https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2016/10/zanzibar-iphone-plus-wallpaper.jpg?resize=768%2C1365&amp;ssl=1 768w, https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2016/10/zanzibar-iphone-plus-wallpaper.jpg?resize=576%2C1024&amp;ssl=1 576w, https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2016/10/zanzibar-iphone-plus-wallpaper.jpg?w=1242&amp;ssl=1 1242w, https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2016/10/zanzibar-iphone-plus-wallpaper.jpg?w=1190&amp;ssl=1 1190w" sizes="(max-width: 169px) 100vw, 169px" data-recalc-dims="1" /></a><p class="wp-caption-text">iPhone Plus (1242 x 2208px)</p></div>
<p>&nbsp;</p>
<div id="attachment_1927" style="width: 179px" class="wp-caption alignnone"><a href="https://i2.wp.com/www.ramin-hossaini.com/wp-content/uploads/2016/10/zanzibar-iphone-wallpaper.jpg?ssl=1"><img class="wp-image-1927 size-medium" src="https://i2.wp.com/www.ramin-hossaini.com/wp-content/uploads/2016/10/zanzibar-iphone-wallpaper.jpg?resize=169%2C300&#038;ssl=1" alt="zanzibar-iphone-wallpaper" srcset="https://i2.wp.com/www.ramin-hossaini.com/wp-content/uploads/2016/10/zanzibar-iphone-wallpaper.jpg?resize=169%2C300&amp;ssl=1 169w, https://i2.wp.com/www.ramin-hossaini.com/wp-content/uploads/2016/10/zanzibar-iphone-wallpaper.jpg?resize=576%2C1024&amp;ssl=1 576w, https://i2.wp.com/www.ramin-hossaini.com/wp-content/uploads/2016/10/zanzibar-iphone-wallpaper.jpg?w=750&amp;ssl=1 750w" sizes="(max-width: 169px) 100vw, 169px" data-recalc-dims="1" /></a><p class="wp-caption-text">iPhone (750 x 1334px)</p></div>
]]></content>
			<link rel="replies" type="text/html" href="https://www.ramin-hossaini.com/2016/10/23/zanzibar-mobile-wallpaper/#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="https://www.ramin-hossaini.com/2016/10/23/zanzibar-mobile-wallpaper/feed/atom/" thr:count="0"/>
		<thr:total>0</thr:total>
		</entry>
		<entry>
		<author>
			<name>ramin</name>
						<uri>http://www.ramin-hossaini.com</uri>
					</author>
		<title type="html"><![CDATA[Addictive games: Random Heroes]]></title>
		<link rel="alternate" type="text/html" href="https://www.ramin-hossaini.com/2015/04/25/addictive-games-random-heroes/" />
		<id>http://blog.ramin-hossaini.com/?p=934</id>
		<updated>2015-04-25T13:31:51Z</updated>
		<published>2015-04-25T13:31:51Z</published>
		<category scheme="https://www.ramin-hossaini.com" term="Games" /><category scheme="https://www.ramin-hossaini.com" term="IOS" />		<summary type="html"><![CDATA[It&#8217;s been a long time since I&#8217;ve found games as addictive as these two 8bit-side-scrollers for iOS. Random Heroes 1: https://itunes.apple.com/us/app/random-heroes/id540353158 Random Heroes 2: https://itunes.apple.com/us/app/random-heroes-2/id581496229]]></summary>
		<content type="html" xml:base="https://www.ramin-hossaini.com/2015/04/25/addictive-games-random-heroes/"><![CDATA[<p>It&#8217;s been a long time since I&#8217;ve found games as addictive as these two 8bit-side-scrollers for iOS.</p>
<p><img class="alignnone size-full wp-image-935" src="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2015/04/IMG_7705.png?resize=595%2C335&#038;ssl=1" alt="Random-heroes-2" srcset="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2015/04/IMG_7705.png?w=667&amp;ssl=1 667w, https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2015/04/IMG_7705.png?resize=300%2C169&amp;ssl=1 300w" sizes="(max-width: 595px) 100vw, 595px" data-recalc-dims="1" /></p>
<p>Random Heroes 1: <a href="https://itunes.apple.com/us/app/random-heroes/id540353158">https://itunes.apple.com/us/app/random-heroes/id540353158</a></p>
<p>Random Heroes 2: <a href="https://itunes.apple.com/us/app/random-heroes-2/id581496229">https://itunes.apple.com/us/app/random-heroes-2/id581496229</a></p>
]]></content>
			<link rel="replies" type="text/html" href="https://www.ramin-hossaini.com/2015/04/25/addictive-games-random-heroes/#comments" thr:count="1"/>
		<link rel="replies" type="application/atom+xml" href="https://www.ramin-hossaini.com/2015/04/25/addictive-games-random-heroes/feed/atom/" thr:count="1"/>
		<thr:total>1</thr:total>
		</entry>
		<entry>
		<author>
			<name>ramin</name>
						<uri>http://www.ramin-hossaini.com</uri>
					</author>
		<title type="html"><![CDATA[Open JPEGs in Adobe Camera Raw]]></title>
		<link rel="alternate" type="text/html" href="https://www.ramin-hossaini.com/2013/06/28/open-jpegs-in-adobe-camera-raw/" />
		<id>http://blog.ramin-hossaini.com/?p=908</id>
		<updated>2013-06-28T21:55:30Z</updated>
		<published>2013-06-28T21:55:30Z</published>
		<category scheme="https://www.ramin-hossaini.com" term="Photography" />		<summary type="html"><![CDATA[If you&#8217;re looking to edit your JPG files with Adobe&#8217;s Camera Raw app, here&#8217;s what you need to do: In Photoshop, select the File menu, then Open as&#8230; &#160; Make sure you select the Camera Raw file type and then browse for the file: &#160; You should get the Camera Raw dialog box from there]]></summary>
		<content type="html" xml:base="https://www.ramin-hossaini.com/2013/06/28/open-jpegs-in-adobe-camera-raw/"><![CDATA[<p>If you&#8217;re looking to edit your JPG files with Adobe&#8217;s Camera Raw app, here&#8217;s what you need to do:</p>
<p>In Photoshop, select the <strong>File</strong> menu, then <strong>Open as&#8230;</strong></p>
<p><img class="alignnone size-full wp-image-909" alt="2013-06-28_224753" src="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2013/06/2013-06-28_224753.png?resize=342%2C172&#038;ssl=1" srcset="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2013/06/2013-06-28_224753.png?w=342&amp;ssl=1 342w, https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2013/06/2013-06-28_224753.png?resize=300%2C151&amp;ssl=1 300w" sizes="(max-width: 342px) 100vw, 342px" data-recalc-dims="1" /></p>
<p>&nbsp;</p>
<p>Make sure you select the Camera Raw file type and then browse for the file:</p>
<p><img class="alignnone size-full wp-image-910" alt="2013-06-28_224935" src="https://i0.wp.com/www.ramin-hossaini.com/wp-content/uploads/2013/06/2013-06-28_224935.png?resize=444%2C145&#038;ssl=1" srcset="https://i0.wp.com/www.ramin-hossaini.com/wp-content/uploads/2013/06/2013-06-28_224935.png?w=444&amp;ssl=1 444w, https://i0.wp.com/www.ramin-hossaini.com/wp-content/uploads/2013/06/2013-06-28_224935.png?resize=300%2C98&amp;ssl=1 300w" sizes="(max-width: 444px) 100vw, 444px" data-recalc-dims="1" /></p>
<p>&nbsp;</p>
<p>You should get the Camera Raw dialog box from there</p>
]]></content>
			<link rel="replies" type="text/html" href="https://www.ramin-hossaini.com/2013/06/28/open-jpegs-in-adobe-camera-raw/#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="https://www.ramin-hossaini.com/2013/06/28/open-jpegs-in-adobe-camera-raw/feed/atom/" thr:count="0"/>
		<thr:total>0</thr:total>
		</entry>
		<entry>
		<author>
			<name>ramin</name>
						<uri>http://www.ramin-hossaini.com</uri>
					</author>
		<title type="html"><![CDATA[Finding large, old emails in Google Apps/Gmail]]></title>
		<link rel="alternate" type="text/html" href="https://www.ramin-hossaini.com/2013/02/25/finding-large-old-emails-in-google-appsgmail/" />
		<id>http://blog.ramin-hossaini.com/?p=901</id>
		<updated>2013-02-25T16:54:53Z</updated>
		<published>2013-02-25T16:54:53Z</published>
		<category scheme="https://www.ramin-hossaini.com" term="How-to" />		<summary type="html"><![CDATA[I have a consolidated inbox (or universal inbox) and love that I only have to check one email address for both work and personal emails. However, this also means that my account is filling up fast. Lately, I&#8217;ve been using the query below to find large emails that are older than a specific date so [&#8230;]]]></summary>
		<content type="html" xml:base="https://www.ramin-hossaini.com/2013/02/25/finding-large-old-emails-in-google-appsgmail/"><![CDATA[<p>I have a consolidated inbox (or universal inbox) and love that I only have to check one email address for both work and personal emails. However, this also means that my account is filling up fast. Lately, I&#8217;ve been using the query below to find large emails that are older than a specific date so that I can download the attachments and move them into Dropbox for safekeeping.</p>
<pre lang='text' line='0'>
SIZE:SIZE_IN_BYTES BEFORE:YYYY/MM/DD
</pre>
<p>For example, to find all emails larger than 1 MB and older than a year</p>
<pre lang='text' line='0'>
SIZE:1048576 BEFORE:2012/02/25 
</pre>
]]></content>
			<link rel="replies" type="text/html" href="https://www.ramin-hossaini.com/2013/02/25/finding-large-old-emails-in-google-appsgmail/#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="https://www.ramin-hossaini.com/2013/02/25/finding-large-old-emails-in-google-appsgmail/feed/atom/" thr:count="0"/>
		<thr:total>0</thr:total>
		</entry>
		<entry>
		<author>
			<name>ramin</name>
						<uri>http://www.ramin-hossaini.com</uri>
					</author>
		<title type="html"><![CDATA[Advanced Title Formatting in Winamp]]></title>
		<link rel="alternate" type="text/html" href="https://www.ramin-hossaini.com/2012/06/24/advanced-title-formatting-in-winamp/" />
		<id>http://blog.ramin-hossaini.com/?p=889</id>
		<updated>2012-06-23T23:13:28Z</updated>
		<published>2012-06-23T23:13:28Z</published>
		<category scheme="https://www.ramin-hossaini.com" term="How-to" /><category scheme="https://www.ramin-hossaini.com" term="Winamp" />		<summary type="html"><![CDATA[To change the way Winamp displays songs in your playlist, go to Winamp&#8217;s preferences, then select &#8220;Titles&#8221; in the list on the left. You&#8217;ll notice the section titled &#8220;Advanced Title Formatting&#8221;. I personally like using this (which also handles songs with no Metadata reasonably well): $if(%albumartist% - , %albumartist% - , [%artist% - ])$if(%title%,['['%album%[ #$num(%tracknumber%,2)]'] [&#8230;]]]></summary>
		<content type="html" xml:base="https://www.ramin-hossaini.com/2012/06/24/advanced-title-formatting-in-winamp/"><![CDATA[<p>To change the way Winamp displays songs in your playlist, go to Winamp&#8217;s preferences, then select &#8220;Titles&#8221; in the list on the left. You&#8217;ll notice the section titled &#8220;Advanced Title Formatting&#8221;.</p>
<p>I personally like using this (which also handles songs with no Metadata reasonably well):</p>
<pre lang="text" line="1">
$if(%albumartist% - , %albumartist% - , [%artist% - ])$if(%title%,['['%album%[ #$num(%tracknumber%,2)]'] ']%title%,$filepart(%filename%).$fileext(%filename%))
</pre>
<p>Which displays like this:</p>
<p><img src="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2012/06/2012-06-24_000927.png?resize=456%2C85&#038;ssl=1" alt="" title="2012-06-24_000927" class="alignnone size-full wp-image-893" srcset="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2012/06/2012-06-24_000927.png?w=456&amp;ssl=1 456w, https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2012/06/2012-06-24_000927.png?resize=300%2C56&amp;ssl=1 300w" sizes="(max-width: 456px) 100vw, 456px" data-recalc-dims="1" /></p>
<p>Or go over to the full <a href="http://media.winamp.com/main/help/50/atf/atf_help.htm">Advanced Title Formatting reference</a> and make your own.</p>
]]></content>
			<link rel="replies" type="text/html" href="https://www.ramin-hossaini.com/2012/06/24/advanced-title-formatting-in-winamp/#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="https://www.ramin-hossaini.com/2012/06/24/advanced-title-formatting-in-winamp/feed/atom/" thr:count="0"/>
		<thr:total>0</thr:total>
		</entry>
		<entry>
		<author>
			<name>ramin</name>
						<uri>http://www.ramin-hossaini.com</uri>
					</author>
		<title type="html"><![CDATA[If this, then that (ifttt)]]></title>
		<link rel="alternate" type="text/html" href="https://www.ramin-hossaini.com/2012/01/01/if-this-then-that-ifttt/" />
		<id>http://blog.ramin-hossaini.com/?p=875</id>
		<updated>2012-01-01T17:30:38Z</updated>
		<published>2012-01-01T17:30:38Z</published>
		<category scheme="https://www.ramin-hossaini.com" term="Tools" />		<summary type="html"><![CDATA[Ifttt is a really handy tool for creating simple triggers that set off actions or tasks. It works off of what ifttt calls &#8220;channels&#8221; (a particular date &#038; time, Foursquare, Facebook, Flickr, and Evernote are a few examples) You might find that the &#8220;if this, then that&#8221; is a bit too simple for certain things [&#8230;]]]></summary>
		<content type="html" xml:base="https://www.ramin-hossaini.com/2012/01/01/if-this-then-that-ifttt/"><![CDATA[<p><a href="http://ifttt.com/" rel="nofollow"><img src="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2012/01/2012-01-01_192217.png?resize=283%2C85&#038;ssl=1" alt="" title="2012-01-01_192217" class="alignnone size-full wp-image-876" data-recalc-dims="1" /></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 &#8220;channels&#8221; (a particular date &#038; time, Foursquare, Facebook, Flickr, and Evernote are a few examples) </p>
<p>You might find that the &#8220;if this, then that&#8221; is a bit too simple for certain things you would like to do &#8211; I would have loved to see a little more complexity involved. For example, &#8220;if this and this, then that&#8221;. </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&#8217;s raining tomorrow, send me an email</a></li>
<li><a href="http://ifttt.com/recipes/1760" rel="nofollow">If you&#8217;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&#8217;s free to sign up &#8211; but I don&#8217;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>
]]></content>
			<link rel="replies" type="text/html" href="https://www.ramin-hossaini.com/2012/01/01/if-this-then-that-ifttt/#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="https://www.ramin-hossaini.com/2012/01/01/if-this-then-that-ifttt/feed/atom/" thr:count="0"/>
		<thr:total>0</thr:total>
		</entry>
		<entry>
		<author>
			<name>ramin</name>
						<uri>http://www.ramin-hossaini.com</uri>
					</author>
		<title type="html"><![CDATA[Extracting attachments from .EML files]]></title>
		<link rel="alternate" type="text/html" href="https://www.ramin-hossaini.com/2011/03/15/base64/" />
		<id>http://blog.ramin-hossaini.com/?p=847</id>
		<updated>2011-03-14T22:22:24Z</updated>
		<published>2011-03-14T22:22:24Z</published>
		<category scheme="https://www.ramin-hossaini.com" term="Tools" /><category scheme="https://www.ramin-hossaini.com" term="Attachments" /><category scheme="https://www.ramin-hossaini.com" term="Base64" /><category scheme="https://www.ramin-hossaini.com" term="Development" /><category scheme="https://www.ramin-hossaini.com" term="Outlook Express" /><category scheme="https://www.ramin-hossaini.com" term="tool" /><category scheme="https://www.ramin-hossaini.com" term="Utility" />		<summary type="html"><![CDATA[Note: If you&#8217;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 [&#8230;]]]></summary>
		<content type="html" xml:base="https://www.ramin-hossaini.com/2011/03/15/base64/"><![CDATA[<p>Note: If you&#8217;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&#8217;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="https://i2.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/03/2011-03-14_235305.png?resize=483%2C165&#038;ssl=1" alt="" title="2011-03-14_235305" class="alignnone size-full wp-image-848" srcset="https://i2.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/03/2011-03-14_235305.png?w=483&amp;ssl=1 483w, https://i2.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/03/2011-03-14_235305.png?resize=300%2C102&amp;ssl=1 300w" sizes="(max-width: 483px) 100vw, 483px" data-recalc-dims="1" /></p>
<p>After all the HTML, I found the code for the attachment:</p>
<p><img src="https://i0.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/03/2011-03-14_235933.png?resize=567%2C213&#038;ssl=1" alt="" title="2011-03-14_235933" class="alignnone size-full wp-image-849" srcset="https://i0.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/03/2011-03-14_235933.png?w=567&amp;ssl=1 567w, https://i0.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/03/2011-03-14_235933.png?resize=300%2C113&amp;ssl=1 300w" sizes="(max-width: 567px) 100vw, 567px" data-recalc-dims="1" /></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="https://i2.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/03/2011-03-15_000523.png?resize=595%2C406&#038;ssl=1" alt="" title="2011-03-15_000523" class="alignnone size-full wp-image-851" srcset="https://i2.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/03/2011-03-15_000523.png?w=693&amp;ssl=1 693w, https://i2.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/03/2011-03-15_000523.png?resize=300%2C205&amp;ssl=1 300w" sizes="(max-width: 595px) 100vw, 595px" data-recalc-dims="1" /></p>
<p>The Decode function is pretty simple:</p>
<pre lang="csharp" line="1">
public byte[] decode(string data)
{
    byte[] output = Convert.FromBase64String( data );
    return output;
}
</pre>
<p>So feed the function the Base64 part and it spits out the good stuff that you just write to a file:</p>
<pre lang="csharp" line="1">
FileStream fs = new FileStream(txtFilename.Text, FileMode.Create, FileAccess.Write);
BinaryWriter writer = new BinaryWriter(fs);
try
{
    for (int i = 0; i < decodedData.Length; i++)
    {
        writer.Write(decodedData[i]);
    }
}
finally
{
    writer.Close();
    fs.Close();
}
</pre>
<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>
]]></content>
			<link rel="replies" type="text/html" href="https://www.ramin-hossaini.com/2011/03/15/base64/#comments" thr:count="8"/>
		<link rel="replies" type="application/atom+xml" href="https://www.ramin-hossaini.com/2011/03/15/base64/feed/atom/" thr:count="8"/>
		<thr:total>8</thr:total>
		</entry>
		<entry>
		<author>
			<name>ramin</name>
						<uri>http://www.ramin-hossaini.com</uri>
					</author>
		<title type="html"><![CDATA[An introduction to Yahoo! Pipes]]></title>
		<link rel="alternate" type="text/html" href="https://www.ramin-hossaini.com/2011/01/01/an-introduction-to-yahoo-pipes/" />
		<id>http://blog.ramin-hossaini.com/?p=836</id>
		<updated>2011-01-01T13:59:23Z</updated>
		<published>2011-01-01T13:59:23Z</published>
		<category scheme="https://www.ramin-hossaini.com" term="How-to" /><category scheme="https://www.ramin-hossaini.com" term="Tools" /><category scheme="https://www.ramin-hossaini.com" term="Pipes" /><category scheme="https://www.ramin-hossaini.com" term="RSS" /><category scheme="https://www.ramin-hossaini.com" term="Tutorial" /><category scheme="https://www.ramin-hossaini.com" term="Yahoo" />		<summary type="html"><![CDATA[Yahoo! isn&#8217;t exactly one of my favourite companies out there, and it isn&#8217;t hard to figure out why when you see how they&#8217;ve acquired and maintained technologies like Delicious and Flickr. That being said, I have to say I&#8217;m a big fan of Yahoo! Pipes, and I haven&#8217;t been able to find an alternative that&#8217;s [&#8230;]]]></summary>
		<content type="html" xml:base="https://www.ramin-hossaini.com/2011/01/01/an-introduction-to-yahoo-pipes/"><![CDATA[<p>Yahoo! isn&#8217;t exactly one of my favourite companies out there, and it isn&#8217;t hard to figure out why when you see how they&#8217;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&#8217;m a big fan of <a href="http://pipes.yahoo.com/pipes/">Yahoo! Pipes</a>, and I haven&#8217;t been able to find an alternative that&#8217;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&#8217;s a very simple example: let&#8217;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 &#8211; but you&#8217;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="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/01/2011-01-01_152256.png?resize=562%2C249&#038;ssl=1" alt="" title="2011-01-01_152256" class="alignnone size-full wp-image-837" srcset="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/01/2011-01-01_152256.png?w=562&amp;ssl=1 562w, https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/01/2011-01-01_152256.png?resize=300%2C133&amp;ssl=1 300w" sizes="(max-width: 562px) 100vw, 562px" data-recalc-dims="1" /></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="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/01/2011-01-01_152327.png?resize=473%2C182&#038;ssl=1" alt="" title="2011-01-01_152327" class="alignnone size-full wp-image-839" srcset="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/01/2011-01-01_152327.png?w=473&amp;ssl=1 473w, https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/01/2011-01-01_152327.png?resize=300%2C115&amp;ssl=1 300w" sizes="(max-width: 473px) 100vw, 473px" data-recalc-dims="1" /></p>
<p>Under the &#8216;Operators&#8217; menu on the left, drag a &#8216;filter&#8217; module into your pipe, add some rules and then connect the boxes together:</p>
<p><img src="https://i2.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/01/2011-01-01_152338.png?resize=566%2C376&#038;ssl=1" alt="" title="2011-01-01_152338" class="alignnone size-full wp-image-840" srcset="https://i2.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/01/2011-01-01_152338.png?w=566&amp;ssl=1 566w, https://i2.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/01/2011-01-01_152338.png?resize=300%2C199&amp;ssl=1 300w" sizes="(max-width: 566px) 100vw, 566px" data-recalc-dims="1" /></p>
<p>Click on the &#8216;pipe output&#8217; box to see a preview of the new output:</p>
<p><img src="https://i2.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/01/2011-01-01_152402.png?resize=440%2C198&#038;ssl=1" alt="" title="2011-01-01_152402" class="alignnone size-full wp-image-841" srcset="https://i2.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/01/2011-01-01_152402.png?w=440&amp;ssl=1 440w, https://i2.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/01/2011-01-01_152402.png?resize=300%2C135&amp;ssl=1 300w" sizes="(max-width: 440px) 100vw, 440px" data-recalc-dims="1" /></p>
<p>Once you&#8217;ve saved your pipe, click on &#8216;Run pipe&#8217; and get the output&#8217;s RSS feed address:</p>
<p><img src="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/01/2011-01-01_152701.png?resize=595%2C222&#038;ssl=1" alt="" title="2011-01-01_152701" class="alignnone size-full wp-image-842" srcset="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/01/2011-01-01_152701.png?w=702&amp;ssl=1 702w, https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2011/01/2011-01-01_152701.png?resize=300%2C112&amp;ssl=1 300w" sizes="(max-width: 595px) 100vw, 595px" data-recalc-dims="1" /></p>
<p>I&#8217;m curious to see how others use Yahoo! Pipes &#8211; leave a comment if you think of something.</p>
]]></content>
			<link rel="replies" type="text/html" href="https://www.ramin-hossaini.com/2011/01/01/an-introduction-to-yahoo-pipes/#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="https://www.ramin-hossaini.com/2011/01/01/an-introduction-to-yahoo-pipes/feed/atom/" thr:count="0"/>
		<thr:total>0</thr:total>
		</entry>
		<entry>
		<author>
			<name>ramin</name>
						<uri>http://www.ramin-hossaini.com</uri>
					</author>
		<title type="html"><![CDATA[Menu-separators in Mac OS X (annoyances)]]></title>
		<link rel="alternate" type="text/html" href="https://www.ramin-hossaini.com/2010/11/29/menu-separators-in-mac-os-x/" />
		<id>http://blog.ramin-hossaini.com/?p=825</id>
		<updated>2010-11-29T11:22:15Z</updated>
		<published>2010-11-29T11:22:15Z</published>
		<category scheme="https://www.ramin-hossaini.com" term="Rants" /><category scheme="https://www.ramin-hossaini.com" term="Apple" /><category scheme="https://www.ramin-hossaini.com" term="Mac" /><category scheme="https://www.ramin-hossaini.com" term="Snow Leopard" />		<summary type="html"><![CDATA[I recently had the pleasure of purchasing a Macbook Pro. Firstly, let&#8217;s get something out of the way: I do think it&#8217;s a dazzlingly beautiful OS, but here&#8217;s something I find pretty annoying: Menu separators The screenshot below shows an example of a menu with separators in 3 different Operating Systems: Windows 7, Ubuntu 10.04, [&#8230;]]]></summary>
		<content type="html" xml:base="https://www.ramin-hossaini.com/2010/11/29/menu-separators-in-mac-os-x/"><![CDATA[<p>I recently had the pleasure of purchasing a Macbook Pro. Firstly, let&#8217;s get something out of the way: I do think it&#8217;s a dazzlingly beautiful OS, but here&#8217;s something I find pretty annoying:</p>
<h2>Menu separators</h2>
<p>The screenshot below shows an example of a menu with separators in 3 different Operating Systems: Windows 7, Ubuntu 10.04, and Mac OS X 10.6.5</p>
<p><img src="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2010/11/2010-11-29_115349.jpg?resize=357%2C387&#038;ssl=1" alt="" title="2010-11-29_115349" class="alignnone size-full wp-image-826" srcset="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2010/11/2010-11-29_115349.jpg?w=357&amp;ssl=1 357w, https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2010/11/2010-11-29_115349.jpg?resize=277%2C300&amp;ssl=1 277w" sizes="(max-width: 357px) 100vw, 357px" data-recalc-dims="1" /></p>
<p>Sometimes it just so happens that I&#8217;m clicking around so quickly that I accidentally click on the separator. On Windows and Ubuntu this is fine &#8211; it ignores it and keeps the menu open. In Mac OS X, the menu disappears (as if you&#8217;ve clicked on something that&#8217;s supposed to be clickable)</p>
<p>Anybody else find this annoying?</p>
]]></content>
			<link rel="replies" type="text/html" href="https://www.ramin-hossaini.com/2010/11/29/menu-separators-in-mac-os-x/#comments" thr:count="2"/>
		<link rel="replies" type="application/atom+xml" href="https://www.ramin-hossaini.com/2010/11/29/menu-separators-in-mac-os-x/feed/atom/" thr:count="2"/>
		<thr:total>2</thr:total>
		</entry>
		<entry>
		<author>
			<name>ramin</name>
						<uri>http://www.ramin-hossaini.com</uri>
					</author>
		<title type="html"><![CDATA[Updated: Flickr comment generator]]></title>
		<link rel="alternate" type="text/html" href="https://www.ramin-hossaini.com/2010/09/03/updated-flickr-comment-generator/" />
		<id>http://blog.ramin-hossaini.com/?p=814</id>
		<updated>2010-09-03T18:07:24Z</updated>
		<published>2010-09-03T18:07:24Z</published>
		<category scheme="https://www.ramin-hossaini.com" term="Tools" /><category scheme="https://www.ramin-hossaini.com" term="Comments" /><category scheme="https://www.ramin-hossaini.com" term="Flickr" /><category scheme="https://www.ramin-hossaini.com" term="Generator" /><category scheme="https://www.ramin-hossaini.com" term="Greasemonkey" /><category scheme="https://www.ramin-hossaini.com" term="Script" />		<summary type="html"><![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 [&#8230;]]]></summary>
		<content type="html" xml:base="https://www.ramin-hossaini.com/2010/09/03/updated-flickr-comment-generator/"><![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="https://i0.wp.com/www.ramin-hossaini.com/wp-content/uploads/2010/09/2010-09-03_185727.png?resize=414%2C151&#038;ssl=1" alt="" title="2010-09-03_185727" class="alignnone size-full wp-image-816" srcset="https://i0.wp.com/www.ramin-hossaini.com/wp-content/uploads/2010/09/2010-09-03_185727.png?w=414&amp;ssl=1 414w, https://i0.wp.com/www.ramin-hossaini.com/wp-content/uploads/2010/09/2010-09-03_185727.png?resize=300%2C109&amp;ssl=1 300w" sizes="(max-width: 414px) 100vw, 414px" data-recalc-dims="1" /></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="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2010/09/2010-09-03_190154.png?resize=322%2C281&#038;ssl=1" alt="" title="2010-09-03_190154" class="alignnone size-full wp-image-817" srcset="https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2010/09/2010-09-03_190154.png?w=322&amp;ssl=1 322w, https://i1.wp.com/www.ramin-hossaini.com/wp-content/uploads/2010/09/2010-09-03_190154.png?resize=300%2C262&amp;ssl=1 300w" sizes="(max-width: 322px) 100vw, 322px" data-recalc-dims="1" /></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>
]]></content>
			<link rel="replies" type="text/html" href="https://www.ramin-hossaini.com/2010/09/03/updated-flickr-comment-generator/#comments" thr:count="0"/>
		<link rel="replies" type="application/atom+xml" href="https://www.ramin-hossaini.com/2010/09/03/updated-flickr-comment-generator/feed/atom/" thr:count="0"/>
		<thr:total>0</thr:total>
		</entry>
	</feed>
