<?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>Ali's Blog</title>
	<atom:link href="http://almahdi.cc/feed/" rel="self" type="application/rss+xml" />
	<link>http://almahdi.cc</link>
	<description>Made from the best stuff on earth</description>
	<lastBuildDate>Fri, 05 Mar 2010 22:11:20 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Since Viva BH doesn&#8217;t provide manual settings&#8230;</title>
		<link>http://almahdi.cc/uncategorized/since-viva-bh-doesnt-provide-manual-settings/</link>
		<comments>http://almahdi.cc/uncategorized/since-viva-bh-doesnt-provide-manual-settings/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 22:10:41 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[viva bahrain]]></category>
		<category><![CDATA[viva bh]]></category>
		<category><![CDATA[viva bh manual settings]]></category>
		<category><![CDATA[viva iphone]]></category>
		<category><![CDATA[viva n900]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=413</guid>
		<description><![CDATA[Since Viva BH doesn&#8217;t provide manual settings&#8230; I decided to extract their manual settings from the automatic settings and post them here&#8230;
Internet Connection:
APN: viva.bh
Username: (blank)
Password: (blank)
MMS Settings:
Service Center: http://mms.viva.com.bh:38090
APN: vivawap.bh
Username: (blank)
Password: (blank)
Proxy: 172.18.142.36
Proxy Port: 8080
]]></description>
			<content:encoded><![CDATA[<p>Since Viva BH doesn&#8217;t provide manual settings&#8230; I decided to extract their manual settings from the automatic settings and post them here&#8230;</p>
<p>Internet Connection:</p>
<blockquote><p>APN: viva.bh<br />
Username: (blank)<br />
Password: (blank)</p></blockquote>
<p>MMS Settings:</p>
<blockquote><p>Service Center: http://mms.viva.com.bh:38090<br />
APN: vivawap.bh<br />
Username: (blank)<br />
Password: (blank)<br />
Proxy: 172.18.142.36<br />
Proxy Port: 8080</p></blockquote>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Falmahdi.cc%2Funcategorized%2Fsince-viva-bh-doesnt-provide-manual-settings%2F&amp;linkname=Since%20Viva%20BH%20doesn%26%238217%3Bt%20provide%20manual%20settings%26%238230%3B"><img src="http://almahdi.cc/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://almahdi.cc/uncategorized/since-viva-bh-doesnt-provide-manual-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VIVA Bahrain &#8211; 1 day review</title>
		<link>http://almahdi.cc/uncategorized/viva-bahrain-1-day-review/</link>
		<comments>http://almahdi.cc/uncategorized/viva-bahrain-1-day-review/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 19:01:46 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[124]]></category>
		<category><![CDATA[viva]]></category>
		<category><![CDATA[viva 124]]></category>
		<category><![CDATA[viva bad service]]></category>
		<category><![CDATA[viva bahrain]]></category>
		<category><![CDATA[viva bahrain iphone]]></category>
		<category><![CDATA[viva bh]]></category>
		<category><![CDATA[viva bh manual settings]]></category>
		<category><![CDATA[viva care]]></category>
		<category><![CDATA[viva crap]]></category>
		<category><![CDATA[viva iphone]]></category>
		<category><![CDATA[viva joke]]></category>
		<category><![CDATA[viva manual settings]]></category>
		<category><![CDATA[viva service]]></category>
		<category><![CDATA[viva stupid]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=408</guid>
		<description><![CDATA[I am one of the people who gets really annoyed when I don&#8217;t get what I have been promised with. I have people who don&#8217;t keep their promises. So, I walk to Viva Shop in Jawad Dome. I stay in the Queue, and the shop says sorry we are closed. After waiting for 1 hour, [...]]]></description>
			<content:encoded><![CDATA[<p>I am one of the people who gets really annoyed when I don&#8217;t get what I have been promised with. I have people who don&#8217;t keep their promises. So, I walk to Viva Shop in Jawad Dome. I stay in the Queue, and the shop says sorry we are closed. After waiting for 1 hour, they said they closed. Of-course after people showing their annoyance, they said they&#8217;ll process who ever was there.. and they wont accept new customers. So, I wait for another hour. And I get my SIM Card, but not activated card. I get promised to have the card active by the same night, or maximum by next morning (Which is today). However, today at about 3.00pm, I try to use the card. and the Card is not active, so I call 124.. I make a big deal of it and the team leader Hussain Alfardan, does his magic&#8230; and gets my card activated 4 hours later&#8230; Anyway, I call this magic&#8230; It rarely works with telecoms companies. However, the card is active, so I try it on my iPhone. I get the regular message from any provider saying that the handset cannot be configured automatically and I have to contact 124. However, I call them, and they say:</p>
<blockquote><p>Sorry Sir, we don&#8217;t have manual settings.</p></blockquote>
<p>I tell him to escalate my issue, and he forwards me to his manager, and the manager says:</p>
<blockquote><p>Sorry Sir, we don&#8217;t have manual settings and there is nothing I can do to help you!!!</p></blockquote>
<p>Wow, what a customer service guy, if he worked for me, he would have been fired instantly. They don&#8217;t provide manual settings and they tell me they cannot do anything for me&#8230; I am paying for a service and I cannot use this service.</p>
<p>Also, I call again asking about why I am being charged BHD1.429 on the unbilled for my number. He they say we cannot help you sir.. We have to call you back after couple of hours. What type of service is this? They are running a joke company!</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Falmahdi.cc%2Funcategorized%2Fviva-bahrain-1-day-review%2F&amp;linkname=VIVA%20Bahrain%20%26%238211%3B%201%20day%20review"><img src="http://almahdi.cc/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://almahdi.cc/uncategorized/viva-bahrain-1-day-review/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Follow me on twitter</title>
		<link>http://almahdi.cc/internet/follow-me-on-twitter/</link>
		<comments>http://almahdi.cc/internet/follow-me-on-twitter/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 08:53:46 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[Ali Almahdi]]></category>
		<category><![CDATA[ali almahdi blog]]></category>
		<category><![CDATA[ali almahdi twitter]]></category>
		<category><![CDATA[ali blog]]></category>
		<category><![CDATA[ali twitter]]></category>
		<category><![CDATA[almahdi twitter]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=404</guid>
		<description><![CDATA[I have been a bit active on twitter.. I don&#8217;t know when I stop twitting.. However for the time being, you may follow me on twitter (http://www.twitter.com/alialmahdi/).
]]></description>
			<content:encoded><![CDATA[<p>I have been a bit active on twitter.. I don&#8217;t know when I stop twitting.. However for the time being, you may follow me on twitter (<a href="http://www.twitter.com/alialmahdi/" target="_blank">http://www.twitter.com/alialmahdi/</a>).</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Falmahdi.cc%2Finternet%2Ffollow-me-on-twitter%2F&amp;linkname=Follow%20me%20on%20twitter"><img src="http://almahdi.cc/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://almahdi.cc/internet/follow-me-on-twitter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Replace text in many files using perl</title>
		<link>http://almahdi.cc/linux/replace-text-in-many-files-using-perl/</link>
		<comments>http://almahdi.cc/linux/replace-text-in-many-files-using-perl/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 05:51:27 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux replace text]]></category>
		<category><![CDATA[perl]]></category>
		<category><![CDATA[replace text]]></category>
		<category><![CDATA[sed]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=402</guid>
		<description><![CDATA[Last night, I have several files containing the same text and I wanted that text to be replaced. I used perl one liner to do the job and I thought it may be useful for someone else so here it is:
perl -e &#8220;s/text/replacewith/g;&#8221; -pi.orig *.txt
This is going to save a backup of the files with [...]]]></description>
			<content:encoded><![CDATA[<p>Last night, I have several files containing the same text and I wanted that text to be replaced. I used perl one liner to do the job and I thought it may be useful for someone else so here it is:</p>
<blockquote><p>perl -e &#8220;s/text/replacewith/g;&#8221; -pi.orig *.txt</p></blockquote>
<p>This is going to save a backup of the files with .orig extension and do the replace. If you don&#8217;t want backup, then remove the .orig from the line.</p>
<p>Also, if you want to replace text in all files in a directory, then use:</p>
<blockquote><p>perl -e &#8220;s/text/replacewith/g;&#8221; -pi.orig $(find . -type f)</p></blockquote>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Falmahdi.cc%2Flinux%2Freplace-text-in-many-files-using-perl%2F&amp;linkname=Replace%20text%20in%20many%20files%20using%20perl"><img src="http://almahdi.cc/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://almahdi.cc/linux/replace-text-in-many-files-using-perl/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ZenCrypt &#8212; PHP Encoder</title>
		<link>http://almahdi.cc/programming/zencrypt-php-encoder/</link>
		<comments>http://almahdi.cc/programming/zencrypt-php-encoder/#comments</comments>
		<pubDate>Fri, 05 Feb 2010 20:01:36 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ali]]></category>
		<category><![CDATA[Ali Almahdi]]></category>
		<category><![CDATA[Ali Encoder]]></category>
		<category><![CDATA[Almahdi]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[PHP Encoder]]></category>
		<category><![CDATA[ZenCrypt]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=399</guid>
		<description><![CDATA[Last night, I was searching the internet for PHP Encoders, I always knew that ZendGuard and IONCUBE are the best. However, I thought of giving others a chance. While searching I came across ZenCrypt. One of the good things about it that it doesn&#8217;t need a loader on the server-side. Thus, the scripts are self-decodable. [...]]]></description>
			<content:encoded><![CDATA[<p>Last night, I was searching the internet for PHP Encoders, I always knew that ZendGuard and IONCUBE are the best. However, I thought of giving others a chance. While searching I came across <a href="http://www.zencrypt.com/" target="_blank">ZenCrypt</a>. One of the good things about it that it doesn&#8217;t need a loader on the server-side. Thus, the scripts are self-decodable. But this makes it easy to decrypt. On thier website, they have two scripts. One is the source, and the other is the encoded script.</p>
<p>My Attempt to understand its way of encoding to see if it worth the USD45.</p>
<p><a href="http://www.zencrypt.com/INFO/test_plain.php.txt" target="_blank">Source PHP Code</a>:</p>
<blockquote>
<pre>&lt;?php
/* -------------------------------------------------
               www.ZenCrypt.com
             ZenCrypt simple demo

User Manual: http://www.zencrypt.com/INFO/ZenCrypt_PHP_Encoder.pdf
------------------------------------------------- */

//{{{PHP_INSERT_a1}}}
// Encoded chunk of code will be inserted here by ZenCrypt
// Encoded version - test_encoded.php was generated by running ZenCrypt with this command:
//    php -f zencrypt.php infile=test_plain.php outfile=test_encoded.php enccycles=10 stripcomments=yes
//{{{/PHP_INSERT_a1}}}

// This code client will see
$encrypted_number = 52728;

$resulted_number = ZEN_encrypt ($encrypted_number);
echo "\nEncrypted number=$resulted_number";
$resulted_number = ZEN_decrypt ($resulted_number);
echo "\nDecrypted number=$resulted_number";

//{{{PHP_ENCODE_a1}}}
// This part will be encoded and moved above (in between PHP_INSERT tags).
// We do not want to expose these "super secret" encryption functions to the clients.
function ZEN_encrypt ($input)
{
return ($input+5432);
}

function ZEN_decrypt ($input)
{
return ($input-5432);
}
//{{{/PHP_ENCODE_a1}}}

?&gt;
</pre>
</blockquote>
<p><a href="http://www.zencrypt.com/INFO/test_encoded.php.txt" target="_blank">Encoded Code:</a></p>
<blockquote>
<pre>&lt;?php
/* -------------------------------------------------
               www.ZenCrypt.com
             ZenCrypt simple demo

User Manual: http://www.zencrypt.com/INFO/ZenCrypt_PHP_Encoder.pdf
------------------------------------------------- */

$juTSvfNAGsrLGell='=ch/5z/T/fd3E73dPj+i+/rRNYcW/rz/sr6zjSNreaXN+nf/W876jLfWtd9fYXR5F3mtYCRhWNW7dOXGPsM19c920z3acnzSfxYMLFxg/Lz0nIz1FfpnLVdf/xksrTZqs55rpk///93fz27zHki6/oWYz1+9boz693v+vwQE52qDxffRSPNxjIf7xOfHb07GgxXHS/CawCIAXw9xuOY/EVs2KuqrxeJFCMTjEENA0ny6gTRUnndy30KTE/uyY77Pa0TWPVyHmqmYQ98Vf+dgq80ne2FgRkZzz1I103xrDgFjbVdXrcq4coJhOlJwGfXOMVavufyVOwpoIna3qQ5ldM+cVFUwoIHxuEbp3t6HEKKHnhi8rDY6aBfCxM9HkjSCeDP5gWj8GO2zaLsMsrsmLaLw605dRJDxFQZcyTe/X5RDaN9pJ0JTlyEzs0b6ds4cIeRg0uf7/INtfOgFECfah6aJz5Z8WbW5XorpGJZQAk/0H4sxB6GZiXZT44QtxETrhcqSgW5rtxHBxfDN6o8R8m7tbItO7uy3VBIRCi7f1Z+g6qkDoFRh3oiPBehlfbWHOCxdljFFxBjWwZhwOG/tAPA/EtX8LOkw3h04N+Ju7F25yDu6L7itrTU2jJ4dhqbPfBXzXg73fIzmZCyYxdmischnH+1voRzSntcnhxhyLfEriTCyEOhlOlzadH8WzfTUst9O3HBBP0U2JxDBRaLNQUeZjSpFWaDrQGUz3zWFYzBrYHUEtIjENWe0YsQpaFChodc7xDgaegxTTZNNb/il0sihsr6TdlVaq6HCfBywAK92VzCMeIJ7/7TfVgUvBr/zeaZJ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MxGxM42QFe+NS+rZeD5jY9KOe6c4adcJMToZDt7F8mEN4isP9okCSxpN1Wvr8cpj+Rwn6xFslssE60hp54EwDmogCfgu1xz9dLGUCP4hk8BQAEPxCJ3+8KALk/4ry59SEHgAsPZW3QeuBJ1xQWsQQHnvphTU/hFcFApGOYgiqw+P2bHPAtahgbhG4g5twGhSmwIIAggBccUccjnrn9Z2wn+ZbQAB1eN9CTMBQMBEE98OApvjbJ2EAYeui/+/PE0n78g542p9K1FhlIIT7xFwOvff919+OIkX675p2SBB7YNRuCWYXBZyvDISuj3SVb';$QynVyKBtA_laXYfjkJ=';))))yyrTYefTNAsiFGhw$(ireegf(rqbprq_46rfno(rgnysavmt(ynir';$LoMOYHmyNmPlxD=strrev($QynVyKBtA_laXYfjkJ);$lUETluMevSaLCDV=str_rot13($LoMOYHmyNmPlxD);eval($lUETluMevSaLCDV);

// This code client will see
$encrypted_number = 52728;

$resulted_number = ZEN_encrypt ($encrypted_number);
echo "\nEncrypted number=$resulted_number";
$resulted_number = ZEN_decrypt ($resulted_number);
echo "\nDecrypted number=$resulted_number";

?&gt;
</pre>
</blockquote>
<p>My Attempt to Decode the Code:</p>
<blockquote><p>&lt;?php<br />
/* &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
www.ZenCrypt.com<br />
ZenCrypt simple demo</p>
<p>User Manual: http://www.zencrypt.com/INFO/ZenCrypt_PHP_Encoder.pdf<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- */</p>
<p>$juTSvfNAGsrLGell=&#8217;=ch/5z/T/fd3E73dPj+i+/rRNYcW/rz/sr6zjSNreaXN+nf/W876jLfWtd9fYXR5F3mtYCRhWNW7dOXGPsM19c920z3acnzSfxYMLFxg/Lz0nIz1FfpnLVdf/xksrTZqs55rpk///93fz27z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8217;;$LoMOYHmyNmPlxD=strrev($QynVyKBtA_laXYfjkJ);$lUETluMevSaLCDV=str_rot13($LoMOYHmyNmPlxD);eval($lUETluMevSaLCDV);</p>
<p>//print  gzinflate(base64_decode(strrev($juTSvfNAGsrLGell)));</p>
<p>$str=str_replace(&#8220;eval&#8221;,&#8221;\$str=&#8221;, gzinflate(base64_decode(strrev($juTSvfNAGsrLGell))));<br />
eval($str);<br />
print $str.&#8221;\n&#8211;\n&#8221;;<br />
//print &#8220;&#8211;\n&#8221;;<br />
for($icount=0; $icount&lt;17; $icount++) {<br />
$str=str_replace(&#8220;eval&#8221;,&#8221;\$str=&#8221;, $str);<br />
print $str.&#8221;\n$icount&#8211;\n&#8221;;<br />
eval($str);<br />
print $str.&#8221;\n$icount&#8211;\n&#8221;;<br />
}</p>
<p>// This code client will see<br />
$encrypted_number = 52728;</p>
<p>$resulted_number = ZEN_encrypt ($encrypted_number);<br />
echo &#8220;\nEncrypted number=$resulted_number&#8221;;<br />
$resulted_number = ZEN_decrypt ($resulted_number);<br />
echo &#8220;\nDecrypted number=$resulted_number&#8221;;<br />
?&gt;</p></blockquote>
<p>Conclusion:</p>
<p>What I see that it doesn&#8217;t worth the the USD45. Maybe if it was encoded with ZendGuard or ionCube and produces a file that requires a PHP Loader. Just like PHPCipher.<br />
However, from this attempt. I thought that I will write my own encoder. It will be using the same method, however, the output will be encoded in both ZendGuard and ionCube. Stay tuned!</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Falmahdi.cc%2Fprogramming%2Fzencrypt-php-encoder%2F&amp;linkname=ZenCrypt%20%26%238212%3B%20PHP%20Encoder"><img src="http://almahdi.cc/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://almahdi.cc/programming/zencrypt-php-encoder/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Few days ago, I purchase an iPhone 3GS 32GB</title>
		<link>http://almahdi.cc/uncategorized/few-days-ago-i-purchase-an-iphone-3gs-32gb/</link>
		<comments>http://almahdi.cc/uncategorized/few-days-ago-i-purchase-an-iphone-3gs-32gb/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 09:25:11 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=391</guid>
		<description><![CDATA[Few days ago, I purchased my White iPhone 3GS 32GB. My History with iPhone is long back when I the 2G. I love the changes in the in the iPhone&#8230; Specially the feature that I missed much, Copy-n-Paste Text!!! and the New Push notifications!!
I replaced my BlackBerry with this iPhone. It has been doing it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Few days ago, I purchased my White iPhone 3GS 32GB. My History with iPhone is long back when I the 2G. I love the changes in the in the iPhone&#8230; Specially the feature that I missed much, Copy-n-Paste Text!!! and the New Push notifications!!</p>
<p>I replaced my BlackBerry with this iPhone. It has been doing it&#8217;s job perfectly.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Falmahdi.cc%2Funcategorized%2Ffew-days-ago-i-purchase-an-iphone-3gs-32gb%2F&amp;linkname=Few%20days%20ago%2C%20I%20purchase%20an%20iPhone%203GS%2032GB"><img src="http://almahdi.cc/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://almahdi.cc/uncategorized/few-days-ago-i-purchase-an-iphone-3gs-32gb/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>A new year arrives and new projects to come</title>
		<link>http://almahdi.cc/programming/a-new-year-arrives-and-new-projects-to-come/</link>
		<comments>http://almahdi.cc/programming/a-new-year-arrives-and-new-projects-to-come/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 18:49:21 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ali]]></category>
		<category><![CDATA[Ali Almahdi]]></category>
		<category><![CDATA[Almahdi]]></category>
		<category><![CDATA[gtk]]></category>
		<category><![CDATA[maemo]]></category>
		<category><![CDATA[Marwan]]></category>
		<category><![CDATA[Marwan Alsabbagh]]></category>
		<category><![CDATA[N900]]></category>
		<category><![CDATA[Nokia N900]]></category>
		<category><![CDATA[pygtk]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=388</guid>
		<description><![CDATA[A new year arrived, and new projects are arriving&#8230; My friend Marwan and myself started having several projects to be developed for the Maemo powered devices. However, after discussion today, we have agreed on developing stuff to be cross platform. Most of our development well be in Python GTK.
The agreement is that Marwan will do [...]]]></description>
			<content:encoded><![CDATA[<p>A new year arrived, and new projects are arriving&#8230; My friend Marwan and myself started having several projects to be developed for the Maemo powered devices. However, after discussion today, we have agreed on developing stuff to be cross platform. Most of our development well be in Python GTK.</p>
<p>The agreement is that Marwan will do most of the development, I will be maintaining the projects. I will be responsible of the packaging and bug fixing and some development. Marwan will be doing the core of the applications.</p>
<p>We will be registering a new domain and it will be dedicated for our joint projects. We have lots of ideas, so wish us luck!!</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Falmahdi.cc%2Fprogramming%2Fa-new-year-arrives-and-new-projects-to-come%2F&amp;linkname=A%20new%20year%20arrives%20and%20new%20projects%20to%20come"><img src="http://almahdi.cc/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://almahdi.cc/programming/a-new-year-arrives-and-new-projects-to-come/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>You have Zero Privacy Anyway &#8212; Get over it</title>
		<link>http://almahdi.cc/internet/you-have-zero-privacy-anyway-get-over-it/</link>
		<comments>http://almahdi.cc/internet/you-have-zero-privacy-anyway-get-over-it/#comments</comments>
		<pubDate>Fri, 11 Dec 2009 10:58:59 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=386</guid>
		<description><![CDATA[I have read a very nice article in OSNews talking about that we have a zero privacy on the Internet. I recommend reading it: http://osne.ws/hfv
]]></description>
			<content:encoded><![CDATA[<p>I have read a very nice article in OSNews talking about that we have a zero privacy on the Internet. I recommend reading it: <a href="http://osne.ws/hfv" target="_blank">http://osne.ws/hfv</a></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Falmahdi.cc%2Finternet%2Fyou-have-zero-privacy-anyway-get-over-it%2F&amp;linkname=You%20have%20Zero%20Privacy%20Anyway%20%26%238212%3B%20Get%20over%20it"><img src="http://almahdi.cc/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://almahdi.cc/internet/you-have-zero-privacy-anyway-get-over-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rain and accidents</title>
		<link>http://almahdi.cc/uncategorized/rain-and-accidents/</link>
		<comments>http://almahdi.cc/uncategorized/rain-and-accidents/#comments</comments>
		<pubDate>Sun, 06 Dec 2009 14:47:38 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=382</guid>
		<description><![CDATA[Today was a rainy day. Which we are not used to. So we&#8217;d expect accidents. Here is an example taken by my N900
]]></description>
			<content:encoded><![CDATA[<p>Today was a rainy day. Which we are not used to. So we&#8217;d expect accidents. Here is an example taken by my N900<br />

<a href='http://almahdi.cc/uncategorized/rain-and-accidents/attachment/20091206_001/' title='20091206_001'><img width="150" height="150" src="http://almahdi.cc/wp-content/uploads/2009/12/20091206_001-150x150.jpg" class="attachment-thumbnail" alt="" title="20091206_001" /></a>
<a href='http://almahdi.cc/uncategorized/rain-and-accidents/attachment/20091206_002/' title='20091206_002'><img width="150" height="150" src="http://almahdi.cc/wp-content/uploads/2009/12/20091206_002-150x150.jpg" class="attachment-thumbnail" alt="" title="20091206_002" /></a>
</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Falmahdi.cc%2Funcategorized%2Frain-and-accidents%2F&amp;linkname=Rain%20and%20accidents"><img src="http://almahdi.cc/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://almahdi.cc/uncategorized/rain-and-accidents/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Story about Love</title>
		<link>http://almahdi.cc/quotes/story-about-love/</link>
		<comments>http://almahdi.cc/quotes/story-about-love/#comments</comments>
		<pubDate>Thu, 03 Dec 2009 11:17:15 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Quotes]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=375</guid>
		<description><![CDATA[Story:
‏​وقع طائر في حب ورده بيضاء وقرر ان يصارحها ولكنها رفضت وقالت انها لا تحبه فظل يصارحها بشكل يومي حتى قالت له الورده البيضاء عندما يصبح لوني احمر سوف احبك ففي أحد الايام اتي الطائر وقطع جناحيه ونشر دمائه علي الورده البيضاء حتي اصبح لونها احمر وحينها ادركت الورده كم احبها الطائر ولكن الوقت قد [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">Story:</p>
<blockquote style="text-align: right;"><p>‏​وقع طائر في حب ورده بيضاء وقرر ان يصارحها ولكنها رفضت وقالت انها لا تحبه فظل يصارحها بشكل يومي حتى قالت له الورده البيضاء عندما يصبح لوني احمر سوف احبك ففي أحد الايام اتي الطائر وقطع جناحيه ونشر دمائه علي الورده البيضاء حتي اصبح لونها احمر وحينها ادركت الورده كم احبها الطائر ولكن الوقت قد فات لأن الطائر قد مات لذلك عليك احترام مشاعر الشخص الذي يحبك قبل أن يموت لإجلك</p></blockquote>
<p style="text-align: left;">Translation:</p>
<blockquote>
<p style="text-align: left;">A bird fell in love with a white rose, and he decided to tell her how he felt, but she rejected him. He insisted and kept on telling her how he felt everyday, until the white rose told him that she will only love him if her color becomes red. So one day he comes and cuts his wings and spilled his blood over her and her color became red. At that time she knew how much the bird loved her, but it was too late since the bird has died.</p>
</blockquote>
<p style="text-align: left;">Moral of the story:<br />
You have to respect feelings of the people who loves you before they die for you.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Falmahdi.cc%2Fquotes%2Fstory-about-love%2F&amp;linkname=Story%20about%20Love"><img src="http://almahdi.cc/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://almahdi.cc/quotes/story-about-love/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nokia N900</title>
		<link>http://almahdi.cc/uncategorized/nokia-n900/</link>
		<comments>http://almahdi.cc/uncategorized/nokia-n900/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 07:21:25 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=370</guid>
		<description><![CDATA[On Saturday, I got my Nokia N900&#8230; Simply this phone rocks! I love this phone!

]]></description>
			<content:encoded><![CDATA[<p>On Saturday, I got my Nokia N900&#8230; Simply this phone rocks! I love this phone!</p>
<p><a href="http://almahdi.cc/wp-content/uploads/2009/11/Nokia-N900-Maemo-5-03.jpg"><img class="alignnone size-medium wp-image-371" title="Nokia N900 Maemo 5" src="http://almahdi.cc/wp-content/uploads/2009/11/Nokia-N900-Maemo-5-03-300x235.jpg" alt="Nokia N900 Maemo 5" width="300" height="235" /></a></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Falmahdi.cc%2Funcategorized%2Fnokia-n900%2F&amp;linkname=Nokia%20N900"><img src="http://almahdi.cc/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://almahdi.cc/uncategorized/nokia-n900/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Saturday, 21st November was my birthday</title>
		<link>http://almahdi.cc/uncategorized/saturday-21st-november-was-my-birthday/</link>
		<comments>http://almahdi.cc/uncategorized/saturday-21st-november-was-my-birthday/#comments</comments>
		<pubDate>Mon, 23 Nov 2009 06:16:42 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[birthday]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=368</guid>
		<description><![CDATA[On Saturday, 21st of November 2009 was my birthday. It was a very special day for me. Thanks to everyone to made me enjoy my day, and specially my wife. She took me to have dinner in Pizza Italia and prepared a very nice table for me. I love the Aigner package! Thanks for the [...]]]></description>
			<content:encoded><![CDATA[<p>On Saturday, 21st of November 2009 was my birthday. It was a very special day for me. Thanks to everyone to made me enjoy my day, and specially my wife. She took me to have dinner in Pizza Italia and prepared a very nice table for me. I love the Aigner package! Thanks for the special dinner honey!</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Falmahdi.cc%2Funcategorized%2Fsaturday-21st-november-was-my-birthday%2F&amp;linkname=Saturday%2C%2021st%20November%20was%20my%20birthday"><img src="http://almahdi.cc/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://almahdi.cc/uncategorized/saturday-21st-november-was-my-birthday/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Added a feature to my blog!!</title>
		<link>http://almahdi.cc/uncategorized/added-a-feature-to-my-blog/</link>
		<comments>http://almahdi.cc/uncategorized/added-a-feature-to-my-blog/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 09:48:34 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=366</guid>
		<description><![CDATA[I just installed the plug-in Add to Any on my blog. It allows visitors to be able to share my posts using it rather than copying and pasting the links!
]]></description>
			<content:encoded><![CDATA[<p>I just installed the plug-in <span style="text-decoration: underline;"><strong>Add to Any</strong></span> on my blog. It allows visitors to be able to share my posts using it rather than copying and pasting the links!</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Falmahdi.cc%2Funcategorized%2Fadded-a-feature-to-my-blog%2F&amp;linkname=Added%20a%20feature%20to%20my%20blog%21%21"><img src="http://almahdi.cc/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://almahdi.cc/uncategorized/added-a-feature-to-my-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Beautiful time in the past, I wish I can go back!</title>
		<link>http://almahdi.cc/uncategorized/beautiful-time-in-the-past-i-wish-i-can-go-back/</link>
		<comments>http://almahdi.cc/uncategorized/beautiful-time-in-the-past-i-wish-i-can-go-back/#comments</comments>
		<pubDate>Mon, 16 Nov 2009 06:29:23 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=364</guid>
		<description><![CDATA[Once upon a time, there was the most beautiful part of my life, when:
When my Dad was the only hero,
When Love was my Mom&#8217;s hug,
When my Dad&#8217;s shoulder was the highest place on earth,
When my worst enemies were my siblings and cousins,
When the only thing that could hurt was a skinned knee,
When the only things [...]]]></description>
			<content:encoded><![CDATA[<p>Once upon a time, there was the most beautiful part of my life, when:</p>
<p>When my Dad was the only hero,<br />
When Love was my Mom&#8217;s hug,<br />
When my Dad&#8217;s shoulder was the highest place on earth,<br />
When my worst enemies were my siblings and cousins,<br />
When the only thing that could hurt was a skinned knee,<br />
When the only things broken were my toys,<br />
And when goodbyes only meant till tomorrow.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Falmahdi.cc%2Funcategorized%2Fbeautiful-time-in-the-past-i-wish-i-can-go-back%2F&amp;linkname=Beautiful%20time%20in%20the%20past%2C%20I%20wish%20I%20can%20go%20back%21"><img src="http://almahdi.cc/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://almahdi.cc/uncategorized/beautiful-time-in-the-past-i-wish-i-can-go-back/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What a messed up world? &#8212; What the hell?</title>
		<link>http://almahdi.cc/odd-stuff/what-a-messed-up-world-what-the-hell/</link>
		<comments>http://almahdi.cc/odd-stuff/what-a-messed-up-world-what-the-hell/#comments</comments>
		<pubDate>Mon, 26 Oct 2009 10:16:04 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Odd Stuff]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=356</guid>
		<description><![CDATA[I never imagined that my country will end up like this, I always believed and knew that we were raised well. We where the best among all of our neighbor countries. No one cares in my country, no one has respect, everyone is messed up, it is all screwed up!
To everyone is reading this, I [...]]]></description>
			<content:encoded><![CDATA[<p>I never imagined that my country will end up like this, I always believed and knew that we were raised well. We where the best among all of our neighbor countries. No one cares in my country, no one has respect, everyone is messed up, it is all screwed up!</p>
<p>To everyone is reading this, I tell you, those people are not Bahraini&#8217;s they just lived here to have our Nationality, Bahrainis are known to be the best among everyone and everywhere, those people doesn&#8217;t represent us.</p>
<p>This is a new article:<br />
<a href="http://almahdi.cc/wp-content/uploads/2009/10/Bakistany.jpg"><img class="alignnone size-medium wp-image-357" title="News Article -- Pakistani" src="http://almahdi.cc/wp-content/uploads/2009/10/Bakistany-300x281.jpg" alt="News Article -- Bakistani" width="300" height="281" /></a></p>
<p><span style="text-decoration: underline;"><strong>Summary of the Article in English:</strong></span><br />
The court in Bahrain convicted a Pakistani Guy for sexually assaulting Bahraini Girl and he will be in jail for ONE month and then to be exiled from Bahrain. The story is that the girl works in a Cloths shop and the Bakistani is a Barber works in a shop next to where she works, they have exchanged phone numbers and lived a 7 months love story. However, she asked her to go to his house, where she did, and he had sex with her (As in the news, man and wife sex). However, she got upset so he apologized and promised to marry her, and it continued asking her to his house and do the same again and again. Until she knew that he is stalling and he doesn&#8217;t want to marry her so she went to police and filed a complain about him sexually assaulting her.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Falmahdi.cc%2Fodd-stuff%2Fwhat-a-messed-up-world-what-the-hell%2F&amp;linkname=What%20a%20messed%20up%20world%3F%20%26%238212%3B%20What%20the%20hell%3F"><img src="http://almahdi.cc/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://almahdi.cc/odd-stuff/what-a-messed-up-world-what-the-hell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setup unixODBC on Linux for Oracle and Sybase</title>
		<link>http://almahdi.cc/linux/setup-unixodbc-on-linux-for-oracle-and-sybase/</link>
		<comments>http://almahdi.cc/linux/setup-unixodbc-on-linux-for-oracle-and-sybase/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 12:09:21 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[odbc linux]]></category>
		<category><![CDATA[oracle]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[sybase]]></category>
		<category><![CDATA[unixodbc]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=353</guid>
		<description><![CDATA[I have been working this week on configuring a Linux server to connect to Oracle and Sybase using unixODBC to be used by a System running on PHP.
So, I thought of sharing my /etc/odbc.ini and /etc/odbcinst.ini since I had a bit of hard time writing them. It may help someone who is trying to figure [...]]]></description>
			<content:encoded><![CDATA[<p>I have been working this week on configuring a Linux server to connect to Oracle and Sybase using unixODBC to be used by a System running on PHP.</p>
<p>So, I thought of sharing my /etc/odbc.ini and /etc/odbcinst.ini since I had a bit of hard time writing them. It may help someone who is trying to figure out how to connect using ODBC on Linux.</p>
<p>Packages Required on CentOS</p>
<blockquote><p>httpd php unixODBC</p></blockquote>
<p>Manually Install Oracle Instant Client 11.1 RPM Packages and Install Sybase ASE from the TGZ File.</p>
<p>For Oracle you need to copy all the libs to /usr/lib</p>
<blockquote><p>cp /usr/lib/oracle/11.1/client/lib /usr/lib/</p></blockquote>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 108px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">/usr/lib/oracle/11.1/client/lib</div>
<p>/etc/odbcinst.ini Contents:</p>
<blockquote>
<p>[Oracle]<br />
Description     = Oracle ODBC Connection<br />
Driver          = /usr/lib/oracle/11.1/client/lib/libsqora.so.11.1<br />
Setup           =<br />
FileUsage<span style="white-space:pre"> </span>=<br />
CPTimeout<span style="white-space:pre"> </span>=<br />
CPReuse         =</p>
<p>[Sybase]<br />
Description = Sybase ODBC Driver<br />
Driver = /opt/sybase/DataAccess/ODBC/lib/libsybdrvodb.so<br />
FileUsage = -1</p></blockquote>
<p>/etc/odbc.ini Contents:</p>
<blockquote><p>[Oracle]<br />
Application Attributes = T<br />
Attributes = W<br />
BatchAutocommitMode = IfAllSuccessful<br />
CloseCursor = F<br />
DisableDPM = F<br />
DisableMTS = T<br />
Driver = Oracle<br />
EXECSchemaOpt =<br />
EXECSyntax = T<br />
Failover = T<br />
FailoverDelay = 10<br />
FailoverRetryCount = 10<br />
FetchBufferSize = 64000<br />
ForceWCHAR = F<br />
Lobs = T<br />
Longs = T<br />
MetadataIdDefault = F<br />
QueryTimeout = T<br />
ResultSets = T<br />
ServerName = //serverip:port/dbname<br />
SQLGetData extensions = F<br />
Translation DLL =<br />
Translation Option = 0<br />
UserID =</p>
<p>[Sybase]<br />
Driver = Sybase<br />
Server = serverip<br />
Port = serverport<br />
Database = dbname</p></blockquote>
<p>PHP Script to Test ODBC Connectivity:</p>
<blockquote><p>&lt;?php</p>
<p>$query = &#8220;select * from table_name&#8221;;</p>
<p>$conn = odbc_pconnect(&#8220;DSN&#8221;, &#8220;username&#8221;, &#8220;password&#8221;);</p>
<p>if(!$conn) die(&#8220;Connection failed&#8221;);</p>
<p>if($result = odbc_exec($conn, $query)) {</p>
<p><span style="white-space: pre;"> </span>echo &#8220;Query returned : &#8221; . odbc_num_rows($result) . &#8220;rows&#8221;;</p>
<p><span style="white-space: pre;"> </span>odbc_result_all($result);</p>
<p><span style="white-space: pre;"> </span>}</p>
<p>?&gt;</p></blockquote>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Falmahdi.cc%2Flinux%2Fsetup-unixodbc-on-linux-for-oracle-and-sybase%2F&amp;linkname=Setup%20unixODBC%20on%20Linux%20for%20Oracle%20and%20Sybase"><img src="http://almahdi.cc/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://almahdi.cc/linux/setup-unixodbc-on-linux-for-oracle-and-sybase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Post using my Storm with wordpress client</title>
		<link>http://almahdi.cc/blackberry/post-using-my-storm-with-wordpress-client/</link>
		<comments>http://almahdi.cc/blackberry/post-using-my-storm-with-wordpress-client/#comments</comments>
		<pubDate>Sun, 06 Sep 2009 09:35:35 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Blackberry]]></category>

		<guid isPermaLink="false">http://almahdi.cc/uncategorized/post-using-my-storm-with-wordpress-client/</guid>
		<description><![CDATA[This is a post using my storm. Now I can blog at anytime.
]]></description>
			<content:encoded><![CDATA[<p>This is a post using my storm. Now I can blog at anytime.</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Falmahdi.cc%2Fblackberry%2Fpost-using-my-storm-with-wordpress-client%2F&amp;linkname=Post%20using%20my%20Storm%20with%20wordpress%20client"><img src="http://almahdi.cc/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://almahdi.cc/blackberry/post-using-my-storm-with-wordpress-client/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DynoStorm Results for my VW R32</title>
		<link>http://almahdi.cc/cars/dynostorm-results-for-my-vw-r32/</link>
		<comments>http://almahdi.cc/cars/dynostorm-results-for-my-vw-r32/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 21:22:10 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Cars]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=348</guid>
		<description><![CDATA[I was really disappointed with my DynoStorm Restults. I will do another run with nothing inside the car, since I had lots of stuff in the car and a friend.
Car: VW Golf MKV R32 &#8211; 2009
Mods:

Milltek Exhaust with Magna Flow Resonator  (I will take off this resonator and put back the Milltek Non Res Pipe [...]]]></description>
			<content:encoded><![CDATA[<p>I was really disappointed with my DynoStorm Restults. I will do another run with nothing inside the car, since I had lots of stuff in the car and a friend.</p>
<p>Car: VW Golf MKV R32 &#8211; 2009<br />
Mods:</p>
<ul>
<li>Milltek Exhaust with Magna Flow Resonator  (I will take off this resonator and put back the Milltek Non Res Pipe and have another run).</li>
<li>VF Engineering Air Intake</li>
</ul>
<p>Below is my results:</p>
<p>0-100KPH 6.91 Sec<br />
1/4 Mi : 14.54 Sec @ 166.6 KPH</p>
<p>Peak Power: 180 HP ~ Wheel Power ~ Since no drive train loss was entered.<br />
<a href="http://almahdi.cc/wp-content/uploads/2009/09/dyno-6sept09.jpg"><img class="alignnone size-thumbnail wp-image-349" title="Dyno Storm Graph" src="http://almahdi.cc/wp-content/uploads/2009/09/dyno-6sept09-150x150.jpg" alt="Dyno Storm Graph" width="150" height="150" /></a></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Falmahdi.cc%2Fcars%2Fdynostorm-results-for-my-vw-r32%2F&amp;linkname=DynoStorm%20Results%20for%20my%20VW%20R32"><img src="http://almahdi.cc/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://almahdi.cc/cars/dynostorm-results-for-my-vw-r32/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Attempt to fix the Storm screen click</title>
		<link>http://almahdi.cc/blackberry/attempt-to-fix-the-storm-screen-click/</link>
		<comments>http://almahdi.cc/blackberry/attempt-to-fix-the-storm-screen-click/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 20:54:45 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Blackberry]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=345</guid>
		<description><![CDATA[I have tried to loosen the screws a bit, and it worked. However, I have to do some tweaking now.. Try to adjust until I get my perfect setting!
]]></description>
			<content:encoded><![CDATA[<p>I have tried to loosen the screws a bit, and it worked. However, I have to do some tweaking now.. Try to adjust until I get my perfect setting!</p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Falmahdi.cc%2Fblackberry%2Fattempt-to-fix-the-storm-screen-click%2F&amp;linkname=Attempt%20to%20fix%20the%20Storm%20screen%20click"><img src="http://almahdi.cc/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://almahdi.cc/blackberry/attempt-to-fix-the-storm-screen-click/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Purchased DynoStorm</title>
		<link>http://almahdi.cc/blackberry/purchased-dynostorm/</link>
		<comments>http://almahdi.cc/blackberry/purchased-dynostorm/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 14:13:09 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Blackberry]]></category>
		<category><![CDATA[Cars]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=343</guid>
		<description><![CDATA[Today I purchased DynoStorm, I will post some graphs of my car hopefully tonight!
DynoStorm: http://www.bunsentech.com/projects/dynostorm/
]]></description>
			<content:encoded><![CDATA[<p>Today I purchased DynoStorm, I will post some graphs of my car hopefully tonight!</p>
<p>DynoStorm: <a href="http://www.bunsentech.com/projects/dynostorm/">http://www.bunsentech.com/projects/dynostorm/</a></p>
<a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save?linkurl=http%3A%2F%2Falmahdi.cc%2Fblackberry%2Fpurchased-dynostorm%2F&amp;linkname=Purchased%20DynoStorm"><img src="http://almahdi.cc/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a>]]></content:encoded>
			<wfw:commentRss>http://almahdi.cc/blackberry/purchased-dynostorm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
