<?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>Shami's Blog &#187; Mohammad Al-Shami</title>
	<atom:link href="http://blog.al-shami.net/index.php/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.al-shami.net</link>
	<description>A Mushroom A Day Keeps The Koopas Away</description>
	<lastBuildDate>Thu, 13 May 2010 06:15:17 +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>The best use of an iPad</title>
		<link>http://blog.al-shami.net/index.php/the-best-use-of-an-ipad/</link>
		<comments>http://blog.al-shami.net/index.php/the-best-use-of-an-ipad/#comments</comments>
		<pubDate>Thu, 13 May 2010 06:15:17 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Funny]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=252</guid>
		<description><![CDATA[Best use of an iPad, ever. Well, other than blending it, maybe  

]]></description>
			<content:encoded><![CDATA[<p>Best use of an iPad, ever. Well, other than blending it, maybe <img src='http://blog.al-shami.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p><center><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/8Q03RKacDjU&#038;hl=en_US&#038;fs=1&#038;"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/8Q03RKacDjU&#038;hl=en_US&#038;fs=1&#038;" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="385"></embed></object></center></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/index.php/the-best-use-of-an-ipad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Resident Evil Afterlife LITERAL trailer</title>
		<link>http://blog.al-shami.net/index.php/resident-evil-afterlife-literal-trailer/</link>
		<comments>http://blog.al-shami.net/index.php/resident-evil-afterlife-literal-trailer/#comments</comments>
		<pubDate>Tue, 11 May 2010 05:42:44 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Funny]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=248</guid>
		<description><![CDATA[Found this today on the web and loved it  

]]></description>
			<content:encoded><![CDATA[<p>Found this today on the web and loved it <img src='http://blog.al-shami.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><center><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/g1tRU1fsU_Y&#038;color1=0xb1b1b1&#038;color2=0xd0d0d0&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/g1tRU1fsU_Y&#038;color1=0xb1b1b1&#038;color2=0xd0d0d0&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="385"></embed></object></center></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/index.php/resident-evil-afterlife-literal-trailer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is social media a fad?</title>
		<link>http://blog.al-shami.net/index.php/is-social-media-a-fad/</link>
		<comments>http://blog.al-shami.net/index.php/is-social-media-a-fad/#comments</comments>
		<pubDate>Mon, 10 May 2010 05:27:43 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=245</guid>
		<description><![CDATA[Interesting video, enjoy

]]></description>
			<content:encoded><![CDATA[<p>Interesting video, enjoy</p>
<p><center><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/lFZ0z5Fm-Ng&#038;color1=0xb1b1b1&#038;color2=0xd0d0d0&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/lFZ0z5Fm-Ng&#038;color1=0xb1b1b1&#038;color2=0xd0d0d0&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="385"></embed></object></center></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/index.php/is-social-media-a-fad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Now this is what I call a good commercial</title>
		<link>http://blog.al-shami.net/index.php/now-this-is-what-i-call-a-good-commercial/</link>
		<comments>http://blog.al-shami.net/index.php/now-this-is-what-i-call-a-good-commercial/#comments</comments>
		<pubDate>Thu, 06 May 2010 05:13:08 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=242</guid>
		<description><![CDATA[Check out this commercial for Google Chrome, plain awesome

]]></description>
			<content:encoded><![CDATA[<p>Check out this commercial for Google Chrome, plain awesome</p>
<p><object width="640" height="385"><param name="movie" value="http://www.youtube.com/v/nCgQDjiotG0&#038;color1=0xb1b1b1&#038;color2=0xd0d0d0&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowScriptAccess" value="always"></param><embed src="http://www.youtube.com/v/nCgQDjiotG0&#038;color1=0xb1b1b1&#038;color2=0xd0d0d0&#038;hl=en_US&#038;feature=player_embedded&#038;fs=1" type="application/x-shockwave-flash" allowfullscreen="true" allowScriptAccess="always" width="640" height="385"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/index.php/now-this-is-what-i-call-a-good-commercial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 10.04</title>
		<link>http://blog.al-shami.net/index.php/ubuntu-10-04/</link>
		<comments>http://blog.al-shami.net/index.php/ubuntu-10-04/#comments</comments>
		<pubDate>Sun, 02 May 2010 06:29:50 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[lucid]]></category>
		<category><![CDATA[lucid lynx]]></category>
		<category><![CDATA[lynx]]></category>
		<category><![CDATA[position]]></category>
		<category><![CDATA[right]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[ubuntu lucid]]></category>
		<category><![CDATA[ubuntu lucid lynx]]></category>
		<category><![CDATA[ubuntu lynx]]></category>
		<category><![CDATA[window icons]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=239</guid>
		<description><![CDATA[When Ubuntu 9.10 came out I was very eager to try it, but sadly I was very disappointed. So when I was downloading 10.04 I wasn&#8217;t really expecting anything. I&#8217;m glad I was wrong.
So far it appears the sound and flash issues have been fixed. Empathy seems to have gotten some improvements. Most noticeable are [...]]]></description>
			<content:encoded><![CDATA[<p>When Ubuntu 9.10 came out I was very eager to try it, but sadly I was very disappointed. So when I was downloading 10.04 I wasn&#8217;t really expecting anything. I&#8217;m glad I was wrong.</p>
<p>So far it appears the sound and flash issues have been fixed. Empathy seems to have gotten some improvements. Most noticeable are the fact it now saves the window position of the contact list, and gives you an indication when the person you&#8217;re chatting with on Google Talk is typing something on the keyboard.</p>
<p>If you hate the new window button placement, like I do, here&#8217;s how to fix it:</p>
<ol>
<li>Open gconf-editor</li>
<li>Got to /apps/metacity/general</li>
<li>Change &#8220;button_layout&#8221; to &#8220;menu:minimize,maximize,close&#8221;</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/index.php/ubuntu-10-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delete all Messages from a POP3 Account</title>
		<link>http://blog.al-shami.net/index.php/delete-all-messages-from-a-pop3-account/</link>
		<comments>http://blog.al-shami.net/index.php/delete-all-messages-from-a-pop3-account/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 10:52:54 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Mail]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[all]]></category>
		<category><![CDATA[clear]]></category>
		<category><![CDATA[clear inbox]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[delete all]]></category>
		<category><![CDATA[delete all messages]]></category>
		<category><![CDATA[delete message]]></category>
		<category><![CDATA[empty]]></category>
		<category><![CDATA[empty inbox]]></category>
		<category><![CDATA[inbox]]></category>
		<category><![CDATA[messages]]></category>
		<category><![CDATA[pop]]></category>
		<category><![CDATA[pop3]]></category>
		<category><![CDATA[purge]]></category>
		<category><![CDATA[purge inbox]]></category>
		<category><![CDATA[verio]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=236</guid>
		<description><![CDATA[Here at the office, we host a few domains with Verio. Not my choice, and I&#8217;m not happy with it. We also host some mailboxes for one of those domains with Verio. I got a message from Verio support saying the mailboxes for that domain are occupying around 1GB of space, and that we need [...]]]></description>
			<content:encoded><![CDATA[<p>Here at the office, we host a few domains with <a href="http://www.verio.com/">Verio</a>. Not my choice, and I&#8217;m not happy with it. We also host some mailboxes for one of those domains with Verio. I got a message from Verio support saying the mailboxes for that domain are occupying around 1GB of space, and that we need to delete some of them.</p>
<p>Turns out the mailboxes were neglected for months, and one of those mailboxes got around 55,000 messages.</p>
<p>Simple enough, I said, let&#8217;s log in to web mail, keep recent relevant messages and delete the rest. But the web mail interface kept timing out, and I couldn&#8217;t access any of the accounts. Seems they built their own web mail interface, which tries to load everything in your mailbox. This makes it time out when a mailbox has this huge number of messages.</p>
<p>After contacting Verio&#8217;s support they gave me an IP address to use as an IMAP server, which, surprisingly (well, not really, I expected it) wouldn&#8217;t connect. After a few days of deliberation the department in charge of the accounts decided to delete all messages in all accounts.</p>
<p>At first I configured Evolution to download all messages from POP3, which thankfully worked (Thanks Dovecot), but that took too long, and downloading 50K messages would overload our uplink. A simple solution would be as follows:</p>
<pre><code>
#!/usr/bin/python

import poplib

server = 'server'
user = 'user'
password = 'password'

whenToQuit = 500
loop = 0
totalMessages = 0 

while 1:
        M = poplib.POP3(server)
        M.user(user)
        M.pass_(password)
        numMessages = len(M.list()[1])
        if totalMessages == 0: totalMessages = numMessages
        i = 0
        for i in range(numMessages):
                print 'Deleted %d out of %d messages' % (loop * whenToQuit + i + 1, totalMessages)
                M.dele(i+1)
                if i == whenToQuit - 1:
                        M.quit()
                        loop = loop + 1
                        break

        if i != whenToQuit - 1:
                M.quit()
                break
</code></pre>
<p>Since the actual deletion of messages happens when a client &#8220;quit&#8221;s, I wrote this to do a quit after 500 message, this will enable you to quit the script after some time without having to lose all the progress.</p>
<p>Hope this helps.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/index.php/delete-all-messages-from-a-pop3-account/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blogging from a Mac</title>
		<link>http://blog.al-shami.net/index.php/blogging-from-a-mac/</link>
		<comments>http://blog.al-shami.net/index.php/blogging-from-a-mac/#comments</comments>
		<pubDate>Sat, 17 Apr 2010 18:11:40 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Misc]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=231</guid>
		<description><![CDATA[My dear friend Bander offered me a great deal on his old Macbook Pro. I&#8217;ve been wanting to try out MacOS for ages and thought this would be the perfect chance for it.
After using the laptop for about a day now. I have to admit Leopard has very nice eye candy, but that&#8217;s it I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>My dear friend <a href="http://www.isharethepoint.com/">Bander</a> offered me a great deal on his old Macbook Pro. I&#8217;ve been wanting to try out MacOS for ages and thought this would be the perfect chance for it.</p>
<p>After using the laptop for about a day now. I have to admit Leopard has very nice eye candy, but that&#8217;s it I&#8217;m afraid. It&#8217;s too mouse oriented, and I like to use the keyboard, a LOT. It seems I&#8217;m gonna stick with Linux for the time being, especially with Lucid Lynx being around the corner, but I&#8217;ll give Leopard a few more days and see if it grows on me.</p>
<p>Have a good day everybody</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/index.php/blogging-from-a-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speeding up Firefox under Ubuntu</title>
		<link>http://blog.al-shami.net/index.php/speeding-up-firefox-under-ubuntu/</link>
		<comments>http://blog.al-shami.net/index.php/speeding-up-firefox-under-ubuntu/#comments</comments>
		<pubDate>Sun, 14 Feb 2010 09:16:08 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=220</guid>
		<description><![CDATA[Ever wonder why browsing under Ubuntu is slower than Windows even on the same network? Well, it has to do with Ubuntu enabling IPv6 by default. This means Ubuntu will try IPv4 only after IPv6 times out. Also, Firefox comes built with Pango by default which makes it slower than it should be. I&#8217;ve fixed [...]]]></description>
			<content:encoded><![CDATA[<p>Ever wonder why browsing under Ubuntu is slower than Windows even on the same network? Well, it has to do with Ubuntu enabling IPv6 by default. This means Ubuntu will try IPv4 only after IPv6 times out. Also, Firefox comes built with Pango by default which makes it slower than it should be. I&#8217;ve fixed that on Karmic Koala, other versions should be similar. Here&#8217;s how to do it:</p>
<p>
<h3>Disable IPv6 globally:</h3>
<pre><code>sudo vi /etc/default/grub</code></pre>
<p> then find
<pre><code>GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"</code></pre>
<p> and replace it with
<pre><code>GRUB_CMDLINE_LINUX_DEFAULT=”ipv6.disable=1 quiet splash”</code></pre>
<p> Then update grub from the command line
<pre><code>sudo update-grub</code></pre>
</p>
<h3>Tell Firefox not to load Pango:</h3>
<pre><code>vi ~/.bashrc</code></pre>
<p> and add
<pre><code>MOZ_DISABLE_PANGO=1</code></pre>
<p>at the end</p>
<h3>Tweak Firefox&#8217;s about:config settings:</h3>
<pre><code>network.http.pipelining -> True
- network.http.pipelining.maxrequests -> 8 or 10
- network.http.proxy.pipelining -> True
- network.dns.disableIPv6 -> True</code></pre>
<p>Enjoy</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/index.php/speeding-up-firefox-under-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Only in Jordan</title>
		<link>http://blog.al-shami.net/index.php/only-in-jordan/</link>
		<comments>http://blog.al-shami.net/index.php/only-in-jordan/#comments</comments>
		<pubDate>Sun, 07 Feb 2010 11:08:24 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Funny]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=215</guid>
		<description><![CDATA[Hi guys, I saw this elevator and thought I had to take a picture. The residents put the elevator&#8217;s call button this high so children won&#8217;t play with it.

Enjoy  
]]></description>
			<content:encoded><![CDATA[<p>Hi guys, I saw this elevator and thought I had to take a picture. The residents put the elevator&#8217;s call button this high so children won&#8217;t play with it.</p>
<p><center><img alt="" src="/images/elevator.jpg" title="Elevator" class="alignnone" /></center></p>
<p>Enjoy <img src='http://blog.al-shami.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/index.php/only-in-jordan/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Transferring your arcade games to a new Xbox 360</title>
		<link>http://blog.al-shami.net/index.php/transferring-your-arcade-games-to-a-new-xbox-360/</link>
		<comments>http://blog.al-shami.net/index.php/transferring-your-arcade-games-to-a-new-xbox-360/#comments</comments>
		<pubDate>Fri, 25 Dec 2009 13:39:25 +0000</pubDate>
		<dc:creator>Mohammad Al-Shami</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.al-shami.net/?p=211</guid>
		<description><![CDATA[It&#8217;s really frustrating when your Xbox fails. Let&#8217;s say you were lucky enough to still have your console under warranty, or decide to buy a replacement. But what happens to all those arcade games you&#8217;ve spent a fortune on?
Microsoft&#8217;s licensing scheme for downloadable content is, IMHO, very good. Each game is linked to the gamertag [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s really frustrating when your Xbox fails. Let&#8217;s say you were lucky enough to still have your console under warranty, or decide to buy a replacement. But what happens to all those arcade games you&#8217;ve spent a fortune on?</p>
<p>Microsoft&#8217;s licensing scheme for downloadable content is, IMHO, very good. Each game is linked to the gamertag and the console that first downloaded it. So if you download a game on your home console any account installed on that console can play it, and you can play that game on any console as long as you&#8217;re logged in with your gamertag.</p>
<p>Now lets say you got a new console and you&#8217;re using it with multiple gamertags (Family, friends, &#8230;etc). Your gamertag will play it fine but the other gamertags won&#8217;t. The solution is simple. Just head to <a href="https://live.xbox.com/signup/UIPStartPage.aspx?appid=ConsoleLicenseTransfer">https://live.xbox.com/signup/UIPStartPage.aspx?appid=ConsoleLicenseTransfer</a> and migrate your licenses to the new console. This will enable all gamertags installed on that console to play those games.</p>
<p>Be warned though; The tool migrates ALL your licenses to the new console, so if you bought something for a friend on a different console he/she won&#8217;t be able to play it any more. And you won&#8217;t be able to migrate to a different console for at least a year.</p>
<p>Happy gaming everybody</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.al-shami.net/index.php/transferring-your-arcade-games-to-a-new-xbox-360/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
