<?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>Khalil Majdalawi&#039;s Blog &#187; Khalil Majdalawi</title>
	<atom:link href="http://dev3k.com/blog/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://dev3k.com/blog</link>
	<description>Web development,Technology,Games and more...</description>
	<lastBuildDate>Tue, 08 Jun 2010 10:07:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>How to fix the Ubuntu GPG Error BADSIG</title>
		<link>http://dev3k.com/blog/2010/06/how-to-fix-the-ubuntu-gpg-error-badsig/</link>
		<comments>http://dev3k.com/blog/2010/06/how-to-fix-the-ubuntu-gpg-error-badsig/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 10:07:09 +0000</pubDate>
		<dc:creator>Khalil Majdalawi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://dev3k.com/blog/?p=368</guid>
		<description><![CDATA[If you are seeing Ubuntu GPG Error BADSIG use the one of the following methods to fix Error Message: W: GPG error: http://archive.canonical.com intrepid Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key Try to run the following commands from terminal sudo -i apt-get clean cd /var/lib/apt mv lists lists.old mkdir [...]]]></description>
			<content:encoded><![CDATA[<p>If you are seeing Ubuntu GPG Error BADSIG use the one of the following methods to fix</p>
<p>Error Message:<br />
W: GPG error: http://archive.canonical.com intrepid Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key </p>
<p>Try to run the following commands from terminal</p>
<pre>
<code>sudo -i
apt-get clean
cd /var/lib/apt
mv lists lists.old
mkdir -p lists/partial
apt-get clean
apt-get update</code>
</pre>
<p><a href="http://www.ubuntugeek.com/how-to-fix-the-ubuntu-gpg-error-badsig.html">source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dev3k.com/blog/2010/06/how-to-fix-the-ubuntu-gpg-error-badsig/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dante&#8217;s Inferno</title>
		<link>http://dev3k.com/blog/2010/04/dante-inferno/</link>
		<comments>http://dev3k.com/blog/2010/04/dante-inferno/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 18:22:55 +0000</pubDate>
		<dc:creator>Khalil Majdalawi</dc:creator>
				<category><![CDATA[Electronic Games]]></category>
		<category><![CDATA[games]]></category>

		<guid isPermaLink="false">http://dev3k.com/blog/?p=348</guid>
		<description><![CDATA[Just finished playing this game , check this awesome ending EA refused to sell it in ME , after playing it i think they did right decision , cuz if they did they will face more than such acts but overall this game rocks , i will start playing GOW and will see which is [...]]]></description>
			<content:encoded><![CDATA[<p>Just finished playing this game , check this awesome ending<br />
<br />
<center><object width="480" height="385"><param name="movie" value="http://www.youtube.com/v/9J7_ObHk5bY&#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/9J7_ObHk5bY&#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>
<p>EA refused to sell it in ME , after playing it i think they did right decision , cuz if they did they will face more than such acts<br />
<a href="http://dev3k.com/blog/wp-content/uploads/2010/04/e3protestors.jpg"><img src="http://dev3k.com/blog/wp-content/uploads/2010/04/e3protestors.jpg" alt="" title="e3protestors" width="425" height="319" class="aligncenter size-full wp-image-351" /></a><br />
<br/><br />
<a href="http://dev3k.com/blog/wp-content/uploads/2010/04/3592308839_3677e25007.jpg"><img src="http://dev3k.com/blog/wp-content/uploads/2010/04/3592308839_3677e25007.jpg" alt="" title="3592308839_3677e25007" width="500" height="333" class="aligncenter size-full wp-image-350" /></a></p>
<p>but overall this game rocks , i will start playing GOW and will see which is better ,</p>
<p>Update: thanks to friend and google it appears that the protest above just an EA publicity stunt , well they have balls to do such thing <a href="http://www.joystiq.com/2009/06/05/ea-confirms-dantes-inferno-protest-was-staged/">source</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dev3k.com/blog/2010/04/dante-inferno/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How restore a MySQL .dump file</title>
		<link>http://dev3k.com/blog/2009/12/how-restore-a-mysql-dump-file/</link>
		<comments>http://dev3k.com/blog/2009/12/how-restore-a-mysql-dump-file/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 09:28:18 +0000</pubDate>
		<dc:creator>Khalil Majdalawi</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://dev3k.com/blog/?p=339</guid>
		<description><![CDATA[i always forget how to do it so here it is to remember mysql -u&#60;user&#62; -p&#60;pass&#62; databasename &#60; db_backup.dump]]></description>
			<content:encoded><![CDATA[<p>i always forget how to do it so here it is to remember <img src='http://dev3k.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<pre>
<code>mysql -u&lt;user&gt; -p&lt;pass&gt; databasename &lt; db_backup.dump</code>
</pre>
<p></p>
]]></content:encoded>
			<wfw:commentRss>http://dev3k.com/blog/2009/12/how-restore-a-mysql-dump-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Delete .svn folders recursively using command line</title>
		<link>http://dev3k.com/blog/2009/10/delete-svn-folders-recursively-using-command-line/</link>
		<comments>http://dev3k.com/blog/2009/10/delete-svn-folders-recursively-using-command-line/#comments</comments>
		<pubDate>Mon, 05 Oct 2009 08:42:27 +0000</pubDate>
		<dc:creator>Khalil Majdalawi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[subversion]]></category>

		<guid isPermaLink="false">http://dev3k.com/blog/?p=321</guid>
		<description><![CDATA[some times i work on small projects with friends and we use Subversion to track and store code changes, collaborate, and share project files so once we finish we usually upload it somewhere by copying the whole project folder so i face that subversion makes folder inside each folder in the project called &#8220;.svn&#8221; and [...]]]></description>
			<content:encoded><![CDATA[<p>some times i work on small projects with friends and we use <a href="http://en.wikipedia.org/wiki/Subversion_%28software%29">Subversion</a> to track and store code changes, collaborate, and share project files so once we finish we usually upload it somewhere by copying the whole project folder so i face that subversion makes folder inside each folder in the project called &#8220;.svn&#8221; and that take time to remove manually and unnecessary size to upload<br />
so i run a <a href="http://en.wikipedia.org/wiki/Unix_shell">command</a> inside the project folder to remove that folders recursively before upload.</p>
<p>Run this:</p>
<pre><code>find . -name .svn -exec rm -rf {} \;</code></pre></p>
]]></content:encoded>
			<wfw:commentRss>http://dev3k.com/blog/2009/10/delete-svn-folders-recursively-using-command-line/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to get client MAC address in PHP</title>
		<link>http://dev3k.com/blog/2009/07/mac-address-in-php/</link>
		<comments>http://dev3k.com/blog/2009/07/mac-address-in-php/#comments</comments>
		<pubDate>Sat, 04 Jul 2009 14:30:53 +0000</pubDate>
		<dc:creator>Khalil Majdalawi</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Web Development]]></category>

		<guid isPermaLink="false">http://dev3k.com/blog/?p=308</guid>
		<description><![CDATA[&#60;?php exec('arp '.$_SERVER['REMOTE_ADDR'],$user_mac); echo substr($user_mac[1],strpos($user_mac[1],':')-2, '17'); ?&#62; Note : this technique only works on local area networks with linux based server and its impossible to get mac address in php over internet]]></description>
			<content:encoded><![CDATA[<pre>
<code type="php">&lt;?php
exec('arp '.$_SERVER['REMOTE_ADDR'],$user_mac);
echo substr($user_mac[1],strpos($user_mac[1],':')-2, '17');
?&gt;</code>
</pre>
<p>Note : this technique only works on local area networks with linux based server and its impossible to get mac address in php over internet  </p>
]]></content:encoded>
			<wfw:commentRss>http://dev3k.com/blog/2009/07/mac-address-in-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>windows 98 still alive</title>
		<link>http://dev3k.com/blog/2009/07/windows-98-still-alive/</link>
		<comments>http://dev3k.com/blog/2009/07/windows-98-still-alive/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 06:54:30 +0000</pubDate>
		<dc:creator>Khalil Majdalawi</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[operating systems]]></category>

		<guid isPermaLink="false">http://dev3k.com/blog/?p=309</guid>
		<description><![CDATA[today i was shocked as my daily blog check, i noticed someone or &#8220;something&#8221; is actually still use windows 98 &#038; IE5 WTF ?! this person &#8220;zombie&#8221; should be jailed of illegal use of internet or send him back to hell . i wonder if there any version of firefox for windows 98 he could [...]]]></description>
			<content:encoded><![CDATA[<p>today i was shocked as my daily blog check, i noticed someone or &#8220;something&#8221; is actually still use windows 98 &#038; IE5  WTF ?! this person &#8220;zombie&#8221; should be jailed of illegal use of internet or send him back to hell .<br />
<br/><br />
<center><a href="http://dev3k.com/blog/wp-content/uploads/2009/07/traffic_from_win98.jpg"><img src="http://dev3k.com/blog/wp-content/uploads/2009/07/traffic_from_win98.jpg" alt="traffic_from_win98" title="traffic_from_win98" width="379" height="189" class="aligncenter size-full wp-image-310" /></a></center><br />
<br />
 i wonder if there any version of firefox for windows 98 he could use?!<br /></p>
]]></content:encoded>
			<wfw:commentRss>http://dev3k.com/blog/2009/07/windows-98-still-alive/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Mount and Unmout ISO Files in Ubuntu</title>
		<link>http://dev3k.com/blog/2009/06/mount-and-unmout-iso-files-in-ubuntu/</link>
		<comments>http://dev3k.com/blog/2009/06/mount-and-unmout-iso-files-in-ubuntu/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 18:18:30 +0000</pubDate>
		<dc:creator>Khalil Majdalawi</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://dev3k.com/blog/?p=297</guid>
		<description><![CDATA[Mount ISO File First you need to make the directory to put the ISO file into using the following command sudo mkdir /media/isodir Then use following command sudo mount your_image_file.iso /media/isodir/ -t iso9660 -o loop Now you should have your iso file mounted, and accessible from your desktop. Unmount ISO File Just use following command [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Mount ISO File</strong><br />
<br />
First you need to make the directory to put the ISO file into using the following command</p>
<pre><code>sudo mkdir /media/isodir</code></pre>
<p>Then use following command</p>
<pre><code>sudo mount your_image_file.iso /media/isodir/ -t iso9660 -o loop</code></pre>
<p>Now you should have your iso file mounted, and accessible from your desktop.<br />
<br />
<strong>Unmount ISO File</strong><br />
<br />
Just use following command</p>
<pre><code>sudo umount /media/isodir</code></pre></p>
]]></content:encoded>
			<wfw:commentRss>http://dev3k.com/blog/2009/06/mount-and-unmout-iso-files-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RIP IE6 for god&#8217;s sake</title>
		<link>http://dev3k.com/blog/2009/05/rip-ie6-for-gods-sake/</link>
		<comments>http://dev3k.com/blog/2009/05/rip-ie6-for-gods-sake/#comments</comments>
		<pubDate>Thu, 28 May 2009 07:42:02 +0000</pubDate>
		<dc:creator>Khalil Majdalawi</dc:creator>
				<category><![CDATA[Internet]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[browsers]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[microsoft]]></category>

		<guid isPermaLink="false">http://dev3k.com/blog/?p=279</guid>
		<description><![CDATA[if i hate Microsoft , IE6 will be the reason not BSOD not security not stability , &#8220;IE6&#8221; i wish it vanish for good RIPIE6 to donate for memorial service]]></description>
			<content:encoded><![CDATA[<p><a href="http://dev3k.com/blog/wp-content/uploads/2009/05/ripie6-2.jpg"><img class="aligncenter size-full wp-image-283" title="ripie6-2" src="http://dev3k.com/blog/wp-content/uploads/2009/05/ripie6-2.jpg" alt="ripie6-2" width="500" height="295" /></a></p>
<p>if i hate Microsoft , IE6 will be the reason not BSOD not security not stability , &#8220;<strong>IE6</strong>&#8221; i wish it vanish for good</p>
<p><a href="http://ripie6.com/index.html" target="_blank"><img class="aligncenter size-full wp-image-285" title="ripie6-3" src="http://dev3k.com/blog/wp-content/uploads/2009/05/ripie6-3.jpg" alt="ripie6-3" width="510" height="649" /></a></p>
<p><a href="http://ripie6.com/index.html" target="_blank">RIPIE6</a> to donate for memorial service</p>
]]></content:encoded>
			<wfw:commentRss>http://dev3k.com/blog/2009/05/rip-ie6-for-gods-sake/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>intel Sponsors of Tomorrow &#8211; ads</title>
		<link>http://dev3k.com/blog/2009/05/intel-sponsors-of-tomorrow-ads/</link>
		<comments>http://dev3k.com/blog/2009/05/intel-sponsors-of-tomorrow-ads/#comments</comments>
		<pubDate>Wed, 27 May 2009 14:52:15 +0000</pubDate>
		<dc:creator>Khalil Majdalawi</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[ads]]></category>
		<category><![CDATA[intel]]></category>

		<guid isPermaLink="false">http://dev3k.com/blog/?p=273</guid>
		<description><![CDATA[this Intel ad&#8217;s are hilarious. i love them]]></description>
			<content:encoded><![CDATA[<p>this Intel ad&#8217;s are hilarious. i love them<br />
<center><object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/jqLPHrCQr2I&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/jqLPHrCQr2I&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object></center><br />
<br />
<center><br />
<object width="560" height="340"><param name="movie" value="http://www.youtube.com/v/Pg3aDudCiFE&#038;hl=en&#038;fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/Pg3aDudCiFE&#038;hl=en&#038;fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="560" height="340"></embed></object><br />
</center></p>
]]></content:encoded>
			<wfw:commentRss>http://dev3k.com/blog/2009/05/intel-sponsors-of-tomorrow-ads/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Remove or force www from domain name</title>
		<link>http://dev3k.com/blog/2009/05/remove-or-force-www-from-domain-name/</link>
		<comments>http://dev3k.com/blog/2009/05/remove-or-force-www-from-domain-name/#comments</comments>
		<pubDate>Thu, 21 May 2009 08:39:31 +0000</pubDate>
		<dc:creator>Khalil Majdalawi</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[apache]]></category>

		<guid isPermaLink="false">http://dev3k.com/blog/?p=247</guid>
		<description><![CDATA[its very simple SEO trick to avoid duplicate content on Google search engine and increase your rank , you have to chose which one suit you www or non-www first you have to enable &#8220;rewrite mod&#8221; which is apache server feature click here then use the following lines in your .htaccess file to remove WWW [...]]]></description>
			<content:encoded><![CDATA[<p>its very simple SEO trick to avoid duplicate content on Google search engine and increase your rank , you have to chose which one suit you www or non-www</p>
<p>first  you have to enable &#8220;rewrite mod&#8221; which is apache server feature <a href="http://dev3k.com/blog/2009/05/enable-mod-rewrite-in-apache/" target="_blank">click here</a></p>
<p>then use the following lines in your .htaccess file<br />
to remove WWW</p>
<pre><code>RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.example.com$ [NC]
RewriteRule ^(.*)$ http://example.com/$1 [R=301,L]</code></pre>
<p>to force WWW</p>
<pre><code>RewriteEngine on
RewriteCond %{HTTP_HOST} ^example.com$ [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,L]</code></pre>
<p>Please, note that the .htaccess should be located in the web site main folder.</p>
<p>for farther reading about .htaccess <a href="http://www.crucialwebhost.com/blog/htaccess-apache-rewrites-oh-my/" target="_blank">Check this great post</a></p>
]]></content:encoded>
			<wfw:commentRss>http://dev3k.com/blog/2009/05/remove-or-force-www-from-domain-name/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
