<?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&#039;s Blog</title>
	<atom:link href="http://www.almahdi.cc/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.almahdi.cc</link>
	<description>Made from the best stuff on earth</description>
	<lastBuildDate>Tue, 24 Jan 2012 10:16:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Why do we get upset or feel upset?</title>
		<link>http://www.almahdi.cc/philosophy/why-do-we-get-upset-or-feel-upset/</link>
		<comments>http://www.almahdi.cc/philosophy/why-do-we-get-upset-or-feel-upset/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 08:36:00 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Philosophy]]></category>
		<category><![CDATA[abilene]]></category>
		<category><![CDATA[Ali]]></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[Almahdi]]></category>
		<category><![CDATA[almahdi twitter]]></category>
		<category><![CDATA[bad]]></category>
		<category><![CDATA[expectation]]></category>
		<category><![CDATA[feel]]></category>
		<category><![CDATA[feeling]]></category>
		<category><![CDATA[paradox]]></category>
		<category><![CDATA[philosophy]]></category>
		<category><![CDATA[upset]]></category>

		<guid isPermaLink="false">http://www.almahdi.cc/?p=586</guid>
		<description><![CDATA[Been thinking recently why do we get upset? I think its one or more of what I am listing below occur. 1. Expectation It&#8217;s our human nature, we set expectations, when they aren&#8217;t met, we feel bad and we get upset. This is a topic by itself, so I am gonna give examples here to [...]]]></description>
			<content:encoded><![CDATA[<div>Been thinking recently why do we get upset?</div>
<div></div>
<div>I think its one or more of what I am listing below occur.</div>
<div></div>
<div><strong>1. Expectation</strong></div>
<div>It&#8217;s our human nature, we set expectations, when they aren&#8217;t met, we feel bad and we get upset. This is a topic by itself, so I am gonna give examples here to make the picture clear and then move on to the next point. We usually set expectations for everything in life, even when we design an electronic circuit, we expect it to work as designed, if it doesn&#8217;t for any reason, we feel upset. But its nothing compared to the feeling we get from getting unexpected behavior from people we care about.</div>
<div></div>
<div>We usually expect a certain behavior from people who we care about, when something unexpected happens, we get upset, sometimes it reaches to depression. When we care about someone, we think that person is an angel. Specially, when this person cares about you too.</div>
<div></div>
<div>When someone cares about us, we set the expectation of us being the only special person, we expect to get all the care that could ever be given. But this creates so much pressure on the other person. Thus makes both upset.</div>
<div></div>
<div>We have to accept the fact is that people care on different levels, you may care so much more than the person cares.. People have different behaviors, sometimes words betray people and words slip unexpected. and I know the idea of accepting this is just painful and makes us upset.</div>
<div></div>
<div><strong>2. Abilene paradox</strong></div>
<div>Quote from Wikipedia:<em> &#8221;The Abilene paradox is a paradox in which a group of people collectively decide on a course of action that is counter to the preferences of any of the individuals in the group. It involves a common breakdown of group communication in which each member mistakenly believes that their own preferences are counter to the group&#8217;s and, therefore, does not raise objections. A common phrase relating to the Abilene paradox is a desire to not &#8220;rock the boat&#8221;</em>. &#8220; <sub>&#8211; Source: http://en.wikipedia.org/wiki/Abilene_paradox</sub></div>
<div></div>
<div>Group of people could be even two people, we sometimes do things to please the other person or other people, but after sometime, it becomes heavy and we get upset and start pointing fingers.</div>
<div></div>
<div><strong>3. Feeling Lost / Feeling Lonely / Losing someone or something</strong></div>
<div>Sometimes we just feel lost, we don&#8217;t know what to do, where we want reach with our lives.. This feeling sometimes is caused by unsatisfied expectations. It could be caused by feeling lonely. Feeling lonely is when you miss someone so much and this person is not around. It could be because of losing someone! Its our nature to forget and expect that this person will last for us forever.</div>
<div></div>
<div><strong>4. Fear</strong></div>
<div>Fear is a very important factor, fear from being able to reach the expectation, fear of being lost..  Can&#8217;t find enough words to finish this part.</div>
<div></div>
<div>At the end, it all related to expectations we set. But there could be a different view, expectations can give hope too.</div>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.almahdi.cc%2Fphilosophy%2Fwhy-do-we-get-upset-or-feel-upset%2F&amp;title=Why%20do%20we%20get%20upset%20or%20feel%20upset%3F" id="wpa2a_2"><img src="http://www.almahdi.cc/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.almahdi.cc/philosophy/why-do-we-get-upset-or-feel-upset/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Galaxy Nexus &#8211; Review</title>
		<link>http://www.almahdi.cc/phones/galaxy-nexus-review/</link>
		<comments>http://www.almahdi.cc/phones/galaxy-nexus-review/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 11:17:27 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Phones]]></category>

		<guid isPermaLink="false">http://www.almahdi.cc/?p=576</guid>
		<description><![CDATA[Every few months, I buy a new gadget.. I rarely write reviews, but I found that writing reliefs me, and gives me the comfy feel. and Since one of my friends always demands reviews for everything I buy. Hence, I am writing this review. Please do keep in mind that whatever I write about this [...]]]></description>
			<content:encoded><![CDATA[<p>Every few months, I buy a new gadget.. I rarely write reviews, but I found that writing reliefs me, and gives me the comfy feel. and Since one of my friends always demands reviews for everything I buy. Hence, I am writing this review. Please do keep in mind that whatever I write about this device is solely my own opinion.</p>
<p>I got this device on December 1st, 2011. This gave me enough time to evaluate the device.</p>
<p><strong>Hardware / Design</strong></p>
<p>This devices is equipped with 4.65&#8243; HD Super AMOLED Screen, 1 GB RAM, 16GB Storage, 5 MegaPixel Camera, Front facing camera and 1.2Ghz clocked CPU.</p>
<p>I absolutely love the device design, really slim slick and curved. Lightweight, causing it slip from the hand, I dropped it few days ago.</p>
<p>The screen on this device is Wow. I just love this screen, and its size. And the above Tech specs speaks it all.</p>
<p><a href="http://www.almahdi.cc/wp-content/uploads/2012/01/GalaxyNexus_large.png"><img class="size-medium wp-image-588 aligncenter" title="Galaxy Nexus" src="http://www.almahdi.cc/wp-content/uploads/2012/01/GalaxyNexus_large-300x262.png" alt="Galaxy Nexus" width="300" height="262" /></a></p>
<p><strong>Battery Life</strong><br clear="none" />Its a new battery, and honestly, I think its awesome&#8230; I manage about 7 to 8 hours heavy almost continuous use. On low usage, having few emails running in the background, I managed 1 day out of the phone. Comparing this battery to other devices I owned, including iPhone 4, I find this battery superior to the others. Keeping in mind that I run this device on VIVA Bahrain HSPA+ Network.. This network drains any phone battery, including iPhone 4.. However, this phone manages longer standby periods even on VIVA Network.</p>
<p><a href="http://www.almahdi.cc/wp-content/uploads/2012/01/sgn-batterylife.png"><img class="size-medium wp-image-589 aligncenter" title="Battery Life" src="http://www.almahdi.cc/wp-content/uploads/2012/01/sgn-batterylife-168x300.png" alt="Battery Life" width="168" height="300" /></a></p>
<p><strong>Camera</strong><br clear="none" />Usually Camera&#8217;s are not that important for me, however, I cannot say its a bad camera, but it could have been done better. I love the speed of its captures, however, sometimes due to speed, it loses focus. So, you gotta touch the screen for focus and capture.</p>
<p><strong>Network Speeds</strong></p>
<p>I have managed to get about 8.7Mbps Downlink and 1.9Mbps up on VIVA network, that was first day I got the phone. Today, I am facing issues with VIVA Network making me unable to go more than 1Mbps on any handset I got. So, probably gonna post a pic when I get my issues fixed.</p>
<p><strong>Software</strong></p>
<p>ICS is what android should have been. Being an iOS user for sometime, I think, ICS has reached to a stage where is can compete with iOS.</p>
<p>It is a complete redesigned OS, it features soft-buttons which already existed in HoneyComb (Tablets OS).  A new Lock screen and a new way of answering calls.</p>
<p>It features resizable widgets and screenshots!</p>
<p>I believe at this stage, ICS is ready to compete with iOS at moment.</p>
<p>&nbsp;</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.almahdi.cc%2Fphones%2Fgalaxy-nexus-review%2F&amp;title=Galaxy%20Nexus%20%26%238211%3B%20Review" id="wpa2a_4"><img src="http://www.almahdi.cc/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.almahdi.cc/phones/galaxy-nexus-review/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>I got myself a gift, Galaxy Note!</title>
		<link>http://www.almahdi.cc/phones/i-got-myself-a-gift-galaxy-note/</link>
		<comments>http://www.almahdi.cc/phones/i-got-myself-a-gift-galaxy-note/#comments</comments>
		<pubDate>Fri, 06 Jan 2012 14:39:37 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Phones]]></category>

		<guid isPermaLink="false">http://www.almahdi.cc/?p=562</guid>
		<description><![CDATA[Few days ago, I purchased a Galaxy Note. Keeping in mind that I preowned a Dell Streak and I was completely in love with it. Galaxy Note gave me the same feeling. Love on first sight. I love devices with such big screens, makes it easier for me to edit documents and browse the web. [...]]]></description>
			<content:encoded><![CDATA[<div>Few days ago, I purchased a Galaxy Note. Keeping in mind that I preowned a Dell Streak and I was completely in love with it. Galaxy Note gave me the same feeling. Love on first sight. I love devices with such big screens, makes it easier for me to edit documents and browse the web.</div>
<div></div>
<div>Hopefully, when I have time and use the device for sometime, I will post a review.</div>
<div></div>
<div>For the time being, you can watch my unboxing video.</div>
<div>
<div></div>
<div>Special Thanks to Mohammed (<a href="https://www.twitter.com/madridlad" target="_blank">@madridlad</a>) for making this video.</div>
</div>
<p><iframe src="http://www.youtube.com/embed/a32Iv8naCCI" frameborder="0" width="560" height="315"></iframe></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.almahdi.cc%2Fphones%2Fi-got-myself-a-gift-galaxy-note%2F&amp;title=I%20got%20myself%20a%20gift%2C%20Galaxy%20Note%21" id="wpa2a_6"><img src="http://www.almahdi.cc/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.almahdi.cc/phones/i-got-myself-a-gift-galaxy-note/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Extend LVM Partition online</title>
		<link>http://www.almahdi.cc/linux/extend-lvm-partition-online/</link>
		<comments>http://www.almahdi.cc/linux/extend-lvm-partition-online/#comments</comments>
		<pubDate>Thu, 05 Jan 2012 07:24:57 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.almahdi.cc/?p=574</guid>
		<description><![CDATA[I have been facing this recently at work. Luckily, we run a private cloud on VMWare Infrastructure with Storage on EMC SAN. I&#8217;ve got some production machines running RHEL and CentOS RHEL Clone. Recently, some of them started running out of disk space. Luckily, setup was done using default install. So, LVM was used by [...]]]></description>
			<content:encoded><![CDATA[<p>I have been facing this recently at work. Luckily, we run a private cloud on VMWare Infrastructure with Storage on EMC SAN. I&#8217;ve got some production machines running RHEL and CentOS RHEL Clone. Recently, some of them started running out of disk space. Luckily, setup was done using default install. So, LVM was used by default.</p>
<p>So, I asked the VMWare admin to add an extra virtual disk for me on each of those machines. and I extended (/) partition to the new disk.</p>
<p>Keeping in mind to follow the procedure is: /dev/sda was the only disk for each machine. So, when we added an extra disk, it was assigned /dev/sdb</p>
<p>Using fdisk, create a new partition:</p>
<blockquote><p>fdisk /dev/sdb</p></blockquote>
<p>Make sure you make your choices as primary and assign it first partition.</p>
<p>So, once created, it shall be assigned /dev/sdb1</p>
<blockquote><p>pvcreate /dev/sdb1</p></blockquote>
<p>This will create a physical volume for the LVM.</p>
<p>And after creating the physical volume we attach it to our existing Volume Group.</p>
<blockquote><p>vgextend VolGroup00 /dev/sdb1</p></blockquote>
<p>Then we extend the Logical Volume which is mounted to (/) by 20GB, make sure you change the number to the attached disk storage.</p>
<blockquote><p>lvextend -L +20G /dev/VolGroup00/LogVol00</p></blockquote>
<p>Then we resize the filesystem, since we are running default installs, it runs ext3, so extending it online using the command below:</p>
<blockquote><p>resize2fs /dev/VolGroup00/LogVol00</p></blockquote>
<p>Verify the new storage size using:</p>
<blockquote><p>df -h</p></blockquote>
<p>It must show the extra 20GB or whatever disk size you added.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.almahdi.cc%2Flinux%2Fextend-lvm-partition-online%2F&amp;title=Extend%20LVM%20Partition%20online" id="wpa2a_8"><img src="http://www.almahdi.cc/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.almahdi.cc/linux/extend-lvm-partition-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Prayers for Mohammed Albanna</title>
		<link>http://www.almahdi.cc/uncategorized/prayers-for-mohammed-albanna/</link>
		<comments>http://www.almahdi.cc/uncategorized/prayers-for-mohammed-albanna/#comments</comments>
		<pubDate>Fri, 30 Dec 2011 18:43:18 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.almahdi.cc/?p=531</guid>
		<description><![CDATA[Few days ago, Mohammed Albanna had a bike accident. Today, I went to see him, hearing that he have become better. I heard good news from his mom saying that all surgical operations were done, no more required, and he is recovering.  I went inside to see him in the ICU, and when I saw [...]]]></description>
			<content:encoded><![CDATA[<p>Few days ago, Mohammed Albanna had a bike accident. Today, I went to see him, hearing that he have become better. I heard good news from his mom saying that all surgical operations were done, no more required, and he is recovering.  I went inside to see him in the ICU, and when I saw him, I had this indescribable feeling. I can&#8217;t see my friend hurt. Old memories flashed before my eyes.</p>
<p>We hold a very old friendship, goes back to 1994. Though, our families are related, we first met in Bahrain Science Center.</p>
<p>We studied there, had fun, and enjoyed time. Yes, I still remember those memories last they were yesterday. I remember when we were learning Visual Basic, and you designed the Game Interface for me using Bordered Frames. We were kids back then! I still remember when we used to sit in the Computer room formatting Ali&#8217;s Computer.. I wish you Remember?! It was Compaq, looked like Apple Machines back then.</p>
<p>And years later we got busy with our lives, and then we meet again in Bahrain World Trade Center. I still remember our chats, I still remember when you said that you wanted to get a BMW 335 Coupe. I still remember when you bought one.</p>
<p>Now I miss seeing your car in the car park, I miss seeing you in the elevator in the morning. You go to floor 14 and I go to 15.</p>
<p>I pray for you my friend, and hope that when you get better, you read this blog post and remember our child hood.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.almahdi.cc%2Funcategorized%2Fprayers-for-mohammed-albanna%2F&amp;title=Prayers%20for%20Mohammed%20Albanna" id="wpa2a_10"><img src="http://www.almahdi.cc/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.almahdi.cc/uncategorized/prayers-for-mohammed-albanna/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Friendship and Love</title>
		<link>http://www.almahdi.cc/philosophy/friendship-and-love/</link>
		<comments>http://www.almahdi.cc/philosophy/friendship-and-love/#comments</comments>
		<pubDate>Fri, 09 Dec 2011 16:48:31 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Philosophy]]></category>

		<guid isPermaLink="false">http://www.almahdi.cc/?p=522</guid>
		<description><![CDATA[Could friendship and Love coexist? This question that I have heard many many times. Today, I decided to write about this topic. Sometime ago, I have written a post to define What is Love?. It may not be the full clear picture, but it should serve the purpose for this post. Before I start into [...]]]></description>
			<content:encoded><![CDATA[<p>Could friendship and Love coexist? This question that I have heard many many times. Today, I decided to write about this topic. Sometime ago, I have written a post to define <a title="What is Love?" href="http://www.almahdi.cc/uncategorized/what-is-love/" target="_blank">What is Love?</a>. It may not be the full clear picture, but it should serve the purpose for this post.</p>
<p>Before I start into details about the correlation between Friendship and Love. I shall define what is Friendship?</p>
<p>Friendship is the state of being friends. Its an interpersonal relationship between people. Makes those people so close. People cannot be friends without love anyway! Love is what makes us!</p>
<p>There is a list of values that required as keys to success friendship.</p>
<ol>
<li>Love &#8211; I will talk about this later in types of love.</li>
<li>Trust &#8211; Without trust, what is the relationship?</li>
<li>Honesty &#8211; Its a key for trust.</li>
<li>Mutual understanding &#8211; It is a key for success, however, conflicts could occur, but the  above keys allows to clean the air and things get back to normal.</li>
<li>Respect &#8211; Its the key for mutual understanding.</li>
<li>Desire the best for the others</li>
<li>Enjoyment.</li>
</ol>
<p>A friendship is not a friendship without the above key values.</p>
<p>Friendship is in levels/grades. Some friends, are best friends.</p>
<h2>Could Friendship and Love coexist in a relationship? / Could friends love each other?</h2>
<p>In one word, yes!</p>
<p>Now, as I said earlier, love is a key to a successful relationship. As I said in my Love definition. Part of love is wanting to spend the rest of the life with this person. In this case, your friend. But this love is non-romantic. Unlike Marriage Love which is romantic, and it may involve sexual relationship.</p>
<p>As for me, I select my friends carefully. I love them so much, no one could imagine my love to them. Though, sometimes we get busy in life, however, our relationship stays intact. I have many differences with my friends, conflicts. Thanks to Love, we never loose each other.</p>
<p>On a side note: If you have someone if your life, who have those key values listed above, be friends.</p>
<p>Good friends are like Stars, you don&#8217;t always see them, but you know they are always there. And I would rather walk with a friend in the dark, than alone in the light.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.almahdi.cc%2Fphilosophy%2Ffriendship-and-love%2F&amp;title=Friendship%20and%20Love" id="wpa2a_12"><img src="http://www.almahdi.cc/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.almahdi.cc/philosophy/friendship-and-love/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>PHP Obfuscators and Encoders</title>
		<link>http://www.almahdi.cc/programming/php-obfuscators-and-encoders/</link>
		<comments>http://www.almahdi.cc/programming/php-obfuscators-and-encoders/#comments</comments>
		<pubDate>Tue, 25 Oct 2011 18:46:08 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ali]]></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[Almahdi]]></category>
		<category><![CDATA[almahdi twitter]]></category>
		<category><![CDATA[ioncube]]></category>
		<category><![CDATA[kohana kohanaphp php codeigniter template-parser]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[PHP Encoder]]></category>
		<category><![CDATA[php obfuscator]]></category>
		<category><![CDATA[php source code]]></category>
		<category><![CDATA[phpcipher]]></category>
		<category><![CDATA[protect source code]]></category>
		<category><![CDATA[ZenCrypt]]></category>
		<category><![CDATA[zend optimizer]]></category>
		<category><![CDATA[zendguard]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=510</guid>
		<description><![CDATA[A common problem with Interpreted Languages (eg. PHP, Javascript, Java, Python) is that its really hard to protect the source code. Today, I will talk about PHP Obfuscators and Encoders. Two types of protection can be found for PHP, first type which is the easiest, Obfuscation. Making the code not human readable. An example of [...]]]></description>
			<content:encoded><![CDATA[<p>A common problem with Interpreted Languages (eg. PHP, Javascript, Java, Python) is that its really hard to protect the source code. Today, I will talk about PHP Obfuscators and Encoders.<br />
Two types of protection can be found for PHP, first type which is the easiest, Obfuscation. Making the code not human readable. An example of such product is <a title="ZenCrypt — PHP Encoder" href="http://almahdi.cc/programming/zencrypt-php-encoder/">ZenCrypt (I wrote a semi-review about it last year)</a>. However, a good developer or a reverse engineer can go about that, and alter the code to change its behavior, like bypass the license verification.</p>
<p>The second type is encoding, the encoder encodes the PHP script to some encrypted text (I don&#8217;t want to go into details here, but that&#8217;s the general idea). Those encoded scripts requires a loader, this loader decodes the script and runs it via the PHP Interpreter. Those loaders are simply PHP extensions. Example of those are ZendGuard and IonCube.</p>
<p>It is not hard to write a PHP extension, but it wont be adapted easily with most online hosts. Maybe Enterprise! But again, maintaining cross platforms is not an easy task.</p>
<p>Since IonCube and ZendGuard are widely supported with most hosts some came up with the idea of creating a hybrid obfuscator. The idea is to encrypt the code and have a php script to decrypt. But the decrypting script is encoded using ZendGuard or Ioncube. An example of such is phpCipher.</p>
<p>Last year in my post I wrote that I will be writing an encoder, I have been very busy since then. But last week I had the chance to start writing my encoder. I have most of the logic done. Once I am done writing my loader script, I will start writing the desktop app to encode the scripts. I am planing to release it on Mac App Store and online on my website for a small amount of money.</p>
<p>On a side note, I may offer my source for sale.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.almahdi.cc%2Fprogramming%2Fphp-obfuscators-and-encoders%2F&amp;title=PHP%20Obfuscators%20and%20Encoders" id="wpa2a_14"><img src="http://www.almahdi.cc/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.almahdi.cc/programming/php-obfuscators-and-encoders/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>MBA Class &#8211; Leadership vs Management</title>
		<link>http://www.almahdi.cc/uncategorized/mba-class-leadership-vs-management/</link>
		<comments>http://www.almahdi.cc/uncategorized/mba-class-leadership-vs-management/#comments</comments>
		<pubDate>Sun, 11 Sep 2011 19:06:58 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=504</guid>
		<description><![CDATA[In my MBA class, we are taking a course about leadership. I always thought that leaders are born with this talent. I still do, however, the professor and the article says otherwise, leadership can be taught to people. I can&#8217;t really figure this out, leadership is about coping with changes, motivating people and being able [...]]]></description>
			<content:encoded><![CDATA[<p>In my MBA class, we are taking a course about leadership. I always thought that leaders are born with this talent. I still do, however, the professor and the article says otherwise, leadership can be taught to people. I can&#8217;t really figure this out, leadership is about coping with changes, motivating people and being able to guide and go over obstacles. Even if I agree that it can be taught from experience, yet, talent is different. Management can be taught, its about planing and it comes with experience.</p>
<p>The outcome of todays class is:</p>
<ul>
<li>There are some characteristics that identify a leader.</li>
<li>Leadership can be taught, yet, I believe its a talent.</li>
<li>Leadership is not management, leadership is inspiration and motivation, people follow leaders.</li>
<li>Leaders have their ups and downs, there is a gray area, and it depends on how you see it.</li>
</ul>
<div>It was a great discussion.</div>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.almahdi.cc%2Funcategorized%2Fmba-class-leadership-vs-management%2F&amp;title=MBA%20Class%20%26%238211%3B%20Leadership%20vs%20Management" id="wpa2a_16"><img src="http://www.almahdi.cc/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.almahdi.cc/uncategorized/mba-class-leadership-vs-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What is beauty?</title>
		<link>http://www.almahdi.cc/uncategorized/what-is-beauty/</link>
		<comments>http://www.almahdi.cc/uncategorized/what-is-beauty/#comments</comments>
		<pubDate>Sun, 17 Jul 2011 15:20:00 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Ali]]></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[beauty]]></category>
		<category><![CDATA[like]]></category>
		<category><![CDATA[love]]></category>
		<category><![CDATA[love definition]]></category>
		<category><![CDATA[what is beauty]]></category>
		<category><![CDATA[what is love]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=488</guid>
		<description><![CDATA[This question popped up to my mind and it is inspired by the previous post (What is Love?). Beauty is an interpretation of some kind of love or let me say liking. When we see something we like, we say its beautiful. Defining the word “like” will take another post, so I will stick with [...]]]></description>
			<content:encoded><![CDATA[<p>This question popped up to my mind and it is inspired by the previous post (<a title="What is love?" href="http://almahdi.cc/uncategorized/what-is-love/" target="_blank">What is Love?</a>).</p>
<p>Beauty is an interpretation of some kind of love or let me say liking. When we see something we like, we say its beautiful. Defining the word “like” will take another post, so I will stick with the word “beauty”.</p>
<p>When we see a person who is beautiful, it means that we either love this person, so we like everything about this person, then he/she becomes the most beautiful person in the world. Or we like something about this him/her, so it could be the shape of his/her face, the color of the eyes, or his/her hair cut/style. People sometimes look beautiful for the way they dress and depending on your mood.</p>
<p>If you notice, sometimes you see a beautiful person, and another day, they are just like the rest, the beauty is just gone. It could be that she/he was wearing something you like.</p>
<p>This word has a very complex meaning, I tried to express it in my own simple words.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.almahdi.cc%2Funcategorized%2Fwhat-is-beauty%2F&amp;title=What%20is%20beauty%3F" id="wpa2a_18"><img src="http://www.almahdi.cc/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.almahdi.cc/uncategorized/what-is-beauty/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Disclaimer</title>
		<link>http://www.almahdi.cc/internet/disclaimer/</link>
		<comments>http://www.almahdi.cc/internet/disclaimer/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 18:59:40 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Ali]]></category>
		<category><![CDATA[Almahdi]]></category>
		<category><![CDATA[blog]]></category>
		<category><![CDATA[Disclaimer]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=493</guid>
		<description><![CDATA[Every blog needs this. I should have done it earlier, but I guess I never knew what other write. But now, I created a page that contains my blog disclaimer. This disclaimer applies to my blog and twitter, considering twitter as a microblogging tool. This link for my disclaimer: http://almahdi.cc/disclaimer/]]></description>
			<content:encoded><![CDATA[<p>Every blog needs this. I should have done it earlier, but I guess I never knew what other write. But now, I created a page that contains my blog disclaimer. This disclaimer applies to my blog and twitter, considering twitter as a microblogging tool.</p>
<p>This link for my disclaimer: <a href="http://almahdi.cc/disclaimer/">http://almahdi.cc/disclaimer/</a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.almahdi.cc%2Finternet%2Fdisclaimer%2F&amp;title=Disclaimer" id="wpa2a_20"><img src="http://www.almahdi.cc/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.almahdi.cc/internet/disclaimer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>What is love?</title>
		<link>http://www.almahdi.cc/uncategorized/what-is-love/</link>
		<comments>http://www.almahdi.cc/uncategorized/what-is-love/#comments</comments>
		<pubDate>Mon, 07 Feb 2011 12:55:01 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Ali]]></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[Almahdi]]></category>
		<category><![CDATA[almahdi twitter]]></category>
		<category><![CDATA[hnasr]]></category>
		<category><![CDATA[love]]></category>
		<category><![CDATA[love definition]]></category>
		<category><![CDATA[sex]]></category>
		<category><![CDATA[tweets]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[what is love]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=480</guid>
		<description><![CDATA[What is love? It is a question that have been asked by Hussain Nasser (@hnasr). So, here is my answer. Keeping in mind that everything I write here is my own opinion, some people may agree and some don&#8217;t.. So please don&#8217;t flood me with comments saying that I wrote the wrong thing or I have [...]]]></description>
			<content:encoded><![CDATA[<p>What is love? It is a question that have been asked by Hussain Nasser (<a href="http://twitter.com/#!/hnasr" target="_blank">@hnasr</a>). So, here is my answer. Keeping in mind that everything I write here is my own opinion, some people may agree and some don&#8217;t.. So please don&#8217;t flood me with comments saying that I wrote the wrong thing or I have a weirdo opinion.</p>
<p>Love can be applied to everything, you can love a person, or a computer or even a pet. But I will define love based on loving people.</p>
<p>When I chat with my friends, we joke and we say that love is a band-pass-filter. What it means is that when we love, we only see what we like. Love is like glasses with filters, that makes us not only see what we like, it may even makes us like things we didn&#8217;t like.</p>
<p>Love is the butterfly effect when you see the person you love. Love is when you feel alone without this person around you, even though everyone else is around.</p>
<p>In love, beauty doesn&#8217;t count. It doesn&#8217;t matter if the person you love is beautiful/handsome or not, because love makes everything beautiful.</p>
<p>Love is when you want to spend the rest of your life with this person with no regrets! Love is happiness. Love is the most beautiful thing in this life. Love is what makes us. We can&#8217;t live without love&#8230;</p>
<p>Sometimes people mix love with sex, this is not true! Sex has nothing to do with love. Sex is a physical thing while love is a feeling. Attraction is not love. Liking an attitude is not love.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.almahdi.cc%2Funcategorized%2Fwhat-is-love%2F&amp;title=What%20is%20love%3F" id="wpa2a_22"><img src="http://www.almahdi.cc/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.almahdi.cc/uncategorized/what-is-love/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Viva Bahrain 3G network and Phone battery life!</title>
		<link>http://www.almahdi.cc/phones/viva-bahrain-3g-network-and-phone-battery-life/</link>
		<comments>http://www.almahdi.cc/phones/viva-bahrain-3g-network-and-phone-battery-life/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 20:20:49 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Phones]]></category>
		<category><![CDATA[Ali]]></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[Almahdi]]></category>
		<category><![CDATA[almahdi twitter]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[bahrain]]></category>
		<category><![CDATA[Batelco]]></category>
		<category><![CDATA[Blackberry]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[viva]]></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[zain]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=472</guid>
		<description><![CDATA[If you haven&#8217;t noticed, using Viva 3G network consumes more battery than any other network in bahrain, zain and batelco to be specific. To make the story short, Viva 3G network is actually setup on HSPA+ which consumes more power than 3G. Brief Technical Information: Quoted from Wikipedia: High-Speed Downlink Packet Access (HSDPA) is an enhanced 3G [...]]]></description>
			<content:encoded><![CDATA[<p>If you haven&#8217;t noticed, using Viva 3G network consumes more battery than any other network in bahrain, zain and batelco to be specific. To make the story short, Viva 3G network is actually setup on HSPA+ which consumes more power than 3G.</p>
<p>Brief Technical Information: Quoted from Wikipedia:</p>
<blockquote><p><strong>High-Speed Downlink Packet Access (HSDPA)</strong> is an enhanced 3G (third generation) mobile telephony communications protocol in the High-Speed Packet Access (HSPA) family, also dubbed 3.5G, 3G+ or turbo 3G, which allows networks based on Universal Mobile Telecommunications System (UMTS) to have higher data transfer speeds and capacity.</p></blockquote>
<p>zain and Batelco provide HSPA+, however, the phone has to switch to it when it requires high speed access, but on Viva, HSPA is the default.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.almahdi.cc%2Fphones%2Fviva-bahrain-3g-network-and-phone-battery-life%2F&amp;title=Viva%20Bahrain%203G%20network%20and%20Phone%20battery%20life%21" id="wpa2a_24"><img src="http://www.almahdi.cc/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.almahdi.cc/phones/viva-bahrain-3g-network-and-phone-battery-life/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>I bought myself a Dell Streak</title>
		<link>http://www.almahdi.cc/internet/i-bought-myself-a-dell-streak/</link>
		<comments>http://www.almahdi.cc/internet/i-bought-myself-a-dell-streak/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 22:32:59 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Phones]]></category>
		<category><![CDATA[Ali]]></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[Almahdi]]></category>
		<category><![CDATA[almahdi twitter]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[dell streak]]></category>
		<category><![CDATA[eclair]]></category>
		<category><![CDATA[foryo]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[streak]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=465</guid>
		<description><![CDATA[Few days ago, I sold my iPad.. For few reasons.. 1st, I couldn&#8217;t find a proper use for it. I used it for browsing, but its size was too big for me. I thought of purchasing the Galaxy Tab, since its 7-inch&#8230; I went and I grabbed one and I tested holding it and walking [...]]]></description>
			<content:encoded><![CDATA[<p>Few days ago, I sold my iPad.. For few reasons.. 1st, I couldn&#8217;t find a proper use for it. I used it for browsing, but its size was too big for me. I thought of purchasing the Galaxy Tab, since its 7-inch&#8230; I went and I grabbed one and I tested holding it and walking with it. Didn&#8217;t wasn&#8217;t good either. The Dell Streak is the perfect size, yet, good screen. I immediately fell in love with the Streak. So, I bought one.</p>
<p><a href="http://almahdi.cc/wp-content/uploads/2011/01/dell-streak.jpg"><img class="alignnone size-medium wp-image-473" title="dell-streak" src="http://almahdi.cc/wp-content/uploads/2011/01/dell-streak-300x248.jpg" alt="" width="300" height="248" /></a></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.almahdi.cc%2Finternet%2Fi-bought-myself-a-dell-streak%2F&amp;title=I%20bought%20myself%20a%20Dell%20Streak" id="wpa2a_26"><img src="http://www.almahdi.cc/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.almahdi.cc/internet/i-bought-myself-a-dell-streak/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Why I don&#8217;t jailbreak my iOS device?</title>
		<link>http://www.almahdi.cc/apple/why-i-dont-jailbreak-my-ios-device/</link>
		<comments>http://www.almahdi.cc/apple/why-i-dont-jailbreak-my-ios-device/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 16:01:59 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Ali]]></category>
		<category><![CDATA[Almahdi]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[jailbreak]]></category>
		<category><![CDATA[Jailbreaking]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://almahdi.cc/apple/why-i-dont-jailbreak-my-ios-device/</guid>
		<description><![CDATA[I just had a conversation with my friends. Why I don&#8217;t jailbreak my iOS devices. A basic overview: Jailbreaking the device basicly means getting root access to the device. It&#8217;s a Unix term to get administrative access to the device. Allowing you to install apps and customize the system. What is a patched app? Patched [...]]]></description>
			<content:encoded><![CDATA[<p>I just had a conversation with my friends. Why I don&#8217;t jailbreak my iOS devices.</p>
<p><strong><u>A basic overview</u></strong>:<br />
Jailbreaking the device basicly means getting root access to the device. It&#8217;s a Unix term to get administrative access to the device. Allowing you to install apps and customize the system. </p>
<p><strong><u>What is a patched app</u></strong><strong><u>? </u></strong><br />
Patched app is like saying infected with a virus. </p>
<p><u><strong>What is my argument?</strong></u><br />
Apps can be patched and they have root access to your device. This means they can collect data and information about you with you knowing it. </p>
<p>You can say trust the community and stuff like that. But that&#8217;s what I say.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.almahdi.cc%2Fapple%2Fwhy-i-dont-jailbreak-my-ios-device%2F&amp;title=Why%20I%20don%26%238217%3Bt%20jailbreak%20my%20iOS%20device%3F" id="wpa2a_28"><img src="http://www.almahdi.cc/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.almahdi.cc/apple/why-i-dont-jailbreak-my-ios-device/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Loading fixed width lines in MySQL</title>
		<link>http://www.almahdi.cc/mysql/loading-fixed-width-lines-in-mysql/</link>
		<comments>http://www.almahdi.cc/mysql/loading-fixed-width-lines-in-mysql/#comments</comments>
		<pubDate>Tue, 11 Jan 2011 09:28:37 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Ali]]></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[Almahdi]]></category>
		<category><![CDATA[linux replace text]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=460</guid>
		<description><![CDATA[Today I required to load a file into a database, the file requires some parsing to be loaded. Normal developer would load the file using a programming language, do the parsing and insert into the table. However, for me, I thought I would do it using MySQL DATA LOAD, it is faster and yet, no [...]]]></description>
			<content:encoded><![CDATA[<p>Today I required to load a file into a database, the file requires some parsing to be loaded. Normal developer would load the file using a programming language, do the parsing and insert into the table. However, for me, I thought I would do it using MySQL DATA LOAD, it is faster and yet, no programming language required to load the files.</p>
<p>I am posting a sample code on how to parse files line by line using MySQL.</p>
<blockquote>
<div id="_mcePaste">LOAD DATA LOCAL INFILE &#8216;path/to/my/file&#8217; into table [table-name]</div>
<div id="_mcePaste">(@line)</div>
<div id="_mcePaste">set field1 = SUBSTR(@line,1,10),</div>
<div id="_mcePaste">field2 = SUBSTR(@line, 11,12),</div>
<div id="_mcePaste">field3 = SUBSTR(@line, 48,19)</div>
</blockquote>
<p>Now, what I did, is I just parsed text, since the file was not delimited but it had fixed width.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.almahdi.cc%2Fmysql%2Floading-fixed-width-lines-in-mysql%2F&amp;title=Loading%20fixed%20width%20lines%20in%20MySQL" id="wpa2a_30"><img src="http://www.almahdi.cc/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.almahdi.cc/mysql/loading-fixed-width-lines-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mac OSX Defrag</title>
		<link>http://www.almahdi.cc/apple/mac-osx-defrag/</link>
		<comments>http://www.almahdi.cc/apple/mac-osx-defrag/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 22:08:55 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Ali]]></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[Almahdi]]></category>
		<category><![CDATA[almahdi twitter]]></category>
		<category><![CDATA[defrag]]></category>
		<category><![CDATA[filesystem]]></category>
		<category><![CDATA[hfs]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mac osx]]></category>
		<category><![CDATA[osx]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=455</guid>
		<description><![CDATA[On my daily life, I deal with VM Images and File processing.. Large files.. This causes my MacBook to slow down due to Fragmentation&#8230; My solution was always to backup to an external drive and restore back, and it solves the fragmentation problem and the MacBook Performs better. However, this takes really long time. Especially [...]]]></description>
			<content:encoded><![CDATA[<p>On my daily life, I deal with VM Images and File processing.. Large files.. This causes my MacBook to slow down due to Fragmentation&#8230; My solution was always to backup to an external drive and restore back, and it solves the fragmentation problem and the MacBook Performs better. However, this takes really long time. Especially with large disks. Today, I tried <a href="http://www.coriolis-systems.com/iDefrag.php" target="_blank">iDefrag from Coriolis Systems</a>. I purchased the Application using Paypal and gave it a try. It worked like a charm. It took 4 hours to finish, but I can notice the speed of my VMs. And Apps load a bit faster. Good Application to keep the performance of your Mac OSX.</p>
<p>Keeping in mind that your Mac OSX defragments any file less than 20MB automagically, however, large files get fragmented, to defragment, you can move the files to external disk and move them back. However, this takes time and requires you to have an external disk to backup the files.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.almahdi.cc%2Fapple%2Fmac-osx-defrag%2F&amp;title=Mac%20OSX%20Defrag" id="wpa2a_32"><img src="http://www.almahdi.cc/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.almahdi.cc/apple/mac-osx-defrag/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I got my self an android Phone!</title>
		<link>http://www.almahdi.cc/internet/i-got-my-self-an-android-phone/</link>
		<comments>http://www.almahdi.cc/internet/i-got-my-self-an-android-phone/#comments</comments>
		<pubDate>Mon, 27 Dec 2010 13:18:25 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Phones]]></category>
		<category><![CDATA[Ali]]></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[android]]></category>
		<category><![CDATA[app]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[ios]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[mobile]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=450</guid>
		<description><![CDATA[Hmm, I couldn&#8217;t resist acually&#8230; So, I got my self an Android Phone&#8230; Its an Acer Liquid E Ferrari Special Edition. Its not the best Android Phone&#8230; However, since I love cars, its price is good for me&#8230; and it got everything I want.. Since I started Mobile Development for sometime now, it has been [...]]]></description>
			<content:encoded><![CDATA[<p>Hmm, I couldn&#8217;t resist acually&#8230; So, I got my self an Android Phone&#8230; Its an Acer Liquid E Ferrari Special Edition. Its not the best Android Phone&#8230; However, since I love cars, its price is good for me&#8230; and it got everything I want..</p>
<p><a href="http://almahdi.cc/wp-content/uploads/2010/12/acer_Liquid_E_Ferrari.png"><img class="alignnone size-medium wp-image-456" title="Acer Liquid E Ferrari" src="http://almahdi.cc/wp-content/uploads/2010/12/acer_Liquid_E_Ferrari-300x287.png" alt="" width="300" height="287" /></a></p>
<p>Since I started Mobile Development for sometime now, it has been my excuse for Android development&#8230;  This app is not a new idea, however, its a new implementation. I will release the details as soon as I start testing the app. Its going to be available for Android and iPhone.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.almahdi.cc%2Finternet%2Fi-got-my-self-an-android-phone%2F&amp;title=I%20got%20my%20self%20an%20android%20Phone%21" id="wpa2a_34"><img src="http://www.almahdi.cc/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.almahdi.cc/internet/i-got-my-self-an-android-phone/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Why did I get an iPhone and not any other android phone?</title>
		<link>http://www.almahdi.cc/phones/why-did-i-get-an-iphone-and-not-any-other-android-phone/</link>
		<comments>http://www.almahdi.cc/phones/why-did-i-get-an-iphone-and-not-any-other-android-phone/#comments</comments>
		<pubDate>Mon, 08 Nov 2010 17:07:36 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Phones]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[freebsd]]></category>
		<category><![CDATA[galaxy]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[iphone 4]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=445</guid>
		<description><![CDATA[I am being asked this question a lot lately. Well, I cannot compare the iPhone to other android phones because android is an OS.. It would only be fair to compare iOS to Android&#8230; I honestly can&#8217;t say which is better. I used both, I did a research&#8230; Probably it will be my secondary phone. [...]]]></description>
			<content:encoded><![CDATA[<p>I am being asked this question a lot lately. Well, I cannot compare the iPhone to other android phones because android is an OS.. It would only be fair to compare iOS to Android&#8230; I honestly can&#8217;t say which is better. I used both, I did a research&#8230; Probably it will be my secondary phone. Android is a wonderful OS. I really like it.. It has plenty of features&#8230; On the other side, iOS was the reason behind all those Operating Systems to come out and yet, I see it as the best&#8230;</p>
<p>Honestly, the only reason that made me buy iPhone 4 is the Apple Logo, and Apple products are the most beautiful products&#8230; I am an Apple geek, and I love the life style Apple gives me <img src='http://www.almahdi.cc/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Don&#8217;t get me wrong, Linux and FreeBSD are still in my blood. I am still using Linux on my Desktop and FreeBSD on some of my servers.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.almahdi.cc%2Fphones%2Fwhy-did-i-get-an-iphone-and-not-any-other-android-phone%2F&amp;title=Why%20did%20I%20get%20an%20iPhone%20and%20not%20any%20other%20android%20phone%3F" id="wpa2a_36"><img src="http://www.almahdi.cc/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.almahdi.cc/phones/why-did-i-get-an-iphone-and-not-any-other-android-phone/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Hacked using WP Lost Password?</title>
		<link>http://www.almahdi.cc/internet/hacked-using-wp-lost-password/</link>
		<comments>http://www.almahdi.cc/internet/hacked-using-wp-lost-password/#comments</comments>
		<pubDate>Sun, 24 Oct 2010 10:42:04 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Internet]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=442</guid>
		<description><![CDATA[A Saudi guy was trying to hack my website&#8230; Of-course, due to my knowledge of security, his attempts were not successful. But he reminded me of the method, thus I am posting it to help other WordPress users to secure their blogs. Simply he tries to reset the password using wordpress lostpassword function.. I will [...]]]></description>
			<content:encoded><![CDATA[<p>A Saudi guy was trying to hack my website&#8230; Of-course, due to my knowledge of security, his attempts were not successful. But he reminded me of the method, thus I am posting it to help other WordPress users to secure their blogs.</p>
<p>Simply he tries to reset the password using wordpress lostpassword function.. I will not post the details of the method, so people don&#8217;t try it on other blogs..</p>
<p>However, if you maintain a wordpress blog, you can disable the function using a simple plugin:</p>
<blockquote>
<div id="_mcePaste">&lt;?php</div>
<div id="_mcePaste">/*</div>
<div id="_mcePaste">Plugin Name: Disable Lost Password Feature</div>
<div id="_mcePaste">Plugin URI: http://www.almahdi.cc</div>
<div id="_mcePaste">Description: This is a plugin to disable Lost password feature in wordpress. I have found this plugin online and I can&#8217;t recall the source or the author.</div>
<div id="_mcePaste">Author: Unknown, Posted by Ali Almahdi</div>
<div id="_mcePaste">Version: 0.1</div>
<div id="_mcePaste">Author URI: http://almahdi.cc</div>
<div id="_mcePaste">*/</div>
<div id="_mcePaste">function disable_password_reset() { return false; }</div>
<div id="_mcePaste">add_filter ( &#8216;allow_password_reset&#8217;, &#8216;disable_password_reset&#8217; );</div>
<div id="_mcePaste">function remove_password_reset_text ( $text ) { if ( $text == &#8216;Lost your password?&#8217; ) { $text = &#8221;; } return $text;  }</div>
<div id="_mcePaste">function remove_password_reset() { add_filter( &#8216;gettext&#8217;, &#8216;remove_password_reset_text&#8217; ); }</div>
<div id="_mcePaste">add_action ( &#8216;login_head&#8217;, &#8216;remove_password_reset&#8217; );</div>
<div id="_mcePaste">function remove_password_reset_text_in ( $text ) { return str_replace( &#8216;Lost your password&lt;/a&gt;?&#8217;, &#8216;&lt;/a&gt;&#8217;, $text ); }</div>
<div id="_mcePaste">add_filter ( &#8216;login_errors&#8217;, &#8216;remove_password_reset_text_in&#8217;);</div>
<p>?&gt;</p></blockquote>
<p>Upload to plugins directory and enable in the plugins&#8230; This will protect you from lost-password attacks.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.almahdi.cc%2Finternet%2Fhacked-using-wp-lost-password%2F&amp;title=Hacked%20using%20WP%20Lost%20Password%3F" id="wpa2a_38"><img src="http://www.almahdi.cc/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.almahdi.cc/internet/hacked-using-wp-lost-password/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Switched the Internet from Menatelecom to VIVA</title>
		<link>http://www.almahdi.cc/internet/switched-the-internet-from-menatelecom-to-viva/</link>
		<comments>http://www.almahdi.cc/internet/switched-the-internet-from-menatelecom-to-viva/#comments</comments>
		<pubDate>Sun, 15 Aug 2010 22:31:03 +0000</pubDate>
		<dc:creator>Ali</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Batelco]]></category>
		<category><![CDATA[Mena]]></category>
		<category><![CDATA[Menatelecom]]></category>
		<category><![CDATA[viva]]></category>
		<category><![CDATA[VIVA Internet]]></category>

		<guid isPermaLink="false">http://almahdi.cc/?p=439</guid>
		<description><![CDATA[I have been using Menatelecom for over a year now, it was good, however, I never had success with VOIP with them&#8230; I didn&#8217;t want to go back to Batelco, it used to disconnect all time, due to the SWITCH being too far and having a very bad ADSL service. I tested VIVA for few [...]]]></description>
			<content:encoded><![CDATA[<p>I have been using Menatelecom for over a year now, it was good, however, I never had success with VOIP with them&#8230; I didn&#8217;t want to go back to Batelco, it used to disconnect all time, due to the SWITCH being too far and having a very bad ADSL service. I tested VIVA for few months now.. It is simply great!! Even VOIP is perfect! So today, I made the switch, and I am totally connected to the internet via VIVA.. I get about 3Mbits in my house due to low coverage.. Browsing speed is awesome! I connected it via a 3G router, and now my whole house is connected via VIVA. Everybody is happy now! Tomorrow I will pass by Menatelecom and disconnect the line.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.almahdi.cc%2Finternet%2Fswitched-the-internet-from-menatelecom-to-viva%2F&amp;title=Switched%20the%20Internet%20from%20Menatelecom%20to%20VIVA" id="wpa2a_40"><img src="http://www.almahdi.cc/wp-content/plugins/add-to-any/share_save_120_16.png" width="120" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.almahdi.cc/internet/switched-the-internet-from-menatelecom-to-viva/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
	</channel>
</rss>

