<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Cube</title>
	
	<link>http://shayan.shahand.com/blog/en</link>
	<description>Shayan Shahand's blog about Computer, Web2.0, Open Source apps and lifestyle</description>
	<pubDate>Wed, 29 Oct 2008 10:35:30 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
	<language>en</language>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/shahand/cube" type="application/rss+xml" /><feedburner:emailServiceId>1660149</feedburner:emailServiceId><feedburner:feedburnerHostname>http://www.feedburner.com</feedburner:feedburnerHostname><item>
		<title>Bash as a fortune teller</title>
		<link>http://feeds.feedburner.com/~r/shahand/cube/~3/435716828/</link>
		<comments>http://shayan.shahand.com/blog/en/2008/10/29/bash-as-a-fortune-teller/#comments</comments>
		<pubDate>Wed, 29 Oct 2008 10:30:51 +0000</pubDate>
		<dc:creator>Shayan</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[bash]]></category>

		<category><![CDATA[fortune]]></category>

		<category><![CDATA[quote]]></category>

		<category><![CDATA[script]]></category>

		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://shayan.shahand.com/blog/en/?p=9</guid>
		<description><![CDATA[Yup, I like Linux bash, because it&#8217;s fun, fast and geeky! wanna exploit Linux bash as a fortune teller? just add the following lines to your &#8220;~/.bashrc&#8221; file, so whenever you open your Terminal or Konsole you&#8217;ll read a famous quote or some nice words about your fortune:

#let's have some fun when loggin in!
echo "==== [...]]]></description>
			<content:encoded><![CDATA[<p>Yup, I like Linux bash, because it&#8217;s fun, fast and geeky! wanna exploit Linux bash as a fortune teller? just add the following lines to your <strong>&#8220;~/.bashrc&#8221;</strong> file, so whenever you open your Terminal or Konsole you&#8217;ll read a famous quote or some nice words about your fortune:</p>
<blockquote><p><code><br />
#let's have some fun when loggin in!<br />
echo "==== Quote of the Day ===="<br />
wget -q http://anduin.eldar.org/cgi-bin/fortune.pl?text_format=yes --output-document ~/fortune.out<br />
cat ~/fortune.out<br />
rm -f ~/fortune.out<br />
echo "==== Linux rocks ===="<br />
</code></p></blockquote>
<p><strong>Requirements:</strong> <a href="http://www.gnu.org/software/wget/" target="_blank">wget</a> and of course an Internet connection.</p>
<img src="http://feeds.feedburner.com/~r/shahand/cube/~4/435716828" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://shayan.shahand.com/blog/en/2008/10/29/bash-as-a-fortune-teller/feed/</wfw:commentRss>
		<feedburner:origLink>http://shayan.shahand.com/blog/en/2008/10/29/bash-as-a-fortune-teller/</feedburner:origLink></item>
		<item>
		<title>Be Successful!</title>
		<link>http://feeds.feedburner.com/~r/shahand/cube/~3/428491602/</link>
		<comments>http://shayan.shahand.com/blog/en/2008/10/22/8-secrets-of-success/#comments</comments>
		<pubDate>Wed, 22 Oct 2008 12:03:09 +0000</pubDate>
		<dc:creator>Shayan</dc:creator>
		
		<category><![CDATA[Daily Life]]></category>

		<category><![CDATA[Other]]></category>

		<category><![CDATA[inspiration]]></category>

		<category><![CDATA[success]]></category>

		<category><![CDATA[successful]]></category>

		<category><![CDATA[talk]]></category>

		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://shayan.shahand.com/blog/en/?p=8</guid>
		<description><![CDATA[Whenever I feel lost, whenever I feel depressed, whenever I feel frustrated I watch this great talk. I always carry it on my phone so can watch it anytime anywhere. No more praise, let&#8217;s watch:

]]></description>
			<content:encoded><![CDATA[<p>Whenever I feel lost, whenever I feel depressed, whenever I feel frustrated I watch <a title="8 secrets of success" href="http://www.ted.com/index.php/talks/richard_st_john_s_8_secrets_of_success.html" target="_blank">this great talk</a>. I always carry it on my phone so can watch it anytime anywhere. No more praise, let&#8217;s watch:</p>
<p><!--cut and paste--><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="320" height="285" id="VE_Player" align="middle"><param name="movie" value="http://static.videoegg.com/ted/flash/loader.swf"><PARAM NAME="FlashVars" VALUE="bgColor=FFFFFF&#038;file=http://static.videoegg.com/ted/movies/RICHARDSTJOHN_high.flv&#038;autoPlay=false&#038;fullscreenURL=http://static.videoegg.com/ted/flash/fullscreen.html&#038;forcePlay=false&#038;logo=&#038;allowFullscreen=true"><param name="quality" value="high"><param name="allowScriptAccess" value="always"><param name="bgcolor" value="#FFFFFF"><param name="scale" value="noscale"><param name="wmode" value="window"><embed src="http://static.videoegg.com/ted/flash/loader.swf" FlashVars="bgColor=FFFFFF&#038;file=http://static.videoegg.com/ted/movies/RICHARDSTJOHN_high.flv&#038;autoPlay=false&#038;fullscreenURL=http://static.videoegg.com/ted/flash/fullscreen.html&#038;forcePlay=false&#038;logo=&#038;allowFullscreen=true" quality="high" allowScriptAccess="always" bgcolor="#FFFFFF" scale="noscale" wmode="window" width="320" height="285" name="VE_Player" align="middle" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></object></p>
<img src="http://feeds.feedburner.com/~r/shahand/cube/~4/428491602" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://shayan.shahand.com/blog/en/2008/10/22/8-secrets-of-success/feed/</wfw:commentRss>
		<feedburner:origLink>http://shayan.shahand.com/blog/en/2008/10/22/8-secrets-of-success/</feedburner:origLink></item>
		<item>
		<title>Dream cautiously!</title>
		<link>http://feeds.feedburner.com/~r/shahand/cube/~3/417026696/</link>
		<comments>http://shayan.shahand.com/blog/en/2008/10/11/dream-cautiously/#comments</comments>
		<pubDate>Fri, 10 Oct 2008 18:10:17 +0000</pubDate>
		<dc:creator>Shayan</dc:creator>
		
		<category><![CDATA[Daily Life]]></category>

		<category><![CDATA[dream]]></category>

		<category><![CDATA[happiness]]></category>

		<category><![CDATA[life]]></category>

		<category><![CDATA[reason for life]]></category>

		<guid isPermaLink="false">http://shayan.shahand.com/blog/en/?p=7</guid>
		<description><![CDATA[Dream cautiously! Your future to be is what you dream now.
Follow your heart and pursue your dreams: that makes you feel proud of yourself and happy
And this happiness is the reason for life.
-me
]]></description>
			<content:encoded><![CDATA[<p>Dream cautiously! Your future to be is what you dream now.</p>
<p>Follow your heart and pursue your dreams: that makes you feel proud of yourself and happy</p>
<p>And this happiness is the reason for life.</p>
<p style="text-align: right;">-me</p>
<img src="http://feeds.feedburner.com/~r/shahand/cube/~4/417026696" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://shayan.shahand.com/blog/en/2008/10/11/dream-cautiously/feed/</wfw:commentRss>
		<feedburner:origLink>http://shayan.shahand.com/blog/en/2008/10/11/dream-cautiously/</feedburner:origLink></item>
		<item>
		<title>A simple backup script</title>
		<link>http://feeds.feedburner.com/~r/shahand/cube/~3/284658107/</link>
		<comments>http://shayan.shahand.com/blog/en/2008/05/06/a-simple-backup-script/#comments</comments>
		<pubDate>Tue, 06 May 2008 13:54:04 +0000</pubDate>
		<dc:creator>Shayan</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Web2.0]]></category>

		<category><![CDATA[backup]]></category>

		<category><![CDATA[bash programming]]></category>

		<category><![CDATA[box.net]]></category>

		<category><![CDATA[filedropper.com]]></category>

		<guid isPermaLink="false">http://shayan.shahand.com/blog/en/?p=6</guid>
		<description><![CDATA[The other day, I wrote this bash script; I thought it would be good to share it with others too, may save someone time or help somebody. I usually use it at the end of day to create a backup of the software package I developed during the day. Just run it with the directory [...]]]></description>
			<content:encoded><![CDATA[<p>The other day, I wrote this bash script; I thought it would be good to share it with others too, may save someone time or help somebody. I usually use it at the end of day to create a backup of the software package I developed during the day. Just run it with the directory address you&#8217;d like to create backup of as input and in a  glimpse the backup tar.gz file will be ready at ~/backups/. Later, for more assurance you may upload your backups to an online repository site like <a href="http://www.box.net" target="_blank">box.net</a> or <a href="http://www.filedropper.com" target="_blank">filedropper.com</a>.</p>
<p>The backup.sh script is:</p>
<blockquote>
<pre><sub>#!/bin/bash          

SRCD=$1
TGTD=~/backups/

BASENAME=$(echo $1|rev|awk -F \/ &#8216;{print $1}&#8217;|rev)
if [ -z $BASENAME]; then
	BASENAME=$(echo $1|rev|awk -F \/ &#8216;{print $2}&#8217;|rev)
fi
OF=$BASENAME-$(date +%Y%m%d).tgz

tar -cZf $TGTD$OF $SRCD
</sub>
</pre>
</blockquote>
<p>Nothing special, just a simple backup script; Have a good day.</p>
<img src="http://feeds.feedburner.com/~r/shahand/cube/~4/284658107" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://shayan.shahand.com/blog/en/2008/05/06/a-simple-backup-script/feed/</wfw:commentRss>
		<feedburner:origLink>http://shayan.shahand.com/blog/en/2008/05/06/a-simple-backup-script/</feedburner:origLink></item>
		<item>
		<title>I’m back with good news</title>
		<link>http://feeds.feedburner.com/~r/shahand/cube/~3/281387847/</link>
		<comments>http://shayan.shahand.com/blog/en/2008/05/01/flishr-picartia/#comments</comments>
		<pubDate>Thu, 01 May 2008 10:55:57 +0000</pubDate>
		<dc:creator>Shayan</dc:creator>
		
		<category><![CDATA[Web applications]]></category>

		<category><![CDATA[Web2.0]]></category>

		<category><![CDATA[Windows applications]]></category>

		<category><![CDATA[flickr downloader]]></category>

		<category><![CDATA[flickr uploader]]></category>

		<category><![CDATA[flishr]]></category>

		<category><![CDATA[photo mosaic]]></category>

		<category><![CDATA[picartia]]></category>

		<guid isPermaLink="false">http://shayan.shahand.com/blog/en/?p=5</guid>
		<description><![CDATA[Hi, long time no see.
After one month of busy time, last night I found some free time to upgrade Cube&#8217;s and Mokaab&#8217;s Wordpress and reopen the blogs. To be honest, the reason why I set them down is not because of Wordpress which was out of date, but yet I prefer not to describe it [...]]]></description>
			<content:encoded><![CDATA[<p>Hi, long time no see.</p>
<p>After one month of busy time, last night I found some free time to upgrade <a href="http://cube.shahand.com" target="_self">Cube</a>&#8217;s and <a href="http://mokaab.shahand.com" target="_blank">Mokaab</a>&#8217;s <a href="http://www.wordpress.org" target="_blank">Wordpress</a> and reopen the blogs. To be honest, the reason why I set them down is not because of Wordpress which was out of date, but yet I prefer not to describe it here. Those who are closer to me may know.</p>
<p>Anyway, about the good news, long story short, &#8220;we&#8221; also launched two child project:</p>
<ul>
<li><a title="Flishr: upload to, download from and search in Flickr" href="http://www.flishr.com" target="_blank"><img class="alignright" style="float: right;" src="http://www.flishr.com/wp-content/uploads/2008/03/flishrlogo-for-flickr.gif" alt="Flishr logo" width="150" height="53" />Flishr</a>: A desktop (PC) application which is a <a href="http://www.flickr.com" target="_blank">Flickr</a> friend that helps Flickr users to batch upload their photos to Flickr, manage their tags and sets, search faster in Flickr, browse most interesting photos and download those favorite pictures (of course if the photographer granted the download rights). And also you can see who &#8220;we&#8221; refer to <a href="http://www.flishr.com/index.php/about/" target="_blank">here</a>.<br />
<strong>Update:</strong> Recently some issues arised regarding the Flickr API ToU. Now Flishr is completely Flickr API ToU compatible.</li>
<li><a href="http://www.picartia.com" target="_blank"><img class="alignright" style="float: right;" src="http://www.picartia.com/wp-content/themes/fallseason-10/images/logo-picartia.jpg" alt="PicArtia Logo" width="150" height="55" />PicArtia</a>: Is a <a href="http://www.killerstartups.com/Web-App-Tools/PicArtiacom---Make-Your-Own-Photo-Mosaic/" target="_blank">Web2.0 startup</a> which enables you to create your own <a title="PicArtia gallery" href="http://www.picartia.com/gallery/index.php/thumbnails/" target="_blank">photo mosaic</a> fast and easy, in just three simple steps. The point that makes <a href="http://www.picartia.com" target="_blank">PicArtia</a> outstanding is the fast algorithm which is used to create mosaics. Again you can see who &#8220;we&#8221; refre to <a href="http://www.picartia.com/index.php/about-us/" target="_blank">here</a>.<br />
You may read some stories about PicArtia from this list:</p>
<ul>
<li><a href="http://www.killerstartups.com/Web-App-Tools/PicArtiacom---Make-Your-Own-Photo-Mosaic/" target="_blank">PicArtia.com - Make Your Own Photo Mosaic</a></li>
<li><a href="http://www.labnol.org/internet/tools/turn-pictures-impressive-photograph-mosaics-online-free/3082/" target="_blank">Turn Your Pictures Into Impressive Photo Mosaic Posters</a></li>
<li><a href="http://www.digitalbyway.com/2008/04/picartia-create-photo-mosaic.html" target="_blank">PicArtia - Create a Photo Mosaic</a></li>
<li>And many other blogs and websites (like <a href="http://del.icio.us" target="_blank">del.icio.us</a> and <a href="http://www.go2web20.net/" target="_blank">go2web20.net</a>)&#8230; Thank you all for your support.</li>
</ul>
</li>
</ul>
<p>Ok, take care, catch up with you later.</p>
<img src="http://feeds.feedburner.com/~r/shahand/cube/~4/281387847" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://shayan.shahand.com/blog/en/2008/05/01/flishr-picartia/feed/</wfw:commentRss>
		<feedburner:origLink>http://shayan.shahand.com/blog/en/2008/05/01/flishr-picartia/</feedburner:origLink></item>
		<item>
		<title>Serenity Prayer</title>
		<link>http://feeds.feedburner.com/~r/shahand/cube/~3/252413657/</link>
		<comments>http://shayan.shahand.com/blog/en/2008/03/16/serenity-prayer/#comments</comments>
		<pubDate>Sun, 16 Mar 2008 12:09:11 +0000</pubDate>
		<dc:creator>Shayan</dc:creator>
		
		<category><![CDATA[Daily Life]]></category>

		<category><![CDATA[Other]]></category>

		<category><![CDATA[Serenity Prayer]]></category>

		<guid isPermaLink="false">http://shayan.shahand.com/blog/en/2008/03/16/serenity-prayer/</guid>
		<description><![CDATA[God! grant me the serenity to accept the    things I cannot change, The courage to change the things I can and The wisdom    to know the difference.
]]></description>
			<content:encoded><![CDATA[<p><span class="standardtext"><span class="articletext">God! grant me the serenity to accept the    things I cannot change, The courage to change the things I can and The wisdom    to know the difference.</span></span></p>
<img src="http://feeds.feedburner.com/~r/shahand/cube/~4/252413657" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://shayan.shahand.com/blog/en/2008/03/16/serenity-prayer/feed/</wfw:commentRss>
		<feedburner:origLink>http://shayan.shahand.com/blog/en/2008/03/16/serenity-prayer/</feedburner:origLink></item>
		<item>
		<title>Linguistically Classified</title>
		<link>http://feeds.feedburner.com/~r/shahand/cube/~3/236481227/</link>
		<comments>http://shayan.shahand.com/blog/en/2008/02/17/linguistically-classified/#comments</comments>
		<pubDate>Sun, 17 Feb 2008 13:22:54 +0000</pubDate>
		<dc:creator>Shayan</dc:creator>
		
		<category><![CDATA[Daily Life]]></category>

		<category><![CDATA[campus life]]></category>

		<category><![CDATA[language]]></category>

		<category><![CDATA[postgraduate studies]]></category>

		<category><![CDATA[speaking]]></category>

		<category><![CDATA[speaking habits]]></category>

		<guid isPermaLink="false">http://shayan.shahand.com/blog/en/2008/02/17/linguistically-classified/</guid>
		<description><![CDATA[First: I was thinking the other day, that I can classify my friends into four groups according to the sentences they use in their daily conversations:

Those who start almost every sentence with the word &#8220;Actually&#8220;
Those who start almost every sentence by using the word &#8220;Basically&#8220;
Those who end up almost every sentence by the word &#8220;Already&#8220;
And [...]]]></description>
			<content:encoded><![CDATA[<p><strong>First:</strong> I was thinking the other day, that I can classify my friends into four groups according to the sentences they use in their daily conversations:</p>
<ul>
<li>Those who start almost every sentence with the word &#8220;<em>Actually</em>&#8220;</li>
<li>Those who start almost every sentence by using the word &#8220;<em>Basically</em>&#8220;</li>
<li>Those who end up almost every sentence by the word &#8220;<em>Already</em>&#8220;</li>
<li>And those who doesn&#8217;t follow any habit in speaking or at least I have not discovered their speaking habit yet.</li>
</ul>
<p>And I, myself fall into the first group</p>
<p align="justify"><strong>Second:</strong> I&#8217;m marking undergraduate student lab reports for <em>data structures course</em>; 46 set to be marked and I have still 36 more to go. I guess now I&#8217;m passing from the 1st box to the 2nd box according to this fabulous comic:</p>
<p><a href="http://www.phdcomics.com/comics/archive.php?comicid=974" title="click to see this comic on phdcomics.com" target="_blank"><img src="http://www.phdcomics.com/comics/archive/phd020608s.gif" alt="PhD Comics: Marking Undergraduate Reports" height="182.7" width="420" /></a></p>
<p align="justify"><strong>Update:</strong> It took me about 15 hours to mark them all and type the results in the forms and print them and.. I was awake last night and now, I&#8217;m dying of sleep, but! I have to stay awake! because  I have 4 hours lab supervision this morning&#8230;</p>
<img src="http://feeds.feedburner.com/~r/shahand/cube/~4/236481227" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://shayan.shahand.com/blog/en/2008/02/17/linguistically-classified/feed/</wfw:commentRss>
		<feedburner:origLink>http://shayan.shahand.com/blog/en/2008/02/17/linguistically-classified/</feedburner:origLink></item>
		<item>
		<title>Hello world!</title>
		<link>http://feeds.feedburner.com/~r/shahand/cube/~3/231414066/</link>
		<comments>http://shayan.shahand.com/blog/en/2008/02/07/hello-world/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 11:21:47 +0000</pubDate>
		<dc:creator>Shayan</dc:creator>
		
		<category><![CDATA[Other]]></category>

		<category><![CDATA[first post]]></category>

		<category><![CDATA[new blog]]></category>

		<category><![CDATA[new year]]></category>

		<guid isPermaLink="false">http://shayan.shahand.com/blog/en/?p=1</guid>
		<description><![CDATA[Welcome to Cube.
Happy Chinese New Year! It was quite a while that I planed to start my own blog, yeah, and finally today I made that plan. Today is the first day of year according to the Chinese calendar. This year is the rat&#8217;s year and I&#8217;m a rat too! What a nice coincidence.
]]></description>
			<content:encoded><![CDATA[<p>Welcome to Cube.</p>
<p align="justify">Happy Chinese New Year! It was quite a while that I planed to start my own blog, yeah, and finally today I made that plan. Today is the first day of year according to the Chinese calendar. This year is the rat&#8217;s year and I&#8217;m a rat too! What a nice coincidence.</p>
<img src="http://feeds.feedburner.com/~r/shahand/cube/~4/231414066" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://shayan.shahand.com/blog/en/2008/02/07/hello-world/feed/</wfw:commentRss>
		<feedburner:origLink>http://shayan.shahand.com/blog/en/2008/02/07/hello-world/</feedburner:origLink></item>
	</channel>
</rss>
