<?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>Ahmed El Gamil &#187; LinkedIn</title>
	<atom:link href="http://www.blog.manhag.org/tag/linkedin/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blog.manhag.org</link>
	<description></description>
	<lastBuildDate>Thu, 13 Oct 2011 10:54:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
<image>
<link>http://www.blog.manhag.org</link>
<url>http://www.blog.manhag.org/wp-content/mbp-favicon/favicon.ico</url>
<title>Ahmed El Gamil</title>
</image>
	<atom:link rel='hub' href='http://www.blog.manhag.org/?pushpress=hub'/>
		<item>
		<title>Automatic syntax checking for your puppet manifests</title>
		<link>http://www.blog.manhag.org/2010/10/automatic-syntax-checking-for-your-puppet-manifests/</link>
		<comments>http://www.blog.manhag.org/2010/10/automatic-syntax-checking-for-your-puppet-manifests/#comments</comments>
		<pubDate>Sat, 23 Oct 2010 12:03:51 +0000</pubDate>
		<dc:creator>Ahmed El Gamil</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Puppet]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[DevOps]]></category>
		<category><![CDATA[growl]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[puppet]]></category>

		<guid isPermaLink="false">http://www.blog.manhag.org/?p=541</guid>
		<description><![CDATA[So i write a lot of puppet code these days to automate infrastructure stuff that i do, and it came to me that every time i have to make an addition/change to my puppet code i always run syntax checking with the &#8220;puppet apply&#8221; command, so why not automate this procedure and use the beautiful [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_silver" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.blog.manhag.org%252F2010%252F10%252Fautomatic-syntax-checking-for-your-puppet-manifests%252F%22%2C%20%22shorturl%22%3A%20%22http%3A%2F%2Fbit.ly%2Fdg4WSX%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Automatic%20syntax%20checking%20for%20your%20puppet%20manifests%22%20%7D);"></div>
<p>So i write a lot of <a href="http://www.puppetlabs.com" target="_blank">puppet</a> code these days to automate infrastructure stuff that i do, and it came to me that every time i have to make an addition/change to my puppet code i always run syntax checking with the &#8220;puppet apply&#8221; command, so why not automate this procedure and use the beautiful <a href="http://growl.info/" target="_blank">Growl</a> notifications on my Mac in order to get instant desktop notification with the output of puppet manifests syntax checking <img src='http://www.blog.manhag.org/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p><span style="font-size: medium;">Introducing <a href="http://github.com/AhmedElGamil/puppet-growl" target="_blank">Puppet-growl</a></span></p>
<p><span style="font-size: medium;"><a href="http://www.blog.manhag.org/wp-content/uploads/2010/10/puppet-growl.tiff"><img class="aligncenter size-full wp-image-542" title="puppet-growl" src="http://www.blog.manhag.org/wp-content/uploads/2010/10/puppet-growl.tiff" alt="" /></a><a href="http://www.blog.manhag.org/wp-content/uploads/2010/10/puppet-growl.tif"><img class="aligncenter size-full wp-image-543" title="puppet-growl" src="http://www.blog.manhag.org/wp-content/uploads/2010/10/puppet-growl.tif" alt="" /></a><a href="http://www.blog.manhag.org/wp-content/uploads/2010/10/puppet-growl.jpg"><img class="aligncenter size-full wp-image-545" title="puppet-growl" src="http://www.blog.manhag.org/wp-content/uploads/2010/10/puppet-growl.jpg" alt="" width="301" height="129" /></a><br />
</span></p>
<ul>
<li> <strong>Puppet-growl</strong> is a ruby script that watches if there is  any changes to your puppet manifests (by monitoring .pp files) and sends  notifications to your desktop if the puppet manifest you just  created/edited passes the syntax checks or not.</li>
<li>It aims to facilitate the development of puppet code by sending instant notifications to your OS X desktop.</li>
<li>puppet-growl uses <a href="http://github.com/eventmachine/eventmachine/wiki" target="_blank">eventmachine</a>, <a href="http://github.com/mockko/em-dir-watcher" target="_blank">em-dir-watcher</a> and <a href="http://segment7.net/projects/ruby/growl/" target="_blank">ruby-growl</a></li>
</ul>
<p>For installation/configuration, please visit the puppet-growl on github: <a href="http://github.com/AhmedElGamil/puppet-growl" target="_blank">http://github.com/AhmedElGamil/puppet-growl</a></p>
<p>I would love to see someone hack the script to add <a href="http://library.gnome.org/devel/libnotify/" target="_blank">libnotify</a> support for the Linux desktop.</p>
<p>Thanks for <a href="https://twitter.com/worksilently" target="_blank">Mohammed Safwat</a> and <a href="https://twitter.com/#!/Karim_Allah" target="_blank">Karim Allah Ahmed</a> for hacking around the code with me.</p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow: hidden;">http://growl.info/</div>

]]></content:encoded>
			<wfw:commentRss>http://www.blog.manhag.org/2010/10/automatic-syntax-checking-for-your-puppet-manifests/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Routing calls from Zap Trunks to SIP trunks in Asterisk</title>
		<link>http://www.blog.manhag.org/2010/03/routing-calls-from-zap-trunks-to-sip-trunks-in-asterisk/</link>
		<comments>http://www.blog.manhag.org/2010/03/routing-calls-from-zap-trunks-to-sip-trunks-in-asterisk/#comments</comments>
		<pubDate>Tue, 09 Mar 2010 12:35:40 +0000</pubDate>
		<dc:creator>Ahmed El Gamil</dc:creator>
				<category><![CDATA[Asterisk/VoIP]]></category>
		<category><![CDATA[Open Source Technologies]]></category>
		<category><![CDATA[UNIX/Linux]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[FreePBX]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[SIP]]></category>
		<category><![CDATA[Zap]]></category>

		<guid isPermaLink="false">http://www.blog.manhag.org/?p=429</guid>
		<description><![CDATA[So i had this situation where i have 2 Asterisk boxes, the 1st one of them had a PRI card and the 2nd one is just attached to the network through an ethernet card Goal: redirect all of the incoming calls on the PRI to the 2nd Asterisk box through a SIP Trunk (The 2nd [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_silver" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.blog.manhag.org%252F2010%252F03%252Frouting-calls-from-zap-trunks-to-sip-trunks-in-asterisk%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Routing%20calls%20from%20Zap%20Trunks%20to%20SIP%20trunks%20in%20Asterisk%22%20%7D);"></div>
<p>So i had this situation where i have 2 Asterisk boxes, the 1st one of them had a PRI card and the 2nd one is just attached to the network through an ethernet card</p>
<p><strong><span style="text-decoration: underline;">Goal:</span></strong> redirect all of the incoming calls on the PRI to the 2nd Asterisk box through a SIP Trunk (The 2nd box holds the IVR and all of those stuff, all of the IP phones are connecting to this one), There was no decent documentation about this out there so i am documenting this and may be someone will find it useful.</p>
<p>Here is what you should do (I am assuming you are using an Asterisk installation that uses FreePBX):</p>
<ul>
<li>Create the Zap Trunk as you normally do from the FreePBX interface: Trunks -&gt; Add Zap Trunk</li>
<li>Create a SIP trunk that points to the 2nd Asterisk box, we will use this Trunk later in the configuration: Trunks -&gt; Add SIP Trunk, scroll down to outgoing settings and add the following
<ul>
<li>Trunk name: to-2ndAsterisk</li>
<li>Peer details:</li>
</ul>
</li>
</ul>
<blockquote><p>type=peer</p>
<p>host=&lt;IP Address of 2nd Asterisk Box&gt;</p></blockquote>
<ul>
<li>Connect to the 1st Asterisk box using SSH and edit the file /etc/asterisk/dahdi-channels.conf, you will find some configuration like</li>
</ul>
<blockquote>
<div id="_mcePaste">group=0,11</div>
<div id="_mcePaste"><strong>context=from-pstn</strong></div>
<div id="_mcePaste">switchtype = euroisdn</div>
<div id="_mcePaste">signalling = pri_cpe</div>
<div id="_mcePaste">channel =&gt; 1-15,17-31</div>
<div id="_mcePaste">context = default</div>
<div id="_mcePaste">group = 63</div>
</blockquote>
<ul>
<li>So as you can see all of the incoming calls are directed to the from-pstn context, we will now edit this line to direct the calls to the from-pstn-custom context and do the rest of the magic in this context so the file should be as follows</li>
</ul>
<blockquote>
<div id="_mcePaste">group=0,11</div>
<div id="_mcePaste"><strong>context=from-pstn-custom</strong></div>
<div id="_mcePaste">switchtype = euroisdn</div>
<div id="_mcePaste">signalling = pri_cpe</div>
<div id="_mcePaste">channel =&gt; 1-15,17-31</div>
<div id="_mcePaste">context = default</div>
<div id="_mcePaste">group = 63</div>
</blockquote>
<ul>
<li>Now edit the file /etc/asterisk/extensions_custom.conf and add the following at the end of the file</li>
</ul>
<blockquote><p>[from-pstn-custom]<br />
exten =&gt; _.,1,Dial(SIP/to-2ndAsterisk/${EXTEN:2},20,rt)</p></blockquote>
<p>So what this does is that it matches all of the calls (_.) then redirect them through the SIP trunk to the 2nd Asterisk box</p>
<ul>
<li>And the last step is to allow calls coming from the 1st Box to the 2nd Box, you should do IP-based authentication on the 2nd box by editing /etc/asterisk/sip_custom.conf and add the following</li>
</ul>
<blockquote><p>[1stAsterisk]<br />
type=peer<br />
canreinvite=no<br />
host=&lt;IP Address of 1st Asterisk Box&gt;<br />
context=from-pstn<br />
nat=no<br />
dtmfmode=rfc2833<br />
disallow=all<br />
allow=ulaw<br />
insecure=port<br />
qualify=yes</p></blockquote>
<p>Of course you can now create any inbound routes on the 2nd Asterisk Box to match your needs.</p>
<p>I hope this works for you, and if you need any assistance please don&#8217;t hesitate to ask me in the comments</p>
<p>Thanks for listening <img src='http://www.blog.manhag.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>

]]></content:encoded>
			<wfw:commentRss>http://www.blog.manhag.org/2010/03/routing-calls-from-zap-trunks-to-sip-trunks-in-asterisk/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Installing Adobe Air under Fedora 12</title>
		<link>http://www.blog.manhag.org/2010/03/installing-adobe-air-under-fedora-12/</link>
		<comments>http://www.blog.manhag.org/2010/03/installing-adobe-air-under-fedora-12/#comments</comments>
		<pubDate>Fri, 05 Mar 2010 18:57:10 +0000</pubDate>
		<dc:creator>Ahmed El Gamil</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[UNIX/Linux]]></category>
		<category><![CDATA[Adobe]]></category>
		<category><![CDATA[AIR]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[YUM]]></category>

		<guid isPermaLink="false">http://www.blog.manhag.org/?p=422</guid>
		<description><![CDATA[After having some problems trying to install Adobe Air under my Fedora 12 installation, here is the what you should do to get it up and running: Install the following packages usign YUM yum install gtk2-devel rpm-devel xterm Solve the certificates issue using the command for c in /etc/opt/Adobe/certificates/crypt/*.0; do aucm -n $(basename $c) -t [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_silver" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.blog.manhag.org%252F2010%252F03%252Finstalling-adobe-air-under-fedora-12%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Installing%20Adobe%20Air%20under%20Fedora%2012%22%20%7D);"></div>
<p>After having some problems trying to install Adobe Air under my Fedora 12 installation, here is the what you should do to get it up and running:</p>
<ul>
<li>Install the following packages usign YUM</li>
</ul>
<blockquote><p>yum install gtk2-devel rpm-devel xterm</p></blockquote>
<ul>
<li>Solve the certificates issue using the command</li>
</ul>
<blockquote><p>for c in /etc/opt/Adobe/certificates/crypt/*.0; do aucm -n $(basename $c) -t true; done</p></blockquote>
<ul>
<li>Now you can navigate to where you download the binary and then do the following</li>
</ul>
<blockquote><p>chmod +x AdobeAIRInstaller.bin</p>
<p>./AdobeAIRInstaller.bin</p></blockquote>
<p>BTW, this was under a 32-bit installation.</p>
<p>Hope this solves the problem.</p>

]]></content:encoded>
			<wfw:commentRss>http://www.blog.manhag.org/2010/03/installing-adobe-air-under-fedora-12/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Stars were glowing at JDC 2010</title>
		<link>http://www.blog.manhag.org/2010/02/stars-were-glowing-at-jdc-2010/</link>
		<comments>http://www.blog.manhag.org/2010/02/stars-were-glowing-at-jdc-2010/#comments</comments>
		<pubDate>Sun, 28 Feb 2010 21:46:08 +0000</pubDate>
		<dc:creator>Ahmed El Gamil</dc:creator>
				<category><![CDATA[Computer.Assistant.Team]]></category>
		<category><![CDATA[Open Source Technologies]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[EGJUG]]></category>
		<category><![CDATA[Egypt]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[JDC]]></category>
		<category><![CDATA[LinkedIn]]></category>

		<guid isPermaLink="false">http://www.blog.manhag.org/?p=414</guid>
		<description><![CDATA[Since this blog was starting to be full of ghosts, i said that i must break the silence by some quick post. Last Saturday I attended the JDC 2010 (Java Developer Conference) which is organized by EGJUG , I attended the last JDC which was at 2008 and it was pretty good and after looking [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_silver" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.blog.manhag.org%252F2010%252F02%252Fstars-were-glowing-at-jdc-2010%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Stars%20were%20glowing%20at%20JDC%202010%22%20%7D);"></div>
<p>Since this blog was starting to be full of ghosts, i said that i must break the silence by some quick post.</p>
<p>Last Saturday I attended the <a href="http://jdc2010.egjug.org" target="_blank">JDC 2010</a> (Java Developer Conference) which is organized by <a href="http://egjug.org" target="_blank">EGJUG</a> , I attended the last JDC which was at 2008 and it was pretty good and after looking at the agenda of 2010, i just couldn&#8217;t resist <img src='http://www.blog.manhag.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Most of the sessions were quite interesting, i got to know some of the new technologies and made some good contacts with great people in the industry here in Egypt.</p>
<p>I also bought an excellent book <a href="http://ridingthecrest.com/" target="_blank">&#8220;Secrets of the Rock Star Programmers&#8221;</a> by <a href="http://twitter.com/edburns" target="_blank">Ed Burns</a> who was a speaker at the conference (and he was also a speaker at 2008), and he signed it for me <img src='http://www.blog.manhag.org/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> , Thanks Ed.</p>
<p><a href="http://www.blog.manhag.org/wp-content/uploads/2010/02/27022010285.jpg"><img class="aligncenter size-thumbnail wp-image-415" title="27022010285" src="http://www.blog.manhag.org/wp-content/uploads/2010/02/27022010285-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>After the conference we had a quick visit to Google <img src='http://www.blog.manhag.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.blog.manhag.org/wp-content/uploads/2010/02/27022010286.jpg"><img class="aligncenter size-thumbnail wp-image-417" title="27022010286" src="http://www.blog.manhag.org/wp-content/uploads/2010/02/27022010286-150x150.jpg" alt="" width="150" height="150" /></a>Actually that was at the Google Booth <img src='http://www.blog.manhag.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> , Some of the Google guys were there like <a href="http://twitter.com/mardinix" target="_blank">AbdelKarim Mardini</a> showing the new Nexus one and some other cool stuff.</p>
<p>A lot of interesting people was there like Sang Shin, Fred Sauer, also from Egypt <a href="http://twitter.com/melrefaey" target="_blank">Mohammed El-Refaey</a> whom i really enjoyed talking to.</p>
<p>So in the end, it was a pretty good day and meeting a lot of my friends added a tasty flavour to the mixture, JAK Shabab.</p>
<p>Time to move on and finish that piles of work to do !</p>

]]></content:encoded>
			<wfw:commentRss>http://www.blog.manhag.org/2010/02/stars-were-glowing-at-jdc-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A picture is worth a thousand words.. Uptime</title>
		<link>http://www.blog.manhag.org/2009/10/a-picture-is-worth-a-thousand-words-uptime/</link>
		<comments>http://www.blog.manhag.org/2009/10/a-picture-is-worth-a-thousand-words-uptime/#comments</comments>
		<pubDate>Wed, 21 Oct 2009 12:39:27 +0000</pubDate>
		<dc:creator>Ahmed El Gamil</dc:creator>
				<category><![CDATA[/dev/random]]></category>
		<category><![CDATA[UNIX/Linux]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[manhag.org]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[Sysadmin]]></category>
		<category><![CDATA[uptime]]></category>

		<guid isPermaLink="false">http://www.blog.manhag.org/?p=402</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_silver" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.blog.manhag.org%252F2009%252F10%252Fa-picture-is-worth-a-thousand-words-uptime%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22A%20picture%20is%20worth%20a%20thousand%20words..%20Uptime%22%20%7D);"></div>
<p><img class="aligncenter size-full wp-image-403" title="Screenshot" src="http://www.blog.manhag.org/wp-content/uploads/2009/10/Screenshot.png" alt="Screenshot" width="507" height="64" /></p>

]]></content:encoded>
			<wfw:commentRss>http://www.blog.manhag.org/2009/10/a-picture-is-worth-a-thousand-words-uptime/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Virtualization &#8230;</title>
		<link>http://www.blog.manhag.org/2009/04/virtualization/</link>
		<comments>http://www.blog.manhag.org/2009/04/virtualization/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 17:23:16 +0000</pubDate>
		<dc:creator>Ahmed El Gamil</dc:creator>
				<category><![CDATA[UNIX/Linux]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[virtualization]]></category>

		<guid isPermaLink="false">http://www.blog.manhag.org/?p=344</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_silver" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.blog.manhag.org%252F2009%252F04%252Fvirtualization%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Virtualization%20...%22%20%7D);"></div>
<p style="text-align: center;"><a href="http://blog.manhag.org/wp-content/uploads/2009/04/virtualization1.png"><img class="aligncenter size-large wp-image-343" title="virtualization1" src="http://www.blog.manhag.org/wp-content/uploads/2009/04/virtualization1-1024x640.png" alt="virtualization1" width="1024" height="640" /></a></p>

]]></content:encoded>
			<wfw:commentRss>http://www.blog.manhag.org/2009/04/virtualization/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Pidgin may eat your password !</title>
		<link>http://www.blog.manhag.org/2008/12/pidgin-may-eat-your-password/</link>
		<comments>http://www.blog.manhag.org/2008/12/pidgin-may-eat-your-password/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 18:41:09 +0000</pubDate>
		<dc:creator>Ahmed El Gamil</dc:creator>
				<category><![CDATA[Hacking/Security]]></category>
		<category><![CDATA[UNIX/Linux]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[pidgin]]></category>
		<category><![CDATA[purple]]></category>

		<guid isPermaLink="false">http://www.blog.manhag.org/?p=275</guid>
		<description><![CDATA[الحمد لله و كفى و صلاة و سلاماً على عباده الذين اصطفى EDIT: Added the solution at the end of the post So i have been navigating through my home directory and i found a hidden directory (which starts with a dot .) and i found a directory called .purple..Hmm, i don&#8217;t remember installing an [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_silver" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.blog.manhag.org%252F2008%252F12%252Fpidgin-may-eat-your-password%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Pidgin%20may%20eat%20your%20password%20%21%22%20%7D);"></div>
<p style="text-align: center;">الحمد لله و كفى و صلاة و سلاماً على عباده الذين اصطفى</p>
<p style="text-align: center;"><img class="aligncenter size-thumbnail wp-image-277" title="logopidgin" src="http://www.blog.manhag.org/wp-content/uploads/2008/12/logopidgin-107x150.png" alt="logopidgin" width="86" height="120" /></p>
<p style="text-align: left;"><strong>EDIT:</strong> <span style="text-decoration: underline;">Added the solution at the end of the post</span></p>
<p style="text-align: left;">So i have been navigating through my home directory and i found a hidden directory (which starts with a dot .) and i found a directory called <strong>.purple</strong>..Hmm, i don&#8217;t remember installing an application called purple.. <img src='http://www.blog.manhag.org/wp-includes/images/smilies/icon_surprised.gif' alt=':-o' class='wp-smiley' /> </p>
<p style="text-align: left;">So after some searching i found that the <strong>.purple</strong> directory contains some files related to <a href="http://www.pidgin.im/" target="_blank">pidgin</a> The universal Instant messaging client..okay this sounds reasonable now..the <span style="color: #800080;">pidgin color</span> is purple  <img src='http://www.blog.manhag.org/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' /> </p>
<p style="text-align: left;">okay..before you read any further in this topic please open a terminal in your Linux distro and execute the following command:</p>
<blockquote>
<p style="text-align: left;">cat ~/.purple/acc* | grep &#8220;ord&gt;&#8221;</p>
</blockquote>
<p style="text-align: left;">YES, the output you have seen from this command is REAL !!  <img src='http://www.blog.manhag.org/wp-includes/images/smilies/icon_mrgreen.gif' alt=':mrgreen:' class='wp-smiley' />  ..It is your IM passwords <img src='http://www.blog.manhag.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> <span id="more-275"></span></p>
<p style="text-align: left;">I used some bash tricks to hide what the command really do..but here is what it will really do</p>
<blockquote>
<p style="text-align: left;">cat ~/.purple/accounts.xml | grep password</p>
</blockquote>
<p style="text-align: left;">and if you are using window$, you will find it in C:Documents and Settings%USERNAME%Application Data.purpleaccounts.xml</p>
<p style="text-align: left;">What are we having here ? , well pidgin is not saving the passwords in encrypted format, it is saving them in clear text !</p>
<p style="text-align: left;">So beware.. don&#8217;t save your password on pidgin when using a shared machine with someone else  <img src='http://www.blog.manhag.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
<p style="text-align: center;"><strong>Solution</strong></p>
<p style="text-align: left;">First of all, lets see why did the pidgin team decided not to encrypt the passwords, actually they talked about lots of issue, but to summarize, Here is a quote from their <a href="http://developer.pidgin.im/wiki/PlainTextPasswords" target="_blank">wiki</a>:</p>
<blockquote>
<p style="text-align: left;">Instant messaging is not very secure, and it&#8217;s kind of pointless to spend a lot of time adding protections onto the fairly strong file protections of UNIX (our native platform) when the protocols themselves aren&#8217;t all that secure</p>
</blockquote>
<p style="text-align: left;"><span style="text-decoration: underline;">Edit</span>: Kamasheto added the following quote in the comments, thanks kama <img src='http://www.blog.manhag.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: left;">
<blockquote cite="http://developer.pidgin.im/wiki/PlainTextPasswords"><p>“But other programs don’t store my password in plain text!”</p>
<p>That’s true. But few of them store it in a way that’s any safer. A Google search for im passwords shows a bunch of hits for getting the passwords out of other IM clients just as easily as Pidgin.</p></blockquote>
<p style="text-align: left;">so they advice you to use key rings that comes with your desktop environment (GNOME and KDE have key rings), there is a project discussing this issue <a href="http://developer.pidgin.im/wiki/GSoC2008/MasterPassword" target="_blank">here</a></p>
<p style="text-align: left;">Another solution is use a master password mechanism, like that one implemented in firefox, you can use this feature in pidgin by install the <a href="http://dooglus.rincevent.net/gaim/" target="_blank">Password Encryption plugin</a></p>
<p style="text-align: left;">Hope this tips will solve the problem isA</p>
<p style="text-align: center;">سبحانك اللهم و بحمدك..أشهد ان لا إله إلا أنت..أستغفرك و أتوب إليك</p>

]]></content:encoded>
			<wfw:commentRss>http://www.blog.manhag.org/2008/12/pidgin-may-eat-your-password/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>Google Mobile App</title>
		<link>http://www.blog.manhag.org/2008/11/google-mobile-app/</link>
		<comments>http://www.blog.manhag.org/2008/11/google-mobile-app/#comments</comments>
		<pubDate>Thu, 20 Nov 2008 19:51:47 +0000</pubDate>
		<dc:creator>Ahmed El Gamil</dc:creator>
				<category><![CDATA[Tech News]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[LinkedIn]]></category>

		<guid isPermaLink="false">http://www.blog.manhag.org/?p=250</guid>
		<description><![CDATA[Google just released an updated version of the Google Mobile App, but now with Voice search ! You just say the keywords in your voice and the app does all the work The new Google Mobile App for iPhone makes it possible for you to do a Google web search using only your voice. Just [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_silver" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.blog.manhag.org%252F2008%252F11%252Fgoogle-mobile-app%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Google%20Mobile%20App%22%20%7D);"></div>
<p>Google just released an updated version of the <a href="http://googlemobile.blogspot.com/2008/11/google-mobile-app-for-iphone-now-with.html" target="_blank">Google Mobile App</a>, but now with Voice search !  <img src='http://www.blog.manhag.org/wp-includes/images/smilies/icon_cool.gif' alt='8-)' class='wp-smiley' /> </p>
<p>You just say the keywords in your voice and the app does all the work</p>
<blockquote><p>The new Google Mobile App for iPhone makes it possible for you to do a Google web search using only your voice. Just hold the phone to your ear, wait for the beep, and say what you&#8217;re looking for. That&#8217;s it. Just talk. Once the App is on, you don&#8217;t have to push any buttons to search. Check out the <a href="http://www.youtube.com/watch?v=y3z7Tw1K17A">video below</a> to watch engineer Mike LeBeau explain how this works.</p></blockquote>
<p>Here is a video from youtube that explains it very well:</p>
<p><span class="youtube">
<object width="425" height="355">
<param name="movie" value="http://www.youtube.com/v/y3z7Tw1K17A?color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;loop=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=1" />
<param name="allowFullScreen" value="true" />
<embed wmode="opaque" src="http://www.youtube.com/v/y3z7Tw1K17A?color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;loop=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="355"></embed>
<param name="wmode" value="opaque" />
</object>
</span><p><a href="http://www.youtube.com/watch?v=y3z7Tw1K17A"><img src="http://img.youtube.com/vi/y3z7Tw1K17A/default.jpg" width="130" height="97" border=0></a></p><p><a href="http://www.youtube.com/watch?v=y3z7Tw1K17A">www.youtube.com/watch?v=y3z7Tw1K17A</a></p><span id="more-250"></span></p>
<p style="text-align: center;">سبحانك اللهم و بحمدك..أشهد أن لا اله إلا أنت..أستغفرك و أتوب إليك</p>

]]></content:encoded>
			<wfw:commentRss>http://www.blog.manhag.org/2008/11/google-mobile-app/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Working with SubVersion..Part 1</title>
		<link>http://www.blog.manhag.org/2008/11/subversion-1/</link>
		<comments>http://www.blog.manhag.org/2008/11/subversion-1/#comments</comments>
		<pubDate>Wed, 19 Nov 2008 13:34:12 +0000</pubDate>
		<dc:creator>Ahmed El Gamil</dc:creator>
				<category><![CDATA[Open Source Technologies]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[UNIX/Linux]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[OpenSource]]></category>
		<category><![CDATA[subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[xp-dev.com]]></category>

		<guid isPermaLink="false">http://www.blog.manhag.org/?p=233</guid>
		<description><![CDATA[So i have been working with a small personal coding project the last days, and i noticed that i will be distributing the code among several directories and files and i also need to go forward and backward in the code revisions, so i decided to get started with Subversion - The version control system. [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_silver" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.blog.manhag.org%252F2008%252F11%252Fsubversion-1%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Working%20with%20SubVersion..Part%201%22%20%7D);"></div>
<p style="text-align: center;"><a href="http://www.blog.manhag.org/wp-content/uploads/2008/11/subversion_logo-200x173.png"><img class="size-full wp-image-238 alignnone" title="subversion_logo-200x173" src="http://www.blog.manhag.org/wp-content/uploads/2008/11/subversion_logo-200x173.png" alt="" width="200" height="173" /></a></p>
<p style="text-align: left;">So i have been working with a small personal coding project the last days, and i noticed that i will be distributing the code among several directories and files and i also need to go forward and backward in the code revisions, so i decided to get started with <a href="http://en.wikipedia.org/wiki/Subversion_(software)" target="_blank">Subversion</a> - The <a href="http://en.wikipedia.org/wiki/Version_control_system" target="_blank">version control system</a>.</p>
<p style="text-align: left;">I had some problems at first, then things started to get really good after some searching for information here and there, so here is a simple tutorial that will get you up with subversion in no time isA</p>
<h3 style="text-align: left;"><strong>First of all, What is Version control ?</strong></h3>
<blockquote style="text-align: left;"><p><strong>Revision control</strong> (also known as <strong>version control (system) (VCS)</strong>, <strong>source control</strong> or <strong>(source) code management (SCM)</strong>) is the management of multiple revisions of the same unit of information</p>
<p>Changes to these documents are usually identified by incrementing an associated number or letter code, termed the &#8220;revision number&#8221;, &#8220;revision level&#8221;, or simply &#8220;revision&#8221; and associated historically with the person making the change</p></blockquote>
<p style="text-align: left;">So how does this apply to coding and source code, well, when you are working with lots of code some times you need to know how did the code look like at a specific time or specific &#8220;version&#8221;.<span id="more-233"></span></p>
<p style="text-align: left;">also when there is more than one person collabarating to the same project, you need to know who changed that specific piece of code, when he did he changed it and if he commented on the change so you can know about his work</p>
<p style="text-align: left;">Here is a nice video on youtube than explains the issue in a very simple scenario <img src='http://www.blog.manhag.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p style="text-align: left;"><span class="youtube">
<object width="425" height="355">
<param name="movie" value="http://www.youtube.com/v/8wYiabh2hpM?color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;loop=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=1" />
<param name="allowFullScreen" value="true" />
<embed wmode="opaque" src="http://www.youtube.com/v/8wYiabh2hpM?color1=d6d6d6&amp;color2=f0f0f0&amp;border=0&amp;fs=1&amp;hl=en&amp;loop=&amp;showinfo=0&amp;iv_load_policy=3&amp;showsearch=0&amp;rel=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="355"></embed>
<param name="wmode" value="opaque" />
</object>
</span><p><a href="http://www.youtube.com/watch?v=8wYiabh2hpM"><img src="http://img.youtube.com/vi/8wYiabh2hpM/default.jpg" width="130" height="97" border=0></a></p><p><a href="http://www.youtube.com/watch?v=8wYiabh2hpM">www.youtube.com/watch?v=8wYiabh2hpM</a></p></p>
<h3 style="text-align: left;"><strong>Cool, What is Subversion ?</strong></h3>
<blockquote style="text-align: left;"><p><strong>Subversion</strong> (<strong>SVN</strong>) is a <a title="Revision control" href="http://en.wikipedia.org/wiki/Revision_control" target="_blank">version control</a> system initiated in 2000 by <a title="CollabNet" href="http://en.wikipedia.org/wiki/CollabNet" target="_blank">CollabNet</a> Inc. It is used to maintain current and historical versions of files such as <a title="Source code" href="http://en.wikipedia.org/wiki/Source_code" target="_blank">source code</a>, web pages, and documentation. Its goal is to be a mostly-compatible successor to the widely used <a title="Concurrent Versions System" href="http://en.wikipedia.org/wiki/Concurrent_Versions_System">Concurrent Versions System</a> (CVS).</p></blockquote>
<p style="text-align: left;">SVN is an Open source software and it is currently replacing the <a href="http://en.wikipedia.org/wiki/Concurrent_Versions_System" target="_blank">CVS</a></p>
<h3 style="text-align: left;"><strong>What are the ingredients that i need to start working with SubVersion ?</strong></h3>
<h4 style="text-align: left;">The Server</h4>
<p style="text-align: left;">First, you need a SVN Server (SVN works on server/client architecture), which basically contains some kind of a database that holds information about the different &#8220;revisions&#8221; of your code</p>
<p style="text-align: left;">we will skip setting up the server part as we will be using a hosted service on a remote server (note that you can actually build one on your local machine).</p>
<p style="text-align: left;">I have searched for a lot of online services and i think the best one that fitted my needs is <a href="http://www.xp-dev.com" target="_blank">XP-Dev.com</a></p>
<p style="text-align: left;">Go register an account there, and after logging in create a SubVersion repo from the <a href="http://www.xp-dev.com/subversion/" target="_blank">&#8220;subversion&#8221; tab</a></p>
<p style="text-align: left;">after you create the repo, you will get the following URLs</p>
<blockquote>
<p style="text-align: left;">https://svn.xp-dev.com/svn/repo_name/ (SSL)<br />
http://svn.xp-dev.com/svn/repo_name/ (No SSL)</p></blockquote>
<p style="text-align: left;">So these are the URLs that you can use to access the files in the repo and also use with SVN client</p>
<h4 style="text-align: left;">The Client</h4>
<p style="text-align: left;">The client is used to connect to the SVN server, at our case we will be using the svn command under UNIX/Linux based systems, if you want a GUI you can use <a href="http://rapidsvn.tigris.org/" target="_blank">RapidSVN</a> under Linux and <a href="http://tortoisesvn.tigris.org/" target="_blank">TorsieSVN</a> under windows</p>
<p style="text-align: left;">We will be discussing the Client in the next Post isA <img src='http://www.blog.manhag.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p style="text-align: left;">Please share your comments on the materials presented here , may be we will put it in the <a href="http://www.cat-hackers.com/wiki" target="_blank">Hackers Wiki</a> if it is good enough</p>
<p style="text-align: center;">سبحانك اللهم و بحمدك..أشهد ان لا اله الا أنت..أستغفرك و أتوب إليك</p>

]]></content:encoded>
			<wfw:commentRss>http://www.blog.manhag.org/2008/11/subversion-1/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Hackin9 Wireless Networks: A Live Demo</title>
		<link>http://www.blog.manhag.org/2008/11/hacking-wireless-networks/</link>
		<comments>http://www.blog.manhag.org/2008/11/hacking-wireless-networks/#comments</comments>
		<pubDate>Wed, 05 Nov 2008 19:37:58 +0000</pubDate>
		<dc:creator>Ahmed El Gamil</dc:creator>
				<category><![CDATA[/dev/random]]></category>
		<category><![CDATA[Computer.Assistant.Team]]></category>
		<category><![CDATA[Hacking/Security]]></category>
		<category><![CDATA[CAT-Hackers]]></category>
		<category><![CDATA[Hacking]]></category>
		<category><![CDATA[LinkedIn]]></category>
		<category><![CDATA[WEP]]></category>
		<category><![CDATA[WLans]]></category>
		<category><![CDATA[WPA/WPA2]]></category>

		<guid isPermaLink="false">http://www.blog.manhag.org/?p=199</guid>
		<description><![CDATA[الحمد لله و كفى و صلاةً و سلاماً على عباده الذين اصطفى..ثم أما بعد امبارح كان Hackers Day رقم 2 و الحمد لله كان كويس جداً  و كل الsession اللى فيه كانت قوية جداً و مفيدة.. انا اديت فيه سيشن بعنوان "Hacking Wireless Networks: A live demo" عموماً..بدايتى مع ال wireless networking مكملتش 8 شهور [...]]]></description>
			<content:encoded><![CDATA[
<div class="topsy_widget_data topsy_theme_silver" style="float: right;margin-left: 0.75em; background: url(data:,%7B%20%22url%22%3A%20%22http%253A%252F%252Fwww.blog.manhag.org%252F2008%252F11%252Fhacking-wireless-networks%252F%22%2C%20%22style%22%3A%20%22big%22%2C%20%22title%22%3A%20%22Hackin9%20Wireless%20Networks%3A%20A%20Live%20Demo%22%20%7D);"></div>
<pre style="text-align: center;"><span style="font-family: arial,helvetica,sans-serif;">الحمد لله و كفى و صلاةً و سلاماً على عباده الذين اصطفى..ثم أما بعد</span></pre>
<pre style="text-align: right;" dir="rtl"><span style="font-size: small; font-family: arial,helvetica,sans-serif;">امبارح كان Hackers Day رقم 2 و الحمد لله كان كويس جداً
 و كل الsession اللى فيه كانت قوية جداً و مفيدة..</span><span style="font-family: arial,helvetica,sans-serif;">

</span><span style="font-size: small; font-family: arial,helvetica,sans-serif;">انا اديت فيه سيشن بعنوان</span><span style="font-family: arial,helvetica,sans-serif;">

</span><span style="font-size: small; font-family: arial,helvetica,sans-serif;">"Hacking Wireless Networks: A live demo"</span><span style="font-family: arial,helvetica,sans-serif;">

</span><span style="font-size: small; font-family: arial,helvetica,sans-serif;">عموماً..بدايتى مع ال wireless networking مكملتش 8 شهور</span><span style="font-family: arial,helvetica,sans-serif;">

</span><span style="font-size: small; font-family: arial,helvetica,sans-serif;">إلا انى من ساعة مع كان لى نصيب انى اتعامل</span><span style="font-family: arial,helvetica,sans-serif;">

</span><span style="font-size: small; font-family: arial,helvetica,sans-serif;">wireless router</span><span style="font-family: arial,helvetica,sans-serif;">

</span><span style="font-size: small; font-family: arial,helvetica,sans-serif;"> و الموضوع كان شاددنى جداً</span><span style="font-family: arial,helvetica,sans-serif;">

</span><span style="font-size: small; font-family: arial,helvetica,sans-serif;">أتمنى انى اكون قدرت انفع الناس..</span><span style="font-family: arial,helvetica,sans-serif;">

</span><span style="font-size: small; font-family: arial,helvetica,sans-serif;">انا عارف ان كمية المعلومات كانت تقيلة و انا كنت بتكلم بسرعة حبتين <img src='http://www.blog.manhag.org/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </span><span style="font-family: arial,helvetica,sans-serif;">

</span><span style="font-size: small; font-family: arial,helvetica,sans-serif;">ده غير كمية المصطلحات الانجليزى الفظيعة اللى قلتها <img src='http://www.blog.manhag.org/wp-includes/images/smilies/icon_rolleyes.gif' alt=':roll:' class='wp-smiley' /> </span><span style="font-family: arial,helvetica,sans-serif;">

</span><span style="font-size: small; font-family: arial,helvetica,sans-serif;">أهم حاجة بس تفتكرها ان أقوى طريقة عشان تحمى بيها أى نظم بتستخدمها</span>
<span style="font-family: arial,helvetica,sans-serif;">
</span><span style="font-size: small; font-family: arial,helvetica,sans-serif;">هى انك تهاك على نفسك :</span><span style="font-size: small; font-family: arial,helvetica,sans-serif;">mrgreen:</span><span style="font-family: arial,helvetica,sans-serif;">

</span><span style="font-size: small; font-family: arial,helvetica,sans-serif;"><strong>Secure your wireless Network Using offensive security</strong></span>
<span style="font-family: arial,helvetica,sans-serif;">
</span><span style="font-size: small; font-family: arial,helvetica,sans-serif;"><strong>اوعى تستخدم WEP Encryption</strong></span><span style="font-family: arial,helvetica,sans-serif;">

</span><span style="font-size: small; font-family: arial,helvetica,sans-serif;"><strong>و علشان تحمى ال Access Point بتاعتك استعمل WPA/WPA2</strong></span><span style="font-family: arial,helvetica,sans-serif;">

</span><span style="font-size: small; font-family: arial,helvetica,sans-serif;"><strong>و أختار password متكونش dictionary word يعنى مثلاً</strong></span><span style="font-family: arial,helvetica,sans-serif;">

</span><span style="font-size: small; font-family: arial,helvetica,sans-serif;"><strong>a-vk, 3wq5</strong></span><span style="font-family: arial,helvetica,sans-serif;">

</span><span style="font-size: small; font-family: arial,helvetica,sans-serif;"><strong>بالنسبة للpresentation هتلاقوها <a href="http://www.blog.manhag.org/?download=Hacking_Wireless_networks.pdf" target="_blank">هنا</a></strong></span><span style="font-family: arial,helvetica,sans-serif;">

</span><span style="font-size: small; font-family: arial,helvetica,sans-serif;">  هبقا هعدل التدوينة دى عشان احط قائمة بالكتب اللى قرأتها فى الموضوع ده
</span></pre>
<pre style="text-align: center;"><span style="font-family: arial,helvetica,sans-serif;">سبحانك اللهم و بحمدك..أشهد أن لا إلا أنت..أستغفرك و أتوب اليك</span></pre>

]]></content:encoded>
			<wfw:commentRss>http://www.blog.manhag.org/2008/11/hacking-wireless-networks/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

