<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>Hasan Bazerbashi's Web Site</title>
	
	<link>http://www.bazerbashi.com</link>
	<description>This is my personal Web Site where I can put my news and other stuff which I find interesting. Hasan Bazerbashi ;)</description>
	<lastBuildDate>Mon, 14 Nov 2011 13:09:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/HasansWebSite" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="hasanswebsite" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Learn SharePoint 2010 without installations or top hardware</title>
		<link>http://www.bazerbashi.com/programming/learn-sharepoint-2010-without-installations-or-top-hardware</link>
		<comments>http://www.bazerbashi.com/programming/learn-sharepoint-2010-without-installations-or-top-hardware#comments</comments>
		<pubDate>Mon, 14 Nov 2011 12:56:43 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/programming/learn-sharepoint-2010-without-installations-or-top-hardware</guid>
		<description><![CDATA[So you have decided you want to get into SharePoint, but you find out that you need to have a pretty strong machine to run it. Actually the latest SharePoint 2010 needs 6 GB of RAM as a starting point to run well and a 64 bit Windows 2008 operating system. You could actually learn [...]]]></description>
			<content:encoded><![CDATA[<p>So you have decided you want to get into <a href="http://sharepoint.microsoft.com" target="_blank">SharePoint</a>, but you find out that you need to have a pretty strong machine to run it. Actually the latest <a href="http://sharepoint.microsoft.com" target="_blank">SharePoint</a> 2010 needs 6 GB of RAM as a starting point to run well and a 64 bit Windows 2008 operating system.</p>
<p>You could actually learn without installing a thing! Yes. Microsoft offers a great service called <a href="http://msdn.microsoft.com/en-us/aa570323" target="_blank">MSDN Virtual Labs</a>.<a href="http://www.bazerbashi.com/wp-content/uploads/2011/11/MSDNvlab.png" rel="lightbox[282]" title="MSDN vlab"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; float: right; border-top: 0px; border-right: 0px; padding-top: 0px" title="MSDN vlab" border="0" alt="MSDN vlab" align="right" src="http://www.bazerbashi.com/wp-content/uploads/2011/11/MSDNvlab_thumb.png" width="84" height="67" /></a> Using these Virtual Labs you can test and try almost every Microsoft technology and product. And of course <a href="http://msdn.microsoft.com/en-us/cc707678" target="_blank">SharePoint Virtual Labs</a> is one of them. In the Lab courses you get to learn and have hands-on experience. They even include software which you would need like <a href="http://sharepoint.microsoft.com/en-us/product/related-technologies/pages/sharepoint-designer.aspx" target="_blank">SharePoint Designer</a>. Really helpful.</p>
<p>So go on and have fun <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://www.bazerbashi.com/wp-content/uploads/2011/11/wlEmoticon-smile.png" /></p>
<p><!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fprogramming%2Flearn-sharepoint-2010-without-installations-or-top-hardware&amp;title=Learn%20SharePoint%202010%20without%20installations%20or%20top%20hardware" id="wpa2a_2"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/programming/learn-sharepoint-2010-without-installations-or-top-hardware/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Make Connectify work with Avast</title>
		<link>http://www.bazerbashi.com/software/make-connectify-work-with-avast</link>
		<comments>http://www.bazerbashi.com/software/make-connectify-work-with-avast#comments</comments>
		<pubDate>Wed, 26 Oct 2011 14:45:08 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/?p=272</guid>
		<description><![CDATA[Recently I updated Connectify to version 3.1 and it just stopped working. After sometime of trial and error I found out that Avast Antivirus(I have Avast Internet Security) was blocking some essential ports which Avast uses. Basically what needs to be done are two things: Enable the Internet Sharing mode in the Firewall settings Enable [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I updated <a href="http://www.connectify.me" target="_blank">Connectify</a> to version 3.1 and it just stopped working.</p>
<p>After sometime of trial and error I found out that <a href="http://www.avast.com" target="_blank">Avast</a> Antivirus(I have Avast Internet Security) was blocking some essential ports which <a href="http://www.avast.com" target="_blank">Avast</a> uses.</p>
<p>Basically what needs to be done are two things:</p>
<ol>
<li>Enable the Internet Sharing mode in the Firewall settings
<p><a href="http://www.bazerbashi.com/wp-content/uploads/2011/10/Firewall_SharingMode1.png" target="_blank" rel="lightbox[272]" title="Enable Sharing Mode"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Enable Sharing Mode" border="0" alt="Enable Sharing Mode" src="http://www.bazerbashi.com/wp-content/uploads/2011/10/Firewall_SharingMode_thumb1.png" width="244" height="221" /></a></p>
</li>
<li>Enable some Firewall packet rules for the application ConnectifyNetServices.exe
<p><a href="http://www.bazerbashi.com/wp-content/uploads/2011/10/Firewall_PacketRules1.png" target="_blank" rel="lightbox[272]" title="Enable some Packet Rules"><img style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="Enable some Packet Rules" border="0" alt="Enable some Packet Rules" src="http://www.bazerbashi.com/wp-content/uploads/2011/10/Firewall_PacketRules_thumb1.png" width="244" height="175" /></a></p>
</li>
</ol>
<p>That’s set, your ready <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-smile" alt="Smile" src="http://www.bazerbashi.com/wp-content/uploads/2011/10/wlEmoticon-smile.png" /> go ahead and try it.</p>
<p><!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fsoftware%2Fmake-connectify-work-with-avast&amp;title=Make%20Connectify%20work%20with%20Avast" id="wpa2a_4"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/software/make-connectify-work-with-avast/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Microsoft and Hadoop</title>
		<link>http://www.bazerbashi.com/programming/microsoft-and-hadoop</link>
		<comments>http://www.bazerbashi.com/programming/microsoft-and-hadoop#comments</comments>
		<pubDate>Wed, 19 Oct 2011 14:48:25 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/programming/microsoft-and-hadoop</guid>
		<description><![CDATA[Looks like Microsoft is going to start integrating Hadoop based services in its server and database products. The services will be implemented in Windows Server, Azure and SQL Server 2012. Hadoop open source project which is if I may say for cloud and distributed computing came to the picture as I&#160; remember when Yahoo announced [...]]]></description>
			<content:encoded><![CDATA[<p>Looks like Microsoft is going to <a href="http://blogs.technet.com/b/microsoft_blog/archive/2011/10/12/microsoft-expands-data-platform-to-help-customers-manage-the-new-currency-of-the-cloud.aspx" target="_blank">start</a> integrating <a href="http://hadoop.apache.org" target="_blank">Hadoop</a> based services in its server and database products. The services will be implemented in Windows Server, Azure and SQL Server 2012.</p>
<p><a href="http://hadoop.apache.org" target="_blank">Hadoop</a> open source project which is if I may say for cloud and distributed computing came to the picture as I&#160; remember when Yahoo announced that they will be using it to store their data. That was long time ago. Later I also learned that other companies which need to manage their big volume of data like Google actually uses it too.</p>
<p>The good thing is that according to Microsoft’s statement is that existing Microsoft Business Intelligence tools will be compatible with <a href="http://hadoop.apache.org" target="_blank">Hadoop</a> implementation.</p>
<p>Microsoft’s <a href="http://hadoop.apache.org" target="_blank">Hadoop</a>’s efforts already showing results like a <a href="http://www.microsoft.com/download/en/details.aspx?id=27584" target="_blank">Hadoop to SQL Server connector</a> for importing and exporting and an ODBC driver for <a href="http://hive.apache.org/">Hive</a> for real time querying from business intelligence tools into <a href="http://hadoop.apache.org" target="_blank">Hadoop</a>.</p>
<p>Microsoft promised that they will contribute back whatever changes or additions they make and will commit to make it compatible with the open source project.</p>
<p>I love SQL Server and I’m glad to see this move from Microsoft. Hopefully this will help better manage big data requirements.</p>
<p><!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fprogramming%2Fmicrosoft-and-hadoop&amp;title=Microsoft%20and%20Hadoop" id="wpa2a_6"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/programming/microsoft-and-hadoop/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to save on Mobile bills in Syria</title>
		<link>http://www.bazerbashi.com/syria/how-to-save-on-mobile-bills-in-syria</link>
		<comments>http://www.bazerbashi.com/syria/how-to-save-on-mobile-bills-in-syria#comments</comments>
		<pubDate>Sun, 03 Jul 2011 07:12:47 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Syria]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/?p=253</guid>
		<description><![CDATA[Just wanted to share a few tips about reducing your mobile bill. So far we got two Mobile providers in Syria which are almost identical. SyriaTel and MTN. SMS It is not just in Syria, but in a lot of countries Mobile companies still charges a lot for SMS despite how simple it is. Lately [...]]]></description>
			<content:encoded><![CDATA[<p>Just wanted to share a few tips about reducing your mobile bill.</p>
<p>So far we got two Mobile providers in Syria which are almost identical. <a href="http://www.syriatel.sy">SyriaTel</a> and <a href="http://mtn.com.sy">MTN</a>.</p>
<p><strong><span style="font-size: small;">SMS</span></strong></p>
<p>It is not just in Syria, but in a lot of countries Mobile companies still charges a lot for SMS despite how simple it is.</p>
<p>Lately I noticed that MTN and SyriaTel are offering good bundles to reduce the SMS cost.</p>
<p>So I advice all the people who uses SMS to pick one of the offers below. It will even reduce your mobile bill while using SMS instead of calling <img src='http://www.bazerbashi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I think the 100 SMS is sweet.</p>
<p><strong>SyriaTel</strong></p>
<p>Send SMS with the code to number 1220:</p>
<table width="400" border="1" cellspacing="2" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="108"><strong>Messages</strong></td>
<td valign="top" width="96"><strong>Price</strong></td>
<td valign="top" width="100"><strong>Saving</strong></td>
<td valign="top" width="84"><strong>Code</strong></td>
</tr>
<tr>
<td valign="top" width="108">25 SMS</td>
<td valign="top" width="96">50 SYP</td>
<td valign="top" width="100">%67</td>
<td valign="top" width="84">ر 25</td>
</tr>
<tr>
<td valign="top" width="108">100 SMS</td>
<td valign="top" width="96">100 SYP</td>
<td valign="top" width="100">%83</td>
<td valign="top" width="84">ر 100</td>
</tr>
<tr>
<td valign="top" width="108">3000 SMS</td>
<td valign="top" width="100">1500 SYP</td>
<td valign="top" width="109">%92</td>
<td valign="top" width="103">ر 3000</td>
</tr>
</tbody>
</table>
<p><strong>MTN</strong></p>
<p>To subscribe call *111# and choose package number:</p>
<table width="400" border="1" cellspacing="2" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="200"><strong>Messages</strong></td>
<td valign="top" width="200"><strong>Price</strong></td>
</tr>
<tr>
<td valign="top" width="200">25 SMS</td>
<td valign="top" width="200">50 SYP</td>
</tr>
<tr>
<td valign="top" width="200">100 SMS</td>
<td valign="top" width="200">100 SYP</td>
</tr>
<tr>
<td valign="top" width="200">Unlimited</td>
<td valign="top" width="200">1500 SYP</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p><strong><span style="font-size: small;">GPRS</span></strong></p>
<p>While I still think that the GPRS cost is very high, the bundles are still a way to save some money if you need to use GPRS.</p>
<p><strong>SyriaTel</strong></p>
<p>Send SMS with the code to number 1221:</p>
<table width="400" border="1" cellspacing="2" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="108"><strong>Messages</strong></td>
<td valign="top" width="96"><strong>Price</strong></td>
<td valign="top" width="100"><strong>Saving</strong></td>
<td valign="top" width="84"><strong>Code</strong></td>
</tr>
<tr>
<td valign="top" width="108">3MB</td>
<td valign="top" width="96">50 SYP</td>
<td valign="top" width="100">%33</td>
<td valign="top" width="84">ج 3</td>
</tr>
<tr>
<td valign="top" width="108">5MB</td>
<td valign="top" width="96">75 SYP</td>
<td valign="top" width="100">%40</td>
<td valign="top" width="84">ج 5</td>
</tr>
<tr>
<td valign="top" width="108">12MB</td>
<td valign="top" width="100">150 SYP</td>
<td valign="top" width="109">%50</td>
<td valign="top" width="103">ج 12</td>
</tr>
<tr>
<td valign="top" width="108">25MB</td>
<td valign="top" width="100">250 SYP</td>
<td valign="top" width="109">%60</td>
<td valign="top" width="103">ج 25</td>
</tr>
</tbody>
</table>
<p><strong>MTN</strong></p>
<p>To subscribe call *111# and choose package number:</p>
<table width="400" border="1" cellspacing="2" cellpadding="2">
<tbody>
<tr>
<td valign="top" width="200"><strong>Messages</strong></td>
<td valign="top" width="200"><strong>Price</strong></td>
</tr>
<tr>
<td valign="top" width="200">3MB</td>
<td valign="top" width="200">50 SYP</td>
</tr>
<tr>
<td valign="top" width="200">5MB</td>
<td valign="top" width="200">75 SYP</td>
</tr>
<tr>
<td valign="top" width="200">12MB</td>
<td valign="top" width="200">150 SYP</td>
</tr>
<tr>
<td valign="top" width="200">25MB</td>
<td valign="top" width="200">250 SYP</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>Well that&#8217;s set for now, hope you like it <img src='http://www.bazerbashi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fsyria%2Fhow-to-save-on-mobile-bills-in-syria&amp;title=How%20to%20save%20on%20Mobile%20bills%20in%20Syria" id="wpa2a_8"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/syria/how-to-save-on-mobile-bills-in-syria/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twitter Plugin for Windows Live Photo Gallery</title>
		<link>http://www.bazerbashi.com/programming/twitter-plugin-for-windows-live-photo-gallery</link>
		<comments>http://www.bazerbashi.com/programming/twitter-plugin-for-windows-live-photo-gallery#comments</comments>
		<pubDate>Sat, 11 Jun 2011 11:43:34 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/?p=153</guid>
		<description><![CDATA[Windows Live Essentials comes with lot of awesome applications. My favorite is Windows Live Photo Gallery. Nice way of organizing and sharing your photos. Most favorite feature is facial recognition, which let you find photos by faces. After adding photos it starts recognizing faces and ask you to tag the persons in the photos. After [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://explore.live.com/windows-live-essentials" target="_blank">Windows Live Essentials</a> comes with lot of awesome applications.</p>
<p>My favorite is <a href="http://explore.live.com/windows-live-photo-gallery" target="_blank">Windows Live Photo Gallery</a>. Nice way of organizing and sharing your photos. Most favorite feature is facial recognition, which let you find photos by faces.</p>
<p>After adding photos it starts recognizing faces and ask you to tag the persons in the photos. After tagging people the application starts guessing the persons in the photos and asks if the guess was correct or not. And it gets better at it very fast.</p>
<p>So in the future, whenever you add new photos it will automatically tag people. I started adding really old photos, and I was surprised by its ability to guess that it&#8217;s me in a very old photo when I was about 3 years old! So smart!</p>
<p>Other great feature is how easy it is to share photos and videos. Out of the box you can submit your files to <a href="http://explore.live.com/windows-live-skydrive" target="_blank">SkyDrive</a> (Awesome free 25GB space from Microsoft), Flickr, Youtube and others. But I couldn&#8217;t find an option for Twitter!</p>
<p>That&#8217;s why I started making a Twitter plugin for Windows Live Photo Gallery. And I made it open source since I couldn&#8217;t find any open source plugin for the Windows Live Photo Gallery.</p>
<p>I used <a href="http://codeplex.com" target="_blank">CodePlex </a>to host the project and <a href="http://tortoisehg.bitbucket.org/" target="_blank">TortoiseHg</a> for distributed revision control system.</p>
<p>Please note that this project is not complete yet. What is left for now is the integration with Windows Live Gallery.</p>
<p>What I&#8217;ve finished and is working now is uploading a photo to TwitPic and then post it to Twitter along with a message. What&#8217;s left is only using the Windows Live Gallery SDK to communicate with this little application.</p>
<p>The project is hosted here: <a href="http://twitter4wlpg.codeplex.com" target="_blank">http://twitter4wlpg.codeplex.com/</a></p>
<p>You are welcome if you would like to give a hand <img src='http://www.bazerbashi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fprogramming%2Ftwitter-plugin-for-windows-live-photo-gallery&amp;title=Twitter%20Plugin%20for%20Windows%20Live%20Photo%20Gallery" id="wpa2a_10"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/programming/twitter-plugin-for-windows-live-photo-gallery/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grilled Chicken breast with Lemon and Thyme</title>
		<link>http://www.bazerbashi.com/personal/grilled-chicken-breast-with-lemon-and-thyme</link>
		<comments>http://www.bazerbashi.com/personal/grilled-chicken-breast-with-lemon-and-thyme#comments</comments>
		<pubDate>Wed, 08 Jun 2011 06:22:57 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Cooking]]></category>
		<category><![CDATA[Food]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/?p=137</guid>
		<description><![CDATA[Growing Thyme at home inspired me to cook something. I opened the fridge and decided to use whatever I find. Ingredients: 1/2 Kilo of skinless boneless Chicken breast 2 Lemons 3 spoons Olive oil Pepper and Salt 1 tea spoon of smashed garlic Fresh Thyme Flour (Decided not to use it) Instructions: I though it [...]]]></description>
			<content:encoded><![CDATA[<p>Growing Thyme at home inspired me to cook something.</p>
<p>I opened the fridge and decided to use whatever I find.</p>
<p><strong>Ingredients:</strong><br />
<a href="http://www.bazerbashi.com/wp-content/uploads/2011/06/20110608-075016.jpg" rel="lightbox[137]" title="Grilled Chicken breast with Lemon and Thyme"><img class="alignnone size-full" src="http://www.bazerbashi.com/wp-content/uploads/2011/06/20110608-075016.jpg" alt="20110608-075016.jpg" /></a></p>
<ul>
<li>1/2 Kilo of skinless boneless Chicken breast</li>
<li>2 Lemons</li>
<li>3 spoons Olive oil</li>
<li>Pepper and Salt</li>
<li>1 tea spoon of smashed garlic</li>
<li>Fresh Thyme</li>
<li><del>Flour</del> (Decided not to use it)</li>
</ul>
<p><strong>Instructions:</strong></p>
<p>I though it would taste good if I soak the Chicken with Lemon, so I squeezed a Lemon and a half into a plastic bag to soak the Chicken in it. Before that I splashed the Chicken breast with some salt and pepper. After that I placed the Chicken in the bag with some fresh Thyme leafs.</p>
<p><a href="http://www.bazerbashi.com/wp-content/uploads/2011/06/20110608-075035.jpg" rel="lightbox[137]" title="Grilled Chicken breast with Lemon and Thyme"><img class="alignnone size-full" src="http://www.bazerbashi.com/wp-content/uploads/2011/06/20110608-075035.jpg" alt="20110608-075035.jpg" /></a></p>
<p>And I left it in the fridge for about an hour.</p>
<p>When it was cooking time I spilled the olive oil on the pan and was heating it up on low fire, because I know olive oil gets hot quickly. Now it is garlic time. I love garlic, actually I love eating it but not getting it ready  to be eaten. Thankfully my dear wife has already smashed some garlic and was stored in the fridge. Phew!</p>
<p>I tossed the garlic in the pan and moved them around till they started getting brown. Then I took the Chicken out of the plastic bag and started cooking it. I also spilled the Lemon which was left in the bag into the pan. Kept on flipping the Chicken until the Lemon and olive oil almost completely dried and the Chicken was brown. Yum! The smell was awesome! Oh writing this now made drool <img src='http://www.bazerbashi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://www.bazerbashi.com/wp-content/uploads/2011/06/20110608-075100.jpg" rel="lightbox[137]" title="Grilled Chicken breast with Lemon and Thyme"><img class="alignnone size-full" src="http://www.bazerbashi.com/wp-content/uploads/2011/06/20110608-075100.jpg" alt="20110608-075100.jpg" /></a></p>
<p>After the grilling was done I sprayed around some more fresh not cooked Thyme and squeezed the left half of Lemon over the Chicken. That&#8217;s set! It is now ready. To add more to the dish I just fried some french fries and I&#8217;m done.</p>
<p><a href="http://www.bazerbashi.com/wp-content/uploads/2011/06/20110608-075136.jpg" rel="lightbox[137]" title="Grilled Chicken breast with Lemon and Thyme"><img class="alignnone size-full" src="http://www.bazerbashi.com/wp-content/uploads/2011/06/20110608-075136.jpg" alt="20110608-075136.jpg" /></a></p>
<p><a href="http://www.bazerbashi.com/wp-content/uploads/2011/06/20110608-075153.jpg" rel="lightbox[137]" title="Grilled Chicken breast with Lemon and Thyme"><img class="alignnone size-full" src="http://www.bazerbashi.com/wp-content/uploads/2011/06/20110608-075153.jpg" alt="20110608-075153.jpg" /></a></p>
<p>I never did a big meal before, no bigger than a Burger with french fries, but I was happy about the results and my wife approve too <img src='http://www.bazerbashi.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> <!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fpersonal%2Fgrilled-chicken-breast-with-lemon-and-thyme&amp;title=Grilled%20Chicken%20breast%20with%20Lemon%20and%20Thyme" id="wpa2a_12"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/personal/grilled-chicken-breast-with-lemon-and-thyme/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Thyme</title>
		<link>http://www.bazerbashi.com/personal/thyme</link>
		<comments>http://www.bazerbashi.com/personal/thyme#comments</comments>
		<pubDate>Mon, 23 May 2011 16:41:15 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Drink]]></category>
		<category><![CDATA[Food]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/thoughts/thyme</guid>
		<description><![CDATA[Well I wanted to test WordPress for iPhone. Seems nice for mobile blogging. Above is what I&#8217;m drinking. Home grown Thyme! Yup. It&#8217;s awesome for when having a flu and to refresh the respiratory system. So this new WordPress iPhone app might actually get me blogging more.]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.bazerbashi.com/wp-content/uploads/2011/05/20110523-074208.jpg" rel="lightbox[131]" title="Thyme"><img src="http://www.bazerbashi.com/wp-content/uploads/2011/05/20110523-074208.jpg" alt="20110523-074208.jpg" class="alignnone size-full" /></a><br />
Well I wanted to test WordPress for iPhone. Seems nice for mobile blogging.</p>
<p>Above is what I&#8217;m drinking. Home grown Thyme! Yup. It&#8217;s awesome for when having a flu and to refresh the respiratory system.</p>
<p>So this new WordPress iPhone app might actually get me blogging more.<!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fpersonal%2Fthyme&amp;title=Thyme" id="wpa2a_14"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/personal/thyme/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thoughts about smart phones operating systems</title>
		<link>http://www.bazerbashi.com/technology/thoughts-about-smart-phones-operating-systems</link>
		<comments>http://www.bazerbashi.com/technology/thoughts-about-smart-phones-operating-systems#comments</comments>
		<pubDate>Tue, 05 Apr 2011 12:43:00 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/?p=118</guid>
		<description><![CDATA[We are becoming very dependent on our mobile devices. They are being used on a daily basis for communications, getting tasks done and even for entertainment. Google has a nice video here to give you an insight of how important the mobile devices are becoming. Mobile devices comes in many different shapes and styles, but [...]]]></description>
			<content:encoded><![CDATA[<p>We are becoming very dependent on our mobile devices. They are being used on a daily basis for communications, getting tasks done and even for entertainment.</p>
<p>Google has a nice video <a href="http://www.youtube.com/watch?v=CjUcq_E4I-s" target="_blank">here</a> to give you an insight of how important the mobile devices are becoming.</p>
<p>Mobile devices comes in many different shapes and styles, but I think what is more important than the hardware is its operating system.</p>
<p><strong>Symbian</strong></p>
<p>Dead! I have used Symbian ever since I got my first mobile. They were the best back then and until just recently. But Nokia had to make a change and now they are tied with Windows Phone 7.</p>
<p><strong>Android</strong></p>
<p>Pretty much a copy cat! Maybe this is a bit harsh, but this what I really think. Of course I mean copying iOS. Same grid of icons style and many other things. The only cool thing I see about Android is how easy it is to customize everything. Heck, I can even replace the SMS app! Which personally never thought of it before. At the end I feel it is clunky and more geek oriented. Not very much for the normal user. Many analysis companies predicting its dominance in the future. In my opinion that is because it is free. Free for the hardware companies to install it on their devices. Which make them able of shipping many kinds of hardware with Android system. Still, I don&#8217;t like the user experience with it.</p>
<p>As for developing for Android you use sort of Java. Probably will use Eclipse or what ever IDE you like.</p>
<p>Coming from .NET development, I didn&#8217;t like it! The IDE compared to Visual Studio is just lame.</p>
<p><strong>Windows Phone 7</strong></p>
<p>I was so excited when I heard Microsoft are working on a new version of their mobile system which will be done from scratch. And I think they delivered. They came out with a unique design and user experience. They didn&#8217;t just imitate other operating systems! You really feel that they had researchers who worked to study each aspect of it. For example, you can see <a href="http://research.microsoft.com/en-us/news/features/wp7keyboard-042811.aspx" target="_blank">here</a> how they had a team to research the best way to make a virtual on screen keyboard.</p>
<p>Windows Phone 7 now is still a version 1 which means it still lacks some stuff and behind more mature operating systems such as Android and iOS. Also seems to have restrictions on developers more than what iOS had when it was out.</p>
<p>As Microsoft promised in Mix 11 event, all of these issues will be address with Mango update which is probably coming out on September 2011.</p>
<p>As for developing for Windows Phone 7, Microsoft got the best tools for it, and they are free!</p>
<p>Microsoft is mainly a software company, so I think they got the best developing tools.</p>
<p>Windows Phone 7 has a bright future in my opinion.</p>
<p><strong>iOS</strong></p>
<p>Smooth, currently best user experience, mature. That&#8217;s it!</p>
<p>I think Apple are truly innovators. They ask for premium prices, but in exchange they give you delicious hardware and great user experience.<!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Ftechnology%2Fthoughts-about-smart-phones-operating-systems&amp;title=Thoughts%20about%20smart%20phones%20operating%20systems" id="wpa2a_16"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/technology/thoughts-about-smart-phones-operating-systems/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Qualified companies competing for the third mobile operator in Syria announced</title>
		<link>http://www.bazerbashi.com/syria/qualified-companies-competing-for-the-third-mobile-operator-in-syria-announced</link>
		<comments>http://www.bazerbashi.com/syria/qualified-companies-competing-for-the-third-mobile-operator-in-syria-announced#comments</comments>
		<pubDate>Thu, 02 Dec 2010 10:31:06 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Syria]]></category>
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/?p=110</guid>
		<description><![CDATA[According to a document released by the Syrian Ministry of Communication and Technology, the finalists companies competing to nab the license for the third mobile operator in Syria are: Emirates Telecommunications Corporation (UAE) France Telecom (France) Qatar Telecom QSC (Qatar) Saudi Telecom company (KSA) Turkcell (Turkey) After being qualified,  the companies will start submitting their [...]]]></description>
			<content:encoded><![CDATA[<p>According to a <a href="http://www.moct.gov.sy/moct/sites/default/files/Prequalification-Results.pdf" target="_blank">document</a> released by the Syrian Ministry of Communication and Technology, the finalists companies competing to nab the license for the third mobile operator in Syria are:</p>
<ul>
<li><del>Emirates Telecommunications Corporation (UAE) </del></li>
<li>France Telecom (France)</li>
<li>Qatar Telecom QSC (Qatar)</li>
<li>Saudi Telecom company (KSA)</li>
<li>Turkcell (Turkey)</li>
</ul>
<p>After being qualified,  the companies will start submitting their proposals on the 12th of December.</p>
<p>Third mobile operator, we are waiting for you <img src='http://www.bazerbashi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><strong>UPDATE:</strong> UAE Etisalat quit the bidding, they&#8217;re uncool with the regulations. <a title="Source" href="http://www.aliqtisadi.com/pages/Article.aspx?articleid=11715" target="_blank">Source</a>.<!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fsyria%2Fqualified-companies-competing-for-the-third-mobile-operator-in-syria-announced&amp;title=Qualified%20companies%20competing%20for%20the%20third%20mobile%20operator%20in%20Syria%20announced" id="wpa2a_18"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/syria/qualified-companies-competing-for-the-third-mobile-operator-in-syria-announced/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Closing unnecessary Windows Services for more RAM</title>
		<link>http://www.bazerbashi.com/software/closing-unnecessary-windows-services-for-more-ram</link>
		<comments>http://www.bazerbashi.com/software/closing-unnecessary-windows-services-for-more-ram#comments</comments>
		<pubDate>Sun, 26 Sep 2010 13:26:43 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/?p=108</guid>
		<description><![CDATA[After upgrading my old machine, I started installing my Development tools. One of the tools I use is Microsoft SQL Server 2008 for creating Databases and Business Intelligence. From my experience that tool is not very CPU or RAM friendly . It runs a lot of services like the Reporting service, Integration Services&#8230;etc. I didn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>After <a href="http://www.bazerbashi.com/technology/upgrading-an-old-pc" target="_blank">upgrading my old machine</a>, I started installing my Development tools. One of the tools I use is Microsoft SQL Server 2008 for creating Databases and Business Intelligence. From my experience that tool is not very CPU or RAM friendly <img src='http://www.bazerbashi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  . It runs a lot of services like the Reporting service, Integration Services&#8230;etc.</p>
<p>I didn&#8217;t want these services to hog the computer for normal usage, so I created a simple batch file to close these unnecessary service.</p>
<p>To create a batch file just create a new empty text file and rename it to have the extension <strong>.bat</strong>.</p>
<p>In my batch file I&#8217;m shutting down MS SQL Server services and VMWare services:</p>
<blockquote><p>net stop VMAuthdService<br />
net stop VMnetDHCP<br />
net stop &#8220;VMware NAT Service&#8221;<br />
net stop &#8220;VMUSBArbService&#8221;<br />
net stop SQLWriter<br />
net stop SQLBrowser<br />
net stop SQLAgent$MSSQLSERVER2008<br />
net stop MSSQLFDLauncher$MSSQLSERVER2008<br />
net stop MSSQL$SQLEXPRESS<br />
net stop MSSQL$MSSQLSERVER2008<br />
net stop MSOLAP$MSSQLSERVER2008<br />
net stop MsDtsServer100<br />
net stop ReportServer$MSSQLSERVER2008</p></blockquote>
<p>Note that the SQL Services&#8217; names are probably different on your machine. It depends on what did you call your Database&#8217;s instance name.</p>
<p>Here is a <a href="http://blogs.technet.com/b/fort_sql/archive/2010/05/31/list-of-sql-server-service-names.aspx" target="_self">list of SQL Server services names</a>.</p>
<p>To start the services again, just create another batch file and use &#8220;net start&#8221; instead of &#8220;net stop&#8221;.<!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fsoftware%2Fclosing-unnecessary-windows-services-for-more-ram&amp;title=Closing%20unnecessary%20Windows%20Services%20for%20more%20RAM" id="wpa2a_20"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/software/closing-unnecessary-windows-services-for-more-ram/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Upgrading an old PC</title>
		<link>http://www.bazerbashi.com/technology/upgrading-an-old-pc</link>
		<comments>http://www.bazerbashi.com/technology/upgrading-an-old-pc#comments</comments>
		<pubDate>Wed, 22 Sep 2010 13:29:48 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/?p=107</guid>
		<description><![CDATA[I remember the day I received my AMD Athlon 64 PC, I was ecstatic! Taking photos of it from the inside and outside. Man I was so proud of it. It had an MSI K8T Neo-FIS2R motherboard, 512MB DDR RAM, GeForce Fx 5200 128MB and an AMD Athlon 64 3200+ processor. I got it in [...]]]></description>
			<content:encoded><![CDATA[<p>I remember the day I received my AMD Athlon 64 PC, I was ecstatic! Taking photos of it from the inside and outside. Man I was so proud of it.</p>
<p>It had an <a href="http://www.msi.com/index.php?func=proddesc&amp;maincat_no=1&amp;cat2_no=&amp;cat3_no=&amp;prod_no=565" target="_blank">MSI K8T Neo-FIS2R</a> motherboard, 512MB DDR RAM, GeForce Fx 5200 128MB and an AMD Athlon 64 3200+ processor.</p>
<p>I got it in the 2004 and it was top of the line. Now we are in the 2010 and it&#8217;s been almost 7 years.</p>
<p>My hope was to make it able to run Windows 7 and let me do my Development job smoothly and let my dear wife enjoy some games on it (The Sims 3 <img src='http://www.bazerbashi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ).</p>
<p>Windows 7 min RAM requirements is around 1 GB. RAM Upgrade is a must. I wasn&#8217;t sure what type of RAM I should get, so I was glad to get help from <a href="http://www.crucial.com/uk/systemscanner/index.aspx" target="_blank">Crucial System Scanner Tool</a> to detect my motherboard model and suggest the correct memory upgrade. So I went ahead and got extra 2 GB RAM to have a total of 2.5 GB of RAM (Yummy!). Costed around $75.</p>
<p>I know my graphics card is probably old for Windows 7, but I wanted to try and see if it could work.</p>
<p>I inserted Windows 7 installation DVD and restarted the computer to boot from the DVD and do the installation. It gave me an error message saying &#8220;<em>CDBOOT: Cannot boot from CD &#8211; Code: 5</em>&#8220;. WHAT! WHY? I&#8217;ve just installed a fresh 2GB RAM for you man, don&#8217;t fail me! <img src='http://www.bazerbashi.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  After researching online about this issue it was clear that Windows 7 installation DVD had an issue to boot with my old MSI motherboard. Lucky me I found a workaround this issue by patching the installation DVD using the instructions found <a href="http://www.unawave.de/windows-7-tipps/code5-error.html?lang=EN" target="_blank">here</a> which worked like a charm <img src='http://www.bazerbashi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The installation was a breeze. The system rebooted and everything was working. Sound, Graphics..etc. Yuppie! Wait a minute, the graphics doesn&#8217;t look clear and my external Wifi USB is not working too. Ugh. Windows 7 Aero effect isn&#8217;t working. Went to <a href="http://www.nvidia.com" target="_blank">nVidia</a> web site and downloaded the driver, also visited Linksys site to download the driver for the external WiFi USB WUSBF54g. I found a good advice on the net that I could just use WiFi driver files instead of installing Linksys application which wasn&#8217;t compatible with Windows 7.</p>
<p>After installing the drivers my WLAN was working and also Windows 7 Aero effect worked! Everything is working.</p>
<p>I installed the new Visual Studio 2010 and then the Windows Phone 7 development tools to see how things are working. The application was launched quickly, actually any application launches quickly, but moving the windows around is so annoying, slow and jumpy. So my RAM wasn&#8217;t enough? I checked the RAM and %20 only was used. It is now obvious that this is because of my graphic card.</p>
<p>My graphic card should be put to rest. Its fan was noisy anyway.</p>
<p>The hunt for a new graphic card started, and with it I remembered the exciting feeling I used to have looking for a good kind of RAM, graphic cards and other computer components.</p>
<p>The max my motherboard can handle is AGP 8x, so after researching I chose my new graphic card <a href="http://www.msi.com/index.php?func=proddesc&amp;maincat_no=130&amp;prod_no=1381" target="_blank">MSI NX6200AX 256MB DDR2</a> which can also run The Sims 3 <img src='http://www.bazerbashi.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' />  . Costed me around $37.</p>
<p>So now for around $100 I have revived my old machine and made it work pretty well <img src='http://www.bazerbashi.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> <!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Ftechnology%2Fupgrading-an-old-pc&amp;title=Upgrading%20an%20old%20PC" id="wpa2a_22"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/technology/upgrading-an-old-pc/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cleaner streets campaign</title>
		<link>http://www.bazerbashi.com/syria/cleaner-streets-campaign</link>
		<comments>http://www.bazerbashi.com/syria/cleaner-streets-campaign#comments</comments>
		<pubDate>Tue, 03 Nov 2009 10:39:43 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Syria]]></category>
		<category><![CDATA[Events]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/?p=104</guid>
		<description><![CDATA[While visiting a computer store, I noticed a pile of paper bags with some brochures at the desk, on a closer look I found a pleasant surprise! It was a campaign for having a cleaner street focusing on the habit of throwing trash out of the car&#8217;s window! Which is something I totally despise! The [...]]]></description>
			<content:encoded><![CDATA[<p>While visiting a <a href="http://digitalnet.biz/" target="_blank">computer store</a>, I noticed a pile of paper bags with some brochures at the desk, on a closer look I found a pleasant surprise!<a href="http://www.bazerbashi.com/wp-content/uploads/2009/11/02112009014.jpg" rel="lightbox[104]" title="For cleaner streets campaign"><img class="alignright size-thumbnail wp-image-105" title="For cleaner streets campaign" src="http://www.bazerbashi.com/wp-content/uploads/2009/11/02112009014-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>It was a campaign for having a cleaner street focusing on the habit of throwing trash out of the car&#8217;s window! Which is something I totally despise!</p>
<p>The campaign package consists of two things, the brochure which talks about how it is very hard to collect all the trash thrown out of the car&#8217;s window and how it needs an army of cleaners to collect that trash, because of course there are a lot of cars and a lot of people who are not aware of this issue. The second thing is a paper bag which you can stick on the car&#8217;s interior and put your trash in. Nice idea!</p>
<p>It is really nice to see people getting more aware and more civilized about this issue!</p>
<p>Thanks for the organizers and sponsors of this campaign:</p>
<p>Execution and planning:</p>
<p>- Scouts Syria<br />
- UNHCR Damascus<br />
- Twenty-fourth Division</p>
<p>Sponsors:</p>
<p>- <a href="http://digitalnet.biz/" target="_blank">DigitalNet</a><br />
- <a href="http://zad.sy/" target="_blank">Zad ISP</a><br />
- <a href="http://www.alwaten-syria.com" target="_blank">Al Waten</a><!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fsyria%2Fcleaner-streets-campaign&amp;title=Cleaner%20streets%20campaign" id="wpa2a_24"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/syria/cleaner-streets-campaign/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Synaptic or apt-get through a proxy</title>
		<link>http://www.bazerbashi.com/software/synaptic-or-apt-get-through-a-proxy</link>
		<comments>http://www.bazerbashi.com/software/synaptic-or-apt-get-through-a-proxy#comments</comments>
		<pubDate>Tue, 06 Oct 2009 13:53:47 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/?p=103</guid>
		<description><![CDATA[If you are like me behind a Microsoft ISA server proxy on a domain network or any other type of proxy, you will find problems getting the Linux applications Synaptic package manager or apt-get to work. The best way I came across to solve this issue is to use a software called ntlmaps. This application [...]]]></description>
			<content:encoded><![CDATA[<p>If you are like me behind a Microsoft ISA server proxy on a domain network or any other type of proxy, you will find problems getting the Linux applications Synaptic package manager or apt-get to work.</p>
<p>The best way I came across to solve this issue is to use a software called <a href="http://ntlmaps.sourceforge.net/">ntlmaps</a>.</p>
<p>This application is a proxy software that allows you to authenticate via an MS Proxy Server using the proprietary NTLM protocol. This is useful when you start getting error &#8220;Error 407 Proxy Authentication Required&#8221; which drove me crazy the whole day!</p>
<p>I&#8217;m using Ubuntu as my Linux OS. If you were able to make Firefox work so you can go to http://packages.ubuntu.com/ , select your Ubuntu edition , browse all packages and look for ntlmaps, download it and install it.</p>
<p>After that open the file /etc/ntlmaps/server.cfg and make sure you fill the parameters correctly such as the Listening port (The port to use in the proxy) NT_HOSTNAME (Which is the Domain Controller&#8217;s computer name on the network) and NT_Domain.</p>
<p>After that configure the Network proxy to use your new proxy for example: 127.0.0.1:5865</p>
<p>Good luck <img src='http://www.bazerbashi.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> <!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fsoftware%2Fsynaptic-or-apt-get-through-a-proxy&amp;title=Synaptic%20or%20apt-get%20through%20a%20proxy" id="wpa2a_26"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/software/synaptic-or-apt-get-through-a-proxy/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Married</title>
		<link>http://www.bazerbashi.com/personal/married</link>
		<comments>http://www.bazerbashi.com/personal/married#comments</comments>
		<pubDate>Mon, 14 Sep 2009 08:14:42 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Events]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/?p=101</guid>
		<description><![CDATA[Thanks to Allah I got married to the most beautiful lady This is the biggest thing in my life and there is nothing like it&#8230; I hope everyone would have the chance to have this too.]]></description>
			<content:encoded><![CDATA[<p>Thanks to Allah I got married to the most beautiful lady <img src='http://www.bazerbashi.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<p>This is the biggest thing in my life and there is nothing like it&#8230;</p>
<p>I hope everyone would have the chance to have this too.<!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fpersonal%2Fmarried&amp;title=Married" id="wpa2a_28"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/personal/married/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Handle Date formats problems in .NET</title>
		<link>http://www.bazerbashi.com/programming/handle-date-formats-problems-in-net</link>
		<comments>http://www.bazerbashi.com/programming/handle-date-formats-problems-in-net#comments</comments>
		<pubDate>Wed, 03 Jun 2009 11:11:43 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[VB.NET]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/?p=100</guid>
		<description><![CDATA[Recently I faced a problem when I was deploying a project on a remote server. Locally my ASP.Net web application was working like breeze, but when I deployed it on a remote server the problem appeared. When the user try to generate a report selecting a date range and hit go, the user gets an [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I faced a problem when I was deploying a project on a remote server.</p>
<p>Locally my ASP.Net web application was working like breeze, but when I deployed it on a remote server the problem appeared. When the user try to generate a report selecting a date range and hit go, the user gets an error message &#8220;String was not recognized as a valid DateTime&#8221;.</p>
<p>The report is consisted of two Calendars with &#8220;<strong>dd/MM/yyyy</strong>&#8221; date format, a Grid View and a Text box to filter the grid. I used the Visual Studio to create the GridView which takes the <strong>Select</strong> parameters from both Calendars when binding. The date column in the MS SQL Server 2005 is of <strong>DateTime</strong> format and it shows like &#8220;31/05/ 2009 11:10:00 AM&#8221;.</p>
<p>So obviously there is a misunderstanding of the date entered, which means a difference in the <strong>Culture </strong>environment. I tried changing the regional settings of the server to match local machines settings, but that didn&#8217;t work; still the same error. I also tried to force the <strong>Culture</strong> info in the <strong>web.config</strong>, but that also didn&#8217;t work for me!</p>
<p>Then I was only left with formatting the date manually to the server&#8217;s taste <img src='http://www.bazerbashi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>To do that, I used the <strong>Selecting</strong> event of the <strong>SQL Data Source</strong> to modify the parameter data before going to the Database. Note that if your case is with updating or deleting, .Net also has those events for you to use.</p>
<p>So I used the following function to convert the date format of my Calendar which is &#8220;<strong>dd/MM/yyyy</strong>&#8221; to whatever the machine likes <img src='http://www.bazerbashi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  (Is compatible with).</p>
<p>Public Shared Function ConvertToDate(ByVal dateString As String, ByRef result As DateTime) As Boolean<br />
Try</p>
<p>&#8216;Here is the date format you desire to use</p>
<p>Dim supportedFormats() As String = New String() {&#8220;dd/MM/yyyy&#8221;}</p>
<p>&#8216;Now it will be converted to what the machine supports</p>
<p>result = DateTime.ParseExact(dateString, supportedFormats,System.Globalization.CultureInfo.CurrentCulture, System.Globalization.DateTimeStyles.None)</p>
<p>Return True<br />
Catch ex As Exception<br />
Return False<br />
End Try<br />
End Function</p>
<p>And from the <strong>Selecting</strong> event of the <strong>SQL Data Source</strong>:</p>
<p>Protected Sub SqlDataSource1_Selecting(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.SqlDataSourceSelectingEventArgs) Handles SqlDataSource1.Selecting</p>
<p>Dim d1, d2 As Date</p>
<p>If txtFrom.Text &lt;&gt; &#8220;&#8221; And txtTo.Text &lt;&gt; &#8220;&#8221; Then</p>
<p>ConvertToDate(txtFrom.Text, d1)<br />
ConvertToDate(txtTo.Text, d2)</p>
<p>e.Command.Parameters.Item(0).Value = d1</p>
<p>e.Command.Parameters.Item(1).Value = d2<br />
End If<br />
End Sub</p>
<p>I just wanted to share this, I hope this would help <img src='http://www.bazerbashi.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> <!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fprogramming%2Fhandle-date-formats-problems-in-net&amp;title=Handle%20Date%20formats%20problems%20in%20.NET" id="wpa2a_30"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/programming/handle-date-formats-problems-in-net/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>ADSL new prices in Syria</title>
		<link>http://www.bazerbashi.com/syria/adsl-new-prices-in-syria</link>
		<comments>http://www.bazerbashi.com/syria/adsl-new-prices-in-syria#comments</comments>
		<pubDate>Thu, 05 Mar 2009 12:14:47 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Syria]]></category>
		<category><![CDATA[ADSL]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/?p=99</guid>
		<description><![CDATA[Ok so after like two years since the last ADSL prices cut, they did it again. This time they introduced new type of subscription which depends on how much of Gigs you download. Prices are as follow: Limited by bandwidth 256 Kbps costs 900 SP a month (~ $19) &#8211; 2 GB bandwidth &#8211; each [...]]]></description>
			<content:encoded><![CDATA[<p>Ok so after like two years since the last ADSL prices cut, they did it again.</p>
<p>This time they introduced new type of subscription which depends on how much of Gigs you download.</p>
<p>Prices are as follow:</p>
<p><strong>Limited by bandwidth</strong></p>
<p>256 Kbps costs 900 SP a month (~ $19) &#8211; 2 GB bandwidth &#8211; each extra 1 GB costs 200 SP (~ $4)</p>
<p>512 Kbps costs 1200 SP a month (~ $25) &#8211; 4 GB bandwidth &#8211; each extra 1 GB costs 200 SP (~ $4)</p>
<p><strong>Flat rate (Open bandwidth)<br />
</strong></p>
<p>256 Kbps costs 1450 SP a month (~ $30)</p>
<p>512 Kbps costs 2300 SP a month (~ $48)</p>
<p>1 Mbps costs 3350 SP a month (~ $71)</p>
<p>2 Mbps costs 6100 SP a month (~ $130)</p>
<p>4 Mbps costs 11600 SP a month (~ $246)</p>
<p>8 Mbps costs 22600 SP a month (~ $480)</p>
<p>So these are the new prices, what do you think?</p>
<p>Well I don&#8217;t they are bad.</p>
<p>But the crappy thing is that they doesn&#8217;t have any subscriptions available!! It means that if you and want to subscribe, they got non! That&#8217;s what they say. Speed and stablility still sucks.</p>
<p>So what good are the new prices if there is no subscriptions!!?????<!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fsyria%2Fadsl-new-prices-in-syria&amp;title=ADSL%20new%20prices%20in%20Syria" id="wpa2a_32"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/syria/adsl-new-prices-in-syria/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>How to Dispose a Form in C# without closing the Application</title>
		<link>http://www.bazerbashi.com/programming/how-to-dispose-a-form-in-c-without-closing-the-application</link>
		<comments>http://www.bazerbashi.com/programming/how-to-dispose-a-form-in-c-without-closing-the-application#comments</comments>
		<pubDate>Sun, 11 Jan 2009 17:28:37 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/?p=97</guid>
		<description><![CDATA[As a good programmer you should be thinking about the resources your software uses and be as gentle as possible on the Computer&#8217;s memory. With C# you would be probably clearing the objects you no longer need from the memory using the Dispose method. But if you dispose a Windows Form in C#, the whole [...]]]></description>
			<content:encoded><![CDATA[<p>As a good programmer you should be thinking about the resources your software uses and be as gentle as possible on the Computer&#8217;s memory.</p>
<p>With C# you would be probably clearing the objects you no longer need from the memory using the Dispose method.</p>
<p>But if you dispose a Windows Form in C#, the whole application will quit! WHY?</p>
<p>That&#8217;s because by default C# select a start up form defined in the Program.cs file like this:</p>
<blockquote><p>Application.Run(new Form1());</p></blockquote>
<p>So to fix this just delete the &#8220;new Form1()&#8221; , and load up an instance of the form you want from Main() in the Program.cs so the whole thing will look like:</p>
<blockquote><p>Form1 frm1 = new Form1();<br />
frm1.Show();<br />
Application.Run();</p></blockquote>
<p>Now you can load and dispose forms all you want without the application quiting on you:)<!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fprogramming%2Fhow-to-dispose-a-form-in-c-without-closing-the-application&amp;title=How%20to%20Dispose%20a%20Form%20in%20C%23%20without%20closing%20the%20Application" id="wpa2a_34"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/programming/how-to-dispose-a-form-in-c-without-closing-the-application/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>SyriaTel releasing a new service – My Backup</title>
		<link>http://www.bazerbashi.com/syria/syriatel-releasing-a-new-service-my-backup</link>
		<comments>http://www.bazerbashi.com/syria/syriatel-releasing-a-new-service-my-backup#comments</comments>
		<pubDate>Wed, 18 Jun 2008 07:35:39 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Syria]]></category>
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/?p=93</guid>
		<description><![CDATA[One of the two Mobile networks in Syria, SyriaTel, is about to release a new service called &#8220;My Backup&#8221;. The service let you backup your mobile by first installing a software from the company (a .sis file some program) and then it uploads all kinds of data from the mobile like the SMS, MMS, Contacts, [...]]]></description>
			<content:encoded><![CDATA[<p>One of the two Mobile networks in Syria, <a href="http://www.syriatel.com" target="_blank">SyriaTel</a>, is about to release a new service called &#8220;My Backup&#8221;.</p>
<p>The service let you backup your mobile by first installing a software from the company (<del datetime="2008-06-18T18:58:05+00:00">a .sis file</del> some program) and then it uploads all kinds of data from the mobile like the SMS, MMS, Contacts, Calendar, and folders to be stored online, where you can manage them.</p>
<p>I heard the service will be like a subscription, there is a 3 months plan, 6 months, and a year subscription. The one year subscription costs 350 S.P (~$8). Without GPRS costs probably.</p>
<p>This service is especially useful when you lose your mobile or when it gets stolen, so then you can restore your mobile data.</p>
<p>I see this as a really cool feature and great advance in services provided by the SyriaTel.</p>
<p>There is a service which I&#8217;ve been using for a while to back up my mobile and it is Mobile Network independent, which is <a href="http://www.zyb.com/" target="_blank">ZYB</a>. The only thing I miss with <a href="http://www.zyb.com/" target="_blank">ZYB</a> is that it doesn&#8217;t backup MMS, SMS, nor special folders.<!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fsyria%2Fsyriatel-releasing-a-new-service-my-backup&amp;title=SyriaTel%20releasing%20a%20new%20service%20%26%238211%3B%20My%20Backup" id="wpa2a_36"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/syria/syriatel-releasing-a-new-service-my-backup/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Read Sharepoint 2007 Scale Survey with some statistics</title>
		<link>http://www.bazerbashi.com/programming/read-sharepoint-2007-scale-survey-with-some-statistics</link>
		<comments>http://www.bazerbashi.com/programming/read-sharepoint-2007-scale-survey-with-some-statistics#comments</comments>
		<pubDate>Sun, 04 May 2008 13:19:45 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/?p=92</guid>
		<description><![CDATA[Just an hour before letting the employees hit the survey link on our Sharepoint server, the department changed their mind and they doesn&#8217;t want the Single Choice for each question Survey I did. They wanted to change the type of the survey from Multiple radio buttons choices for each question(Which returns one Choice) to Scale Survey (GridChoice Survey in Sharepoint terms or [...]]]></description>
			<content:encoded><![CDATA[<p>Just an hour before letting the employees hit the survey link on our Sharepoint server, the department changed their mind and they doesn&#8217;t want the <a href="http://www.bazerbashi.com/programming/how-to-read-sharepoint-2007-survey-list-and-get-some-statistics/" target="_blank">Single Choice for each question Survey I did</a>. They wanted to change the type of the survey from Multiple radio buttons choices for each question(Which returns one Choice) to Scale Survey (GridChoice Survey in Sharepoint terms or Rating Survey) where the vote is of 1 to 5 scale for each point in a question.</p>
<p>Sharepoint does have a Scale Survey, but if you glimps at it you can&#8217;t tell who got the best score, which is something they wanted for the &#8220;Employee of the month&#8221;.</p>
<p>So in the same way I did to <a href="http://www.bazerbashi.com/programming/how-to-read-sharepoint-2007-survey-list-and-get-some-statistics/" target="_blank">read the items of the Choice Survey</a>, I did it again with some modifications. So instead of looking for the &#8220;Choice&#8221; type, I used &#8220;GridChoice&#8221;. Also, the value of the response is different. In a GridChoice value you woud see something like:<br />
<code><br />
Co-operation#4#Skills#3#Outgoing#4#Ideas#3#Attendance#2#<br />
</code></p>
<p>This means the employee got a vote of 4 out of 5 for Co-operation,3 for Skills,4 for Outgoing,3 for Ideas and 2 for Attendance.</p>
<p>So now all I had to do is find a way to extract the numbers out of the string and sum up the numbers for each employe. To do that I did the following C# function:</p>
<p><code><br />
  private int ResponceScore(string expr)<br />
  {<br />
  String[] numbers = System.Text.RegularExpressions.Regex.Split(expr, @"[^\d+]");<br />
  int total = 0;<br />
  foreach (String number in numbers)<br />
  {<br />
  if (number != "")<br />
  {<br />
  int num = int.Parse(number);<br />
  total += num;<br />
  }<br />
  }<br />
  return total;<br />
  }<br />
</code></p>
<p>What the funtion does is it recieves the response&#8217;s text, use a regular expression to select or extract the numbers in the string, sum up the numbers of the response and send it back to be saved in an array or in a variable (Like adding to a variable for each employee).</p>
<p>So the final code is something like:</p>
<p> </p>
<p>foreach (SPListItem item in SurveyList.Items)<br />
  {<br />
  foreach (SPField field in item.Fields)<br />
  {<br />
  if (field.TypeAsString == &#8220;GridChoice&#8221;)<br />
  {<br />
  if (field.Title.ToString() == &#8220;Employee Name&#8221;)<br />
  {<br />
  empScore+= ResponceScore(item[field.Title].ToString());<br />
  }<br />
}<br />
}</p>
<p>So that is how I managed to do a web part to show the top scores in a Scale Survey in Sharepoint.</p>
<p>Have fun <img src='http://www.bazerbashi.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
<a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.bazerbashi.com%2fprogramming%2fread-sharepoint-2007-scale-survey-with-some-statistics%2f"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.bazerbashi.com%2fprogramming%2fread-sharepoint-2007-scale-survey-with-some-statistics%2f" border="0" alt="kick it on DotNetKicks.com" /></a><!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fprogramming%2Fread-sharepoint-2007-scale-survey-with-some-statistics&amp;title=Read%20Sharepoint%202007%20Scale%20Survey%20with%20some%20statistics" id="wpa2a_38"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/programming/read-sharepoint-2007-scale-survey-with-some-statistics/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to read Sharepoint 2007 Survey list and get some statistics</title>
		<link>http://www.bazerbashi.com/programming/how-to-read-sharepoint-2007-survey-list-and-get-some-statistics</link>
		<comments>http://www.bazerbashi.com/programming/how-to-read-sharepoint-2007-survey-list-and-get-some-statistics#comments</comments>
		<pubDate>Mon, 28 Apr 2008 14:54:44 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[C#]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/?p=90</guid>
		<description><![CDATA[Sharepoint Services is awesome new framework from Microsoft. And these days where I work, I mostly do Sharepoint 2007 and MOSS development. I got this request where they wanted a Survey. Sharepoint does have survey, but it lacks statistics on the survey. In their Survey, the Choices for all the questions are identical. For example [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://office.microsoft.com/sharepoint/">Sharepoint</a> Services is awesome new framework from Microsoft. And these days where I work, I mostly do <a href="http://office.microsoft.com/sharepoint/">Sharepoint</a> 2007 and MOSS development.</p>
<p>I got this request where they wanted a Survey. <a href="http://office.microsoft.com/sharepoint/">Sharepoint</a> does have survey, but it lacks statistics on the survey. In their Survey, the Choices for all the questions are identical. For example voting on &#8220;Employee of the Month&#8221;. <img src="http://www.bazerbashi.com/wp-content/uploads/2008/04/en_moss2007-logo.gif" alt="MOSS" align="right" />After responding to this survey, they wanted to show the top employee in each Choice. The style of the answers are Choice type, where the user choose one of the option under the name of the employee. For example:<br />
- Emplyee name 1<br />
Choice 1: Co-Operation<br />
Choice 2: Great Example</p>
<p>- Emplyee name 2<br />
Choice 1: Co-Operation<br />
Choice 2: Great Example<br />
.<br />
.<br />
.</p>
<p>So the best solution is to make your Web Part read from that Survey&#8217;s items.</p>
<p>And to do that, we just need to loop through the Items of the Survey List, look for the &#8220;Choice&#8221; type of field in it and read its content (The choosen Choice. Choice 1 or Choice 2 &#8230; etc). The title of the field is the question text(Employee name).</p>
<p>So we need two loops one to look for the items, and one to look for items&#8217; fields with the type &#8220;Choice&#8221; &#8211; then its title and content.</p>
<p>This is the code to do the loops and readings:<br />
<code><br />
using (SPSite mySite = SPContext.Current.Web.Site)<br />
{<br />
using (SPWeb myWeb = mySite.OpenWeb())<br />
{<br />
SPList SurveyList = myWeb.Lists["Employee of the month"];<br />
foreach (SPListItem item in SurveyList.Items)<br />
{<br />
foreach (SPField field in item.Fields)<br />
{<br />
if (field.TypeAsString == "Choice")<br />
{<br />
if (item[field.Title].ToString() == "Co-operation")<br />
{<br />
coop += field.Title.ToString() + ",";<br />
}<br />
else if (item[field.Title].ToString() == "Great Example")<br />
{<br />
example += field.Title.ToString() + ",";<br />
}<br />
}<br />
}<br />
}<br />
}<br />
}<br />
</code></p>
<p>Here I used normal string variables to store the names of the employees for each Choice, maybe you would like to use some sort of array instead, but I didn&#8217;t since I dont have many questions.</p>
<p>So when the code run, I will have something like the following in my variables:<br />
Co-Operation variable: &#8220;Hasan B, Ahmad D, Farah H, Aya K, Hasan B, Amal K, Ahmad D&#8221;<br />
Great Example variable: &#8220;Tahseen K, Sebhi J, Jafar A, Tahseen K&#8221;</p>
<p>Now by counting how many times each name is repeated for each choice, I can get an idea of who got the most votes for each choice.</p>
<p>I used the following C# function to count how many times each phrase or word accured in a string variable:<br />
<code><br />
private string CountWords(string input)<br />
{<br />
char[] delims = new char[] { '.', ',', ';' };<br />
string[] wordlist = input.Split(delims, StringSplitOptions.RemoveEmptyEntries);<br />
SortedList words = new SortedList();<br />
foreach (string item in wordlist)<br />
{<br />
if (!words.ContainsKey(item))<br />
words.Add(item, 1);<br />
else<br />
words[item]++;<br />
}<br />
StringBuilder sb = new StringBuilder();<br />
foreach (KeyValuePair kvp in words)<br />
sb.Append(kvp.Key + ": " + kvp.Value + "<br />
");<br />
return sb.ToString();<br />
}<br />
</code></p>
<p>So now from my Web Part I can write:<br />
<code><br />
writer.Write("<strong>Co-Operation</strong>" + "<br />
" + CountWords(coop) + "<br />
" +<br />
"<strong>Great Example</strong>" + "<br />
" + CountWords(example))<br />
</code></p>
<p>And the function CountWords will return me the number of times a name accured in that passed string variable which represents the Choice.</p>
<p>For my example the output would look like:<br />
<code><br />
<strong>Co-Operation</strong><br />
Hasan B: 2<br />
Ahmad D: 2<br />
Aya K: 1<br />
Amal K: 1<br />
Farah H:1<br />
<strong>Great Example</strong><br />
Tahseen K: 2<br />
Jafar A: 1<br />
Sebhi J: 1<br />
</code></p>
<p>This code needs some additions to make it more useful, but I searched on the net, and I didn&#8217;t find answer for this, so I thought I would share with you what I got so far. I&#8217;m probably going to work more on this.</p>
<p>Hope it helped.<br />
<a href="http://www.dotnetkicks.com/kick/?url=http%3a%2f%2fwww.bazerbashi.com%2fprogramming%2fhow-to-read-sharepoint-2007-survey-list-and-get-some-statistics%2f"><img src="http://www.dotnetkicks.com/Services/Images/KickItImageGenerator.ashx?url=http%3a%2f%2fwww.bazerbashi.com%2fprogramming%2fhow-to-read-sharepoint-2007-survey-list-and-get-some-statistics%2f" border="0" alt="kick it on DotNetKicks.com" /></a><!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fprogramming%2Fhow-to-read-sharepoint-2007-survey-list-and-get-some-statistics&amp;title=How%20to%20read%20Sharepoint%202007%20Survey%20list%20and%20get%20some%20statistics" id="wpa2a_40"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/programming/how-to-read-sharepoint-2007-survey-list-and-get-some-statistics/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Vista DVI problem</title>
		<link>http://www.bazerbashi.com/software/vista-dvi-problem</link>
		<comments>http://www.bazerbashi.com/software/vista-dvi-problem#comments</comments>
		<pubDate>Tue, 01 Apr 2008 09:55:47 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/?p=89</guid>
		<description><![CDATA[This is how I solved a problem which a lot of people are facing when they try connecting Windows Vista computer to a Flat Panel like LCD through the DVI output &#8211; you get &#8220;No Signal&#8221; or such a message from your TV. I did a lot of research about this, and it seems to [...]]]></description>
			<content:encoded><![CDATA[<p>This is how I solved a problem which a lot of people are facing when they try connecting Windows Vista computer to a Flat Panel like LCD through the DVI output &#8211; you get &#8220;No Signal&#8221; or such a message from your TV.</p>
<p>I did a lot of research about this, and it seems to be the problem is in Vista drivers and how it handles DVI. If the LCD have VGA it would be much easier since the VGA is Plug and Play.</p>
<p>Microsoft promised to fix this bug with SP1. Now SP1 is out and seems it didn&#8217;t really fix the problem! At least it didn&#8217;t for me when I was trying to connect the computer with a 52&#8243; Sharp LCD through DVI.</p>
<p>I tried updating the Graphics&#8217;s card driver, didn&#8217;t help. Tried to use a program called <a href="http://www.entechtaiwan.com/util/ps.shtm" target="_blank">PowerStrip</a> to define custom resolutions to be compatible with the LCD, also didn&#8217;t help.</p>
<p>At the end, I replaced the DVI cable with &#8220;DVI -&gt; HDMI&#8221; cable, and finally it did work!</p>
<p>I didn&#8217;t remove the <a href="http://www.entechtaiwan.com/util/ps.shtm" target="_blank">PowerStrip</a> software, because I think I need to use it to define a custom resolution for the big LCD.<!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fsoftware%2Fvista-dvi-problem&amp;title=Vista%20DVI%20problem" id="wpa2a_42"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/software/vista-dvi-problem/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Charity Garage Sale</title>
		<link>http://www.bazerbashi.com/syria/charity-garage-sale</link>
		<comments>http://www.bazerbashi.com/syria/charity-garage-sale#comments</comments>
		<pubDate>Sun, 24 Feb 2008 08:07:46 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Syria]]></category>
		<category><![CDATA[Damascus]]></category>
		<category><![CDATA[Events]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/damascus/charity-garage-sale/</guid>
		<description><![CDATA[Charity Garage Sale will be held on the 1st and 2nd of March 2008 from 10 AM to 7 PM at the Arabic Cultural Center in Kafarsouseh area &#8211; with the sale income donated to Basma(Kids Cancer Support organization) . Look at this flayer for more info:]]></description>
			<content:encoded><![CDATA[<p>Charity Garage Sale will be held on the 1st and 2nd of March 2008 from 10 AM to 7 PM at the Arabic Cultural Center in Kafarsouseh area &#8211; with the sale income donated to <a href="http://basma.sy" target="_blank">Basma</a>(Kids Cancer Support organization) .</p>
<p>Look at this flayer for more info:</p>
<p><a href="http://www.bazerbashi.com/wp-content/uploads/2008/02/clip_image001.jpg" title="Charity Garage Sale Flayer" rel="lightbox[86]"><img src="http://www.bazerbashi.com/wp-content/uploads/2008/02/clip_image001.thumbnail.jpg" alt="Charity Garage Sale Flayer" /></a><!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fsyria%2Fcharity-garage-sale&amp;title=Charity%20Garage%20Sale" id="wpa2a_44"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/syria/charity-garage-sale/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Kids Cancer Support Walking</title>
		<link>http://www.bazerbashi.com/syria/kids-cancer-support-walking</link>
		<comments>http://www.bazerbashi.com/syria/kids-cancer-support-walking#comments</comments>
		<pubDate>Sun, 17 Feb 2008 15:40:06 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Syria]]></category>
		<category><![CDATA[Damascus]]></category>
		<category><![CDATA[Events]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/damascus/kids-cancer-support-walking/</guid>
		<description><![CDATA[Last Friday (15 Feb 2008) Kids Cancer Support Walking 2008 took off in Damascus, Syria. The event was organized by Basma organization and the marketing campaign by U.G. This walking was arranged to raise the attention and understanding about Kids Cancer, and at the same time try to entertain the Kids. There were some activities [...]]]></description>
			<content:encoded><![CDATA[<p>Last Friday (15 Feb 2008) Kids Cancer Support Walking 2008 took off in Damascus, Syria.<br />
<a href="http://www.flickr.com/photos/hazz/2271174052/" title="Kids Cancer Support Walking 2008 in Damascus, Syria by Hasan Bazerbashi, on Flickr"><img src="http://farm3.static.flickr.com/2195/2271174052_7b89cd7dce_m.jpg" alt="Kids Cancer Support Walking 2008 in Damascus, Syria" align="right" height="180" width="240" /></a></p>
<p>The event was organized by <a href="http://basma.sy">Basma</a> organization and the marketing campaign by <a href="http://ug.sy">U.G</a>.</p>
<p>This walking was arranged to raise the attention and understanding about Kids Cancer, and at the same time try to entertain the Kids.</p>
<p>There were some activities for the Kids like Painting, Painting on the faces, Clowns, lunching balloons, gifts, and some other stuff like small dances <img src='http://www.bazerbashi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>A few facts I learned about Kids Cancer and some people should know about:</p>
<ul>
<li>
<p align="left">Kids Cancer can effect kids from the ages 1 month to 18 years old.</p>
</li>
<li>
<p align="left">It is curable, but costs so much and needs specialized doctors. Unfortunately in Syria there isn&#8217;t enough support. There is one Center in Damascus which is lacking financial support and expertise. The available doctors aren&#8217;t much specialized in this.</p>
</li>
<li>
<p align="left">Cancer is NOT contagious! I heard stories saying that some parents lock their infected kids from the world!</p>
</li>
</ul>
<p><a href="http://basma.sy" title="Basma">Basma</a> is an organization which try to help in this. Visit their <a href="http://basma.sy">site</a> to get to know more about this and learn how you can help.<a href="http://basma.sy/"></a></p>
<p><strong>UPDATE:</strong> Here is a small Video capture I took from the event when the kids released the Balloons.<br />
<embed src="http://www.metacafe.com/fplayer/1109182/kids_cancer_support_walking.swf" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" height="345" width="400"></embed><br />
<font size="1"><a href="http://www.metacafe.com/watch/1109182/kids_cancer_support_walking/">Kids Cancer Support Walking</a> &#8211; <a href="http://www.metacafe.com/">The best video clips are right here</a></font><!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fsyria%2Fkids-cancer-support-walking&amp;title=Kids%20Cancer%20Support%20Walking" id="wpa2a_46"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/syria/kids-cancer-support-walking/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Zain is about to buy SyriaTel</title>
		<link>http://www.bazerbashi.com/syria/zain-is-about-to-buy-syriatel</link>
		<comments>http://www.bazerbashi.com/syria/zain-is-about-to-buy-syriatel#comments</comments>
		<pubDate>Sat, 29 Dec 2007 15:02:48 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Syria]]></category>
		<category><![CDATA[Mobile]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/syria/zain-is-about-to-buy-syriatel/</guid>
		<description><![CDATA[There are some strong rumors saying that Zain a big telecommunication company is about to buy SyriaTel one of the two mobile networks in Syira. It looks like the company is becoming a major telecommunication player in the area serving customers in 22 country in the Middle East and Africa with a net income around [...]]]></description>
			<content:encoded><![CDATA[<p>There are some strong rumors saying that <a href="http://www.zain.com" target="_blank">Zain</a> a big telecommunication company is about to buy SyriaTel one of the two mobile networks in Syira.</p>
<p>It looks like the company is becoming a major telecommunication player in the area serving customers in 22 country in the Middle East and Africa with a net income around $820 million dollars a year!</p>
<p><img src="http://www.zain.com/muse/resources/mtcvodafone/web/images/lang.default/logo.jpg" alt="Zain Logo" align="left" height="108" hspace="5" vspace="5" width="77" />The rumors can be true since we saw that the company did recently buy a mobile network company called Fastlink in Jordan, and the MTC company which is originally in Kuwait but also has branches in Iraq, Yaman, Sudan, Bahrain, Lebanon, and other branches in ~14 country. So it seems to be a natural move if they did really buy the SyriaTel network.</p>
<p>From what I heard they offer great modern services. There is this cool feature which let you make International call with the fees of a local call! Of course only if both parties have a <a href="http://www.zain.com">Zain</a> phone number.</p>
<p>Personally I hope this rumor is true.<!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fsyria%2Fzain-is-about-to-buy-syriatel&amp;title=Zain%20is%20about%20to%20buy%20SyriaTel" id="wpa2a_48"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/syria/zain-is-about-to-buy-syriatel/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>My new vHome</title>
		<link>http://www.bazerbashi.com/personal/my-new-vhome</link>
		<comments>http://www.bazerbashi.com/personal/my-new-vhome#comments</comments>
		<pubDate>Thu, 29 Nov 2007 09:50:31 +0000</pubDate>
		<dc:creator>Hasan Bazerbashi</dc:creator>
				<category><![CDATA[Personal]]></category>

		<guid isPermaLink="false">http://www.bazerbashi.com/me/my-new-vhome/</guid>
		<description><![CDATA[Hello all, Yes I&#8217;ve been away for some time, and now I&#8217;m back with my new Virtual Home so make your self at home and take a look around. You&#8217;re welcome. See you]]></description>
			<content:encoded><![CDATA[<p>Hello all,</p>
<p>Yes I&#8217;ve been away for some time, and now I&#8217;m back with my new Virtual Home <img src='http://www.bazerbashi.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  so make your self at home and take a look around. You&#8217;re welcome.</p>
<p>See you <img src='http://www.bazerbashi.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> <!-- PHP 5.x --></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.bazerbashi.com%2Fpersonal%2Fmy-new-vhome&amp;title=My%20new%20vHome" id="wpa2a_50"><img src="http://www.bazerbashi.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.bazerbashi.com/personal/my-new-vhome/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

