<?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>Sami AlSayyed</title>
	<atom:link href="http://www.samialsayyed.com/feed" rel="self" type="application/rss+xml" />
	<link>http://www.samialsayyed.com</link>
	<description>I should have a blog at the end</description>
	<lastBuildDate>Sun, 14 Mar 2010 08:13:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>An experiment in life you have to know</title>
		<link>http://www.samialsayyed.com/an-experiment-in-life-you-have-to-know</link>
		<comments>http://www.samialsayyed.com/an-experiment-in-life-you-have-to-know#comments</comments>
		<pubDate>Sun, 14 Mar 2010 05:54:42 +0000</pubDate>
		<dc:creator>Sami</dc:creator>
				<category><![CDATA[Cool]]></category>
		<category><![CDATA[Talent]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[presentation]]></category>
		<category><![CDATA[science]]></category>

		<guid isPermaLink="false">http://www.samialsayyed.com/?p=217</guid>
		<description><![CDATA[Jill Bolte Taylor got a research opportunity few brain scientists would wish for: She had a massive stroke, and watched as her brain functions &#8212; motion, speech, self-awareness &#8212; shut down one by one. An astonishing story.]]></description>
			<content:encoded><![CDATA[<p>Jill Bolte Taylor got a research opportunity few brain scientists would wish for: She had a massive stroke, and watched as her brain functions &#8212; motion, speech, self-awareness &#8212; shut down one by one. An astonishing story.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="446" height="326" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="wmode" value="transparent" /><param name="bgColor" value="#ffffff" /><param name="flashvars" value="vu=http://video.ted.com/talks/dynamic/JillBolteTaylor_2008-medium.flv&amp;su=http://images.ted.com/images/ted/tedindex/embed-posters/JillBolteTaylor-2008.embed_thumbnail.jpg&amp;vw=432&amp;vh=240&amp;ap=0&amp;ti=229&amp;introDuration=16500&amp;adDuration=4000&amp;postAdDuration=2000&amp;adKeys=talk=jill_bolte_taylor_s_powerful_stroke_of_insight;year=2008;theme=top_10_tedtalks;theme=medicine_without_borders;theme=master_storytellers;theme=how_the_mind_works;event=TED2008;&amp;preAdTag=tconf.ted/embed;tile=1;sz=512x288;" /><param name="src" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" /><param name="bgcolor" value="#ffffff" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="446" height="326" src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" flashvars="vu=http://video.ted.com/talks/dynamic/JillBolteTaylor_2008-medium.flv&amp;su=http://images.ted.com/images/ted/tedindex/embed-posters/JillBolteTaylor-2008.embed_thumbnail.jpg&amp;vw=432&amp;vh=240&amp;ap=0&amp;ti=229&amp;introDuration=16500&amp;adDuration=4000&amp;postAdDuration=2000&amp;adKeys=talk=jill_bolte_taylor_s_powerful_stroke_of_insight;year=2008;theme=top_10_tedtalks;theme=medicine_without_borders;theme=master_storytellers;theme=how_the_mind_works;event=TED2008;&amp;preAdTag=tconf.ted/embed;tile=1;sz=512x288;" bgcolor="#ffffff" wmode="transparent" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.samialsayyed.com/an-experiment-in-life-you-have-to-know/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Best Presentation I have ever seen in my life.</title>
		<link>http://www.samialsayyed.com/best-presentation-i-have-ever-seen-in-my-life</link>
		<comments>http://www.samialsayyed.com/best-presentation-i-have-ever-seen-in-my-life#comments</comments>
		<pubDate>Sun, 28 Feb 2010 08:02:12 +0000</pubDate>
		<dc:creator>Sami</dc:creator>
				<category><![CDATA[Cool]]></category>
		<category><![CDATA[Talent]]></category>
		<category><![CDATA[inspiring]]></category>
		<category><![CDATA[presentation]]></category>

		<guid isPermaLink="false">http://www.samialsayyed.com/?p=207</guid>
		<description><![CDATA[One of the best presentations I have even seen in my life. Just watch and see how this guy is delivering his idea to audience. Such an inspiring speech almost makes you chills. The part I liked most is the ending &#8220;My Wish Is…&#8221;]]></description>
			<content:encoded><![CDATA[<p>One of the best presentations I have even seen in my life. Just watch and see how this guy is delivering his idea to audience. Such an inspiring speech almost makes you chills.</p>
<p>The part I liked most is the ending &#8220;My Wish Is…&#8221;</p>
<p><!--copy and paste--><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="446" height="326" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="wmode" value="transparent" /><param name="bgColor" value="#ffffff" /><param name="flashvars" value="vu=http://video.ted.com/talks/dynamic/JamieOliver_2010-medium.mp4&amp;su=http://images.ted.com/images/ted/tedindex/embed-posters/JamieOliver-2010.embed_thumbnail.jpg&amp;vw=432&amp;vh=240&amp;ap=0&amp;ti=765&amp;introDuration=16500&amp;adDuration=4000&amp;postAdDuration=2000&amp;adKeys=talk=jamie_oliver;year=2010;theme=a_taste_of_ted2010;theme=new_on_ted_com;theme=ted_prize_winners;event=TED2010;&amp;preAdTag=tconf.ted/embed;tile=1;sz=512x288;" /><param name="src" value="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" /><param name="bgcolor" value="#ffffff" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="446" height="326" src="http://video.ted.com/assets/player/swf/EmbedPlayer.swf" flashvars="vu=http://video.ted.com/talks/dynamic/JamieOliver_2010-medium.mp4&amp;su=http://images.ted.com/images/ted/tedindex/embed-posters/JamieOliver-2010.embed_thumbnail.jpg&amp;vw=432&amp;vh=240&amp;ap=0&amp;ti=765&amp;introDuration=16500&amp;adDuration=4000&amp;postAdDuration=2000&amp;adKeys=talk=jamie_oliver;year=2010;theme=a_taste_of_ted2010;theme=new_on_ted_com;theme=ted_prize_winners;event=TED2010;&amp;preAdTag=tconf.ted/embed;tile=1;sz=512x288;" bgcolor="#ffffff" wmode="transparent" allowfullscreen="true"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.samialsayyed.com/best-presentation-i-have-ever-seen-in-my-life/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Hibernate Query Optimization and lazy loading</title>
		<link>http://www.samialsayyed.com/hibernate-query-optimization-and-lazy-loading</link>
		<comments>http://www.samialsayyed.com/hibernate-query-optimization-and-lazy-loading#comments</comments>
		<pubDate>Mon, 08 Feb 2010 08:00:57 +0000</pubDate>
		<dc:creator>Sami</dc:creator>
				<category><![CDATA[Hibernate]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Open Source]]></category>

		<guid isPermaLink="false">http://www.samialsayyed.com/?p=199</guid>
		<description><![CDATA[The problem: For each object that Hibernate loads, it needs to do one or more extra SQL queries to load associated objects. (Potentially as many as Kn + 1, where n is the number of objects returned). Example: Simplified hibernate mapping file &#60;class name=&#8221;Department&#8221;&#62; … &#60;many-to-one name=&#8221;employee&#8221;&#8230;/&#62; … &#60;/class&#62; Simple HQL Query from Department dept where dept.location like [...]]]></description>
			<content:encoded><![CDATA[<h2>The problem:<br />
</h2>
<p><span style="font-size:10pt">For each object that Hibernate loads, it needs to do one or more extra SQL queries to load associated objects. (Potentially as many as <em>Kn + 1</em>, where <em>n</em> is the number of objects returned).<br />
</span></p>
<h2>Example:<br />
</h2>
<ul>
<li>
<div><span style="font-size:10pt">Simplified hibernate mapping file<br />
</span></div>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt">&lt;class name=&#8221;Department&#8221;&gt;<br />
</span></p>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt">…<br />
</span></p>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt">&lt;many-to-one name=&#8221;employee&#8221;&#8230;/&gt;<br />
</span></p>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt">…<br />
</span></p>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt">&lt;/class&gt;<br />
</span></p>
</li>
<li>
<div><span style="font-size:10pt">Simple HQL Query<br />
</span></div>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt">from Department dept where dept.location like :LOCATION<br />
</span></p>
</li>
<li><span style="font-size:10pt">The generated SQL statements:<br />
</span></li>
</ul>
<ol>
<li>
<div><span style="font-size:10pt">At least the initial select.<br />
</span></div>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt">select dept_id, deplt_name, dept_location&#8230;from department&#8230;<br />
</span></p>
</li>
<li>
<div><span style="font-size:10pt">Then a sequence of selects from the associated table. (n sql select statements)<br />
</span></div>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt">Select &#8230;from employee&#8230;<br />
</span></p>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt">Select &#8230;from employee&#8230;<br />
</span></p>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt">Select &#8230;from employee&#8230;<br />
</span></p>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt">&#8230;<br />
</span></p>
<p><span style="font-size:10pt">If Sale table returns 100 rows, you will see 100 select statements extra more than the main select statement.<br />
</span></p>
</li>
</ol>
<h2>The solution (1):<br />
</h2>
<p><span style="font-size:10pt">The association objects must be loaded in the initial query and just when you need them. This can be done by adding <span style="color:#333333; font-family:Courier New; background-color:#eeece1">&#8216;left join fetch&#8217;</span> for example and switching the lazy loading on.<br />
</span></p>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt">from Department dept <span style="background-color:yellow">left join fetch dept.employee</span><br />
		</span></p>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt">where dept.location like :LOCATION<br />
</span></p>
<p><span style="font-size:10pt">This will generate just one sql select statement.<br />
</span></p>
<h2>The solution (2): When there are a lot of association tables<br />
</h2>
<p><span style="font-size:10pt">You don&#8217;t want to end up with query like this:<br />
</span></p>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt">from Department dept<br />
</span></p>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt; background-color:yellow">left join fetch dept.employee<br />
</span></p>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt; background-color:yellow">left join fetch dept.manager<br />
</span></p>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt; background-color:yellow">left join fetch dept.building<br />
</span></p>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt; background-color:yellow">left join fetch dept.level<br />
</span></p>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt"><span style="background-color:yellow">left join fetch dept.city</span><br />
		</span></p>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt">…etc<br />
</span></p>
<p><span style="font-size:10pt">The approach involves determining exactly which columns you really need, and instantiating data-transfer objects containing exactly those columns.<br />
</span></p>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt">Select <span style="background-color:yellow">new Department (dept.id, dept.employee.name, dept.manager.name, …)</span> from Department dept<br />
</span></p>
<p style="background: #eeece1"><span style="color:#333333; font-family:Courier New; font-size:10pt">…<br />
</span></p>
<p><span style="font-size:10pt">This technique is fast and efficient, and avoids the overheads of handling associated objects and of loading large numbers of persistent objects into the Hibernate session cache. The only downside is the need to create a dedicated data-transfer class for each query, and an overloaded constructor.<br />
</span></p>
<p>
 </p>
<p style="background: white">
<pre><code><span style="font-family:Calibri">Reference: <a href="http://www.javalobby.org/articles/hibernate-query-101/"><span style="color:blue; font-size:13pt; text-decoration:underline">http://www.javalobby.org/articles/hibernate-query-101/</span></a></span></code></pre></p>
]]></content:encoded>
			<wfw:commentRss>http://www.samialsayyed.com/hibernate-query-optimization-and-lazy-loading/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IIS7 as Web Server – Application Request Routing</title>
		<link>http://www.samialsayyed.com/iis7-as-web-server-%e2%80%93-application-request-routing</link>
		<comments>http://www.samialsayyed.com/iis7-as-web-server-%e2%80%93-application-request-routing#comments</comments>
		<pubDate>Sun, 24 Jan 2010 13:26:40 +0000</pubDate>
		<dc:creator>Sami</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[IIS7]]></category>
		<category><![CDATA[MOSS]]></category>
		<category><![CDATA[WebServer]]></category>

		<guid isPermaLink="false">http://www.samialsayyed.com/?p=174</guid>
		<description><![CDATA[We used this approach to forward all requests from/to MOSS 2007. It is easy using IIS7 but complicated with IIS6 Install IIS 7 Install Application Request Routing http://learn.iis.net/page.aspx/482/install-application-request-routing/ Open IIS Manager Press Add and then Finish Press Yes Try to request for a page on MOSS server from the web server. http://WEB_SERVER/Pages/Memos.aspx This will be [...]]]></description>
			<content:encoded><![CDATA[<p>We used this approach to forward all requests from/to MOSS 2007. It is easy using IIS7 but complicated with IIS6</p>
<ol>
<li>Install      IIS 7</li>
<li>Install      Application Request Routing <a href="http://learn.iis.net/page.aspx/482/install-application-request-routing/">http://learn.iis.net/page.aspx/482/install-application-request-routing/</a></li>
<li><a href="http://learn.iis.net/page.aspx/482/install-application-request-routing/"></a>Open IIS Manager</li>
</ol>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012410_1323_IIS7asWebSe1.png" alt="" /></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012410_1323_IIS7asWebSe2.png" alt="" /></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012410_1323_IIS7asWebSe3.png" alt="" /></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012410_1323_IIS7asWebSe4.png" alt="" /></p>
<p><span style="font-size: 16px;">Press Add and then Finish</span></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012410_1323_IIS7asWebSe5.png" alt="" /></p>
<p><span style="font-size: 16px;">Press Yes</span></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012410_1323_IIS7asWebSe6.png" alt="" /></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012410_1323_IIS7asWebSe7.png" alt="" /></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012410_1323_IIS7asWebSe8.png" alt="" /></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012410_1323_IIS7asWebSe9.png" alt="" /></p>
<p>Try to request for a page on MOSS server from the web server.</p>
<p><a href="http://WEB_SERVER/Pages/Memos.aspx">http://WEB_SERVER/Pages/Memos.aspx</a></p>
<p>This will be forward the request to MOSS server</p>
<p><a href="http://WEB_SERVER/Pages/Memos.aspx">http://WEB_SERVER/Pages/Memos.aspx</a> to <a href="http://MOSS:PORT/Pages/Memos.aspx">http://MOSS:PORT/Pages/Memos.aspx</a></p>
<p>The client will not notice this!</p>
<p><strong>For IIS6 (To send request from one IIS6 to another one an delegate user login information)</strong></p>
<p>We have managed successfully to configure IIS 6 as reverse proxy and delegate authentication to the second IIS 6 using ISAPI_Rewrite version <strong>2</strong>. Previously, we were using the latest version of ISAPI_Rewrite <strong>3.0</strong> , the documentation of this version mentions that is working with basic authentication , but it didn’t work with us. Basic authentication is supported with version <strong>2</strong>, Now we have managed  successfully to delegate authentication to from one IIS to other one with extra configuration on both IIS servers &amp;  ISAPI_Rewrite. All users must be a domain users and visible by both IIS servers to get the user be authenticated.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.samialsayyed.com/iis7-as-web-server-%e2%80%93-application-request-routing/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle Portal &#8211; Password Policy Problem</title>
		<link>http://www.samialsayyed.com/password-policy-problem</link>
		<comments>http://www.samialsayyed.com/password-policy-problem#comments</comments>
		<pubDate>Thu, 21 Jan 2010 06:19:59 +0000</pubDate>
		<dc:creator>Sami</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[issue]]></category>
		<category><![CDATA[Password]]></category>
		<category><![CDATA[Portal]]></category>

		<guid isPermaLink="false">http://www.samialsayyed.com/?p=153</guid>
		<description><![CDATA[LDAP: error code 49 &#8211; Password Policy Error :9000: GSL_PWDEXPIRED_EXCP :Your Password has expired. Please contact the Administrator to change your password. This is the Exception we were getting in the test server; this error will prevent any eservices actions to be performed. In our eservices actions, we are using PUBLIC user account to perform [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: blue; font-family: Courier New; font-size: 8pt;">LDAP: error code 49 &#8211; Password Policy Error :9000: GSL_PWDEXPIRED_EXCP :Your Password has expired. Please contact the Administrator to change your password.</span></p>
<p><span style="color: blue; font-family: Courier New; font-size: 8pt;"><span style="color: #000000; font-family: Georgia, 'Times New Roman', 'Bitstream Charter', Times, serif; font-size: 13px;">This is the Exception we were getting in the test server; this error will prevent any eservices actions to be performed. In our eservices actions, we are using PUBLIC user account to perform some LDAP operations. If anything wrong happen with this account the eservices action will fail.</span></span></p>
<p><span style="font-size: 10pt;"><strong>PASSWORD POLICY ERROR: 9000: GSL_PWDEXPIRED_EXCP</strong></span></p>
<p><span style="font-size: 10pt;"><span style="color: black; font-size: 10pt;"><strong><span style="font-weight: normal;">The default value for Password Expiry Time is set to 5184000 that is, 60 days. After 60 days from the installation date, the passwords for the Oracle directory server (and any other assigned passwords) automatically expire. Soon after password expiration, this repeated trying causes the connector to exceed the max grace logins exceeded, and the account to become locked.</span></strong></span></span></p>
<p><span style="font-size: 10pt;"><span style="color: black; font-size: 10pt;"><strong><span style="font-weight: normal;"><span style="color: black;"><strong>Cause: </strong>Beginning with Release 9.0.4, the </span><span style="color: blue; font-family: Courier New;">pwdmaxage</span><span style="color: black;"> attributes of the password policies are defaulted to time value of 60 days.</span></span></strong></span></span></p>
<p><span style="color: black; font-size: 10pt;"><strong>Action: </strong>Do the following:<br />
</span></p>
<ol>
<li>
<div><span style="font-size: 10pt;"><span style="color: black;">Use </span><span style="color: blue; font-family: Courier New;">oidpasswd</span><span style="color: black;"> utility to unlock the </span><span style="color: blue; font-family: Courier New;">orcladmin</span><span style="color: black;"> account (If this account is locked):<br />
</span></span></div>
<p style="margin-left: 1pt;"><span style="font-size: 10pt;"><span style="color: black;">You have to set </span><span style="font-family: Courier New;"><span style="color: blue;">ORACLE_HOME</span><span style="color: black;"><br />
</span></span></span></p>
<p style="margin-left: 1pt;"><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0618_PasswordPol1.png" alt="" /><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0618_PasswordPol2.png" alt="" /><span style="color: black; font-size: 10pt;"><br />
</span></p>
</li>
<li>
<div><span style="font-size: 10pt;"><span style="color: black;">Launch the Oracle Directory Manager (must be a release 10<em>g</em> client), login using </span><span style="color: blue; font-family: Courier New;">orcladmin</span><span style="color: black;"> account, and write the IP address for OID server<br />
</span></span></div>
<p style="margin-left: 1pt;"><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0618_PasswordPol3.png" alt="" /><span style="font-size: 10pt;"><br />
</span></p>
</li>
<li>
<div><span style="color: black;">Navigate to Password Policy Management.</span><span style="font-size: 10pt;"><br />
</span></div>
<p style="margin-left: 1pt;"><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0618_PasswordPol4.png" alt="" /><span style="font-size: 10pt;"><br />
</span></p>
<p style="margin-left: 1pt;"><span style="font-size: 10pt;">You will see two entries: <span style="color: blue; font-family: Courier New;">cn=PwdPolicyEntry</span> and the password policy for out realm, <span style="color: blue; font-family: Courier New;"><em>Password Policy for Realm dc=company,dc=com</em></span>.<br />
</span></p>
<p style="margin-left: 1pt;"><span style="font-size: 10pt;">Edit each of these, changing the <span style="color: blue; font-family: Courier New;">pwdmaxage</span> attribute to an appropriate value:<br />
</span></p>
</li>
</ol>
<ul style="margin-left: 73pt;">
<li><span style="color: black; font-size: 10pt;">5184000 = 60 days (default)<br />
</span></li>
<li><span style="font-size: 10pt;">7776000 = 90 days<br />
</span></li>
<li><span style="font-size: 10pt;">10368000 = 120 days<br />
</span></li>
<li><span style="font-size: 10pt;">15552000 = 180 days<br />
</span></li>
<li><span style="color: black; font-size: 10pt;">31536000 = 1 year<br />
</span></li>
<li><span style="color: black; font-size: 10pt;"><strong>0 = Infinity<br />
</strong></span></li>
</ul>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0618_PasswordPol5.png" alt="" /><span style="font-size: 10pt;"><br />
</span></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0618_PasswordPol6.png" alt="" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.samialsayyed.com/password-policy-problem/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Version Control with Subversion</title>
		<link>http://www.samialsayyed.com/version-control-with-subversion</link>
		<comments>http://www.samialsayyed.com/version-control-with-subversion#comments</comments>
		<pubDate>Thu, 21 Jan 2010 06:05:56 +0000</pubDate>
		<dc:creator>Sami</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[Subversion]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[team]]></category>

		<guid isPermaLink="false">http://www.samialsayyed.com/?p=141</guid>
		<description><![CDATA[What is Subversion? Subversion is a centralized system for sharing information. At its core is a repository, which is a central store of data. Install Subversion You have to install two things: Subversion Server (Repository) Subversion Client (Used to connect to the repository) Subversion Server Installation and configuration: Download the latest SVN server from http://subversion.tigris.org/project_packages.html [...]]]></description>
			<content:encoded><![CDATA[<h1>What is Subversion?</h1>
<p>Subversion is a centralized system for sharing information. At its core is a repository, which is a central store of data.</p>
<h1>Install Subversion</h1>
<p>You have to install two things:</p>
<ol>
<li>Subversion Server (Repository)</li>
<li>
<div>Subversion Client (Used to connect to the repository)</div>
</li>
</ol>
<p><span style="text-decoration: underline;"><strong>Subversion Server Installation and configuration:<br />
</strong></span></p>
<p>Download the latest SVN server from <a href="http://subversion.tigris.org/project_packages.html">http://subversion.tigris.org/project_packages.html</a></p>
<p>I have downloaded Subversion Server under Windows</p>
<p><a href="http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91">http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91</a></p>
<p>Install SVN server.</p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0601_VersionCont1.png" alt="" /></p>
<p><strong>After complete the installation, you have to set some environment variables:</strong></p>
<p>Subversion binaries to the path environment variable for the machine.</p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0601_VersionCont2.png" alt="" /></p>
<p><strong>SVN_EDITOR</strong>, set to the text editor of your choice. I used <em><strong>c:\windows\notepad.exe</strong><br />
</em></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0601_VersionCont3.png" alt="" /></p>
<pre><code><span style="font-family: 'Gill Sans MT'; font-size: 12pt; text-decoration: underline;"><strong>Create a Repository
</strong></span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Create repository folders in your hard drive, I have created
</span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;"><strong>c:\svn_repository\
</strong></span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Open command prompt and type:
</span></code></pre>
<pre><code>svnadmin create "c:\svn_repository"
</code></pre>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0601_VersionCont4.png" alt="" /></p>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Now, you have a repository and you can start using it.
</span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">But first we have to configure SVN server, to let any one in your </span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">network to use this repository.
</span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Navigate to the folder we just created. Within that folder, uncomment the</span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;"> following lines in the <strong>c:/svn_repository<em>/conf/svnserve.conf</em></strong> file:
</span></code></pre>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0601_VersionCont5.png" alt="" /></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0601_VersionCont6.png" alt="" /></p>
<pre><code><span style="text-decoration: underline;">anon-access = read
</span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Any user who is not authenticated user can <strong>read
</strong></span></code></pre>
<pre><code><span style="text-decoration: underline;">auth-access = write
</span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Any authenticated user can <strong>write
</strong></span></code></pre>
<pre><code><span style="text-decoration: underline;">password-db = passwd
</span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">The user names and passwords are in the default file </span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;"><strong>c:/svn_repository<em>/conf/passwd</em>c:/svn_repository<em>/conf/passwd</em>
					</strong></span></code></pre>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0601_VersionCont7.png" alt="" /><span style="font-family: monospace; line-height: 18px; font-size: 12px; white-space: pre;"> </span></p>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">sami.alsayyed = sami123
</span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">User name: sami.alsayyed
</span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Password: sami123
</span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;"><strong>Start SVN server by executing this command:
</strong></span></code></pre>
<pre><code>svnserve --daemon --root "C:\svn_repository"
</code></pre>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0601_VersionCont8.png" alt="" /></p>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Keep this screen and open another command prompt window.
</span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;"><strong>Install SVN as windows service
</strong></span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">To start SVN server as windows service, just execute this command
</span></code></pre>
<pre><code><span style="background-color: yellow;">sc create svn binpath= "C:\Program Files\Subversion\bin\svnserve.exe --service -r </span></code></pre>
<pre><code><span style="background-color: yellow;">C:\svn_repository" displayname= "Subversion Server" depend= Tcpip start= auto</span>
</code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">After that you should see the new service "<span style="background-color: yellow;">Subversion Server</span>"
</span></code></pre>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0601_VersionCont9.png" alt="" /></p>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Now any one in your network can see your repository and use it.</span>
</code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Test the new service by listing all the files in the repository:
</span></code></pre>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0601_VersionCont10.png" alt="" /></p>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Create a new project in the repository by executing this command:
</span></code></pre>
<pre><code>svn mkdir svn://localhost/myproject
</code></pre>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0601_VersionCont11.png" alt="" /></p>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">At this point, Notepad should launch:
</span></code></pre>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0601_VersionCont12.png" alt="" /></p>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Enter any comment you want at the top of the file, then save and exit.
</span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">You'll now be prompted for credentials. In my case I was prompted for the administrator credentials as well:</span></code></pre>
<pre><code><span style="color: white; background-color: black;">Authentication realm:  0f1a8b11-d50b-344d-9dc7-0d9ba12e22df
</span></code></pre>
<pre><code><span style="color: white; background-color: black;">Password for 'Administrator': *********
</span></code></pre>
<pre><code><span style="color: white; background-color: black;">Authentication realm:  0f1a8b11-d50b-344d-9dc7-0d9ba12e22df
</span></code></pre>
<pre><code><span style="color: white; background-color: black;">Username: sami.alsayyed
</span></code></pre>
<pre><code><span style="color: white; background-color: black;">Password for 'sami.alsayyed': ************</span></code></pre>
<pre><code><span style="color: white;"><span style="background-color: black;">Committed revision 1.</span>
				</span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Congratulations! You just checked a change into Subversion!
</span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;"><span style="text-decoration: underline;"><strong>Install SVN Client "TortoiseSVN"</strong></span>
				</span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Download the latest TortoiseSVN from here: <a href="http://tortoisesvn.net/downloads"></a></span><span style="color: blue; text-decoration: underline;">http://tortoisesvn.net/downloads</span><span style="font-family: Gill Sans MT; font-size: 12pt;">				</span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Run the TortoiseSVN installer. It will tell you to restart, but you don't need to.
</span></code></pre>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0601_VersionCont13.png" alt="" /><span style="font-family: monospace; line-height: 18px; font-size: 12px; white-space: pre;"> </span></p>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">You have to install this software in all clients, to let them access your </span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">SVN repository and use it.Assuming you are some of the clients, after </span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">installation complete you have to check out the project in the repository.
</span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Create a project folder somewhere on your hard drive. </span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Right click in that folder and select "SVN Checkout..."
</span></code></pre>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0601_VersionCont14.png" alt="" /><span style="font-family: monospace; line-height: 18px; font-size: 12px; white-space: pre;"> </span></p>
<pre><code><span style="background-color: yellow;">svn://localhost/</span>
<span style="font-family: Gill Sans MT; font-size: 12pt;">is the URL for the repository, if you are setting in a different </span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">machine you have to write the computer name or IP address
</span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Click <strong>ok</strong>. After that you will see this window:
</span></code></pre>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0601_VersionCont15.png" alt="" /><span style="font-family: monospace; line-height: 18px; font-size: 12px; white-space: pre;"> </span></p>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Click ok, you have successfully checked out the projects inside the </span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">repository first project we have added lately to the repository.
</span></code></pre>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0601_VersionCont16.png" alt="" /><span style="font-family: monospace; line-height: 18px; font-size: 12px; white-space: pre;"> </span></p>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Try to add some document to this folder "myproject"
</span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Create a new file in that directory. Right click the file and select "TortoiseSVN, Add"
</span></code></pre>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0601_VersionCont17.png" alt="" /><span style="font-family: 'Gill Sans MT'; line-height: 18px; font-size: 16px; white-space: pre;"> </span></p>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Click ok.
</span></code></pre>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0601_VersionCont18.png" alt="" /><span style="font-family: monospace; line-height: 18px; font-size: 12px; white-space: pre;"> </span></p>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Click ok
</span></code></pre>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0601_VersionCont19.png" alt="" /><span style="font-family: monospace; line-height: 18px; font-size: 12px; white-space: pre;"> </span></p>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">The file hasn't actually been checked in yet. </span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Subversion batches any changes and commits them as one atomic operation.
</span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">To send all your changes to the server, right click and select "SVN Commit":
</span></code></pre>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0601_VersionCont20.png" alt="" /><span style="font-family: monospace; line-height: 18px; font-size: 12px; white-space: pre;"> </span></p>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Type you comment and press ok
</span></code></pre>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0601_VersionCont21.png" alt="" /></p>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">You have to write your user name and password to commit this file, you should be authenticated user.</span>	</code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">And we're done! <strong>You now have a networked Subversion server and client set up on your machine</strong>. </span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Note that the default port for <strong>svnserve</strong> is <strong>3690</strong>.
</span></code></pre>
<pre><code><span style="font-family: 'Gill Sans MT'; font-size: 14pt; text-decoration: underline;"><strong><span style="background-color: yellow;">Some quick commands</span>
					</strong></span></code></pre>
<div>
<table style="border-collapse: collapse;" border="0">
<colgroup>
<col style="width: 295px;"></col>
<col style="width: 295px;"></col>
</colgroup>
<tbody>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border: solid 0.5pt;"><span style="font-family: Gill Sans MT;"><strong>create a new repository</strong></span></td>
<td style="padding-left: 7px; padding-right: 7px; border-top: solid 0.5pt; border-left: none; border-bottom: solid 0.5pt; border-right: solid 0.5pt;">
<pre><code>svnadmin create c:/svn_repository</code></pre>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid 0.5pt; border-bottom: solid 0.5pt; border-right: solid 0.5pt;"><span style="font-family: Gill Sans MT;"><strong>Import files to thr repository</strong></span></td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid 0.5pt; border-right: solid 0.5pt;">
<pre><code>svn import C:\from_file svn://localhost/</code></pre>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid 0.5pt; border-bottom: solid 0.5pt; border-right: solid 0.5pt;"><span style="font-family: Gill Sans MT;"><strong>Take a backup to dumpfile<br />
</strong></span></td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid 0.5pt; border-right: solid 0.5pt;">
<pre><code>svnadmin dump c:/svn_repository &gt; dumpfile</code></pre>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid 0.5pt; border-bottom: solid 0.5pt; border-right: solid 0.5pt;"><span style="font-family: Gill Sans MT;"><strong>Load the dumpfile<br />
</strong></span></td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid 0.5pt; border-right: solid 0.5pt;">
<pre><code>svnadmin load c:/svn_repository &lt; dumpfile</code></pre>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid 0.5pt; border-bottom: solid 0.5pt; border-right: solid 0.5pt;"><span style="font-family: Gill Sans MT;"><strong>Take a back up<br />
</strong></span></td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid 0.5pt; border-right: solid 0.5pt;">
<pre><code>svnadmin hotcopy c:/svn_repository c:/backup_svn_repository</code></pre>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid 0.5pt; border-bottom: solid 0.5pt; border-right: solid 0.5pt;"><span style="font-family: Gill Sans MT;"><strong>Start SVN Server<br />
</strong></span></td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid 0.5pt; border-right: solid 0.5pt;">
<pre><code>svnserve --daemon --root "C:\svn_repository"</code></pre>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid 0.5pt; border-bottom: solid 0.5pt; border-right: solid 0.5pt;"><strong>Create SVN Windows service</strong></td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid 0.5pt; border-right: solid 0.5pt;">
<pre><code>
</code></pre>
<pre><code>sc create svn binpath= "C:\Program Files\Subversion\bin\svnserve.exe</code></pre>
<pre><code> --service -r C:\svn_repository" displayname= "Subversion Server" </code></pre>
<pre><code>depend= Tcpip start= auto</code></pre>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid 0.5pt; border-bottom: solid 0.5pt; border-right: solid 0.5pt;"><span style="font-family: 'Gill Sans MT';"><strong><br />
</strong></span></td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid 0.5pt; border-right: solid 0.5pt;"></td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid 0.5pt; border-bottom: solid 0.5pt; border-right: solid 0.5pt;"><span style="font-family: Gill Sans MT;"><strong>Create a new folder in the repository</strong></span></td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid 0.5pt; border-right: solid 0.5pt;">
<pre><code>svn mkdir svn://localhost/myproject</code></pre>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid 0.5pt; border-bottom: solid 0.5pt; border-right: solid 0.5pt;"><span style="font-family: Gill Sans MT;"><strong>See the log</strong></span></td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid 0.5pt; border-right: solid 0.5pt;">
<pre><code>svn log svn://localhost/</code></pre>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid 0.5pt; border-bottom: solid 0.5pt; border-right: solid 0.5pt;"><span style="font-family: Gill Sans MT;"><strong>Checkout</strong></span></td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid 0.5pt; border-right: solid 0.5pt;">
<pre><code>svn checkout svn://localhost/ c:\myproj</code></pre>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid 0.5pt; border-bottom: solid 0.5pt; border-right: solid 0.5pt;"><span style="font-family: Gill Sans MT;"><strong>Adding files to repository</strong></span></td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid 0.5pt; border-right: solid 0.5pt;">
<pre><code>svn add a-file-I-added.txt</code></pre>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid 0.5pt; border-bottom: solid 0.5pt; border-right: solid 0.5pt;"><span style="font-family: Gill Sans MT;"><strong>Changed </strong></span></p>
<p><strong> </strong></p>
<p><strong></p>
<pre><code><span style="font-size: 11pt;">with the status</span></code></pre>
<p></strong></td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid 0.5pt; border-right: solid 0.5pt;">
<pre><code>svn st</code></pre>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid 0.5pt; border-bottom: solid 0.5pt; border-right: solid 0.5pt;"><span style="font-family: Gill Sans MT;"><strong>Commit your changes</strong></span></td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid 0.5pt; border-right: solid 0.5pt;">
<pre><code>svn ci -m "Put a comment here, 
</code></pre>
<pre><code>or an editor opens to get one."</code></pre>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid 0.5pt; border-bottom: solid 0.5pt; border-right: solid 0.5pt;"><span style="font-family: Gill Sans MT;"><strong>Files can be deleted with the remove (or rm) command, and moved or renamed with the move (mv) command:</strong></span></td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid 0.5pt; border-right: solid 0.5pt;">
<pre><code>svn rm unwanted-file.txt
</code></pre>
<pre><code>svn mv badname.txt goodname.txt</code></pre>
</td>
</tr>
<tr>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: solid 0.5pt; border-bottom: solid 0.5pt; border-right: solid 0.5pt;"><span style="font-family: Gill Sans MT;"><strong>Update the changes</strong></span></td>
<td style="padding-left: 7px; padding-right: 7px; border-top: none; border-left: none; border-bottom: solid 0.5pt; border-right: solid 0.5pt;">
<pre><code>svn up</code></pre>
</td>
</tr>
</tbody>
</table>
</div>
<h1>References<span style="font-family: 'Gill Sans MT'; font-size: 14pt; text-decoration: underline;"><br />
</span></h1>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Subversion on Windows quick start
</span></code></pre>
<p><a href="http://nedbatchelder.com/text/quicksvn.html"> </a></p>
<pre><code><span style="color: blue; font-family: 'Gill Sans MT'; font-size: 12pt; text-decoration: underline;"><a href="http://nedbatchelder.com/text/quicksvn.html">http://nedbatchelder.com/text/quicksvn.html</a></span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">SVN Tips - svn_load_dirs Vendor Branch
</span></code></pre>
<p><a href="http://docs.ofbiz.org/display/OFBIZ/SVN+Tips+-+svn_load_dirs+Vendor+Branch"> </a></p>
<pre><code><span style="color: blue; font-family: 'Gill Sans MT'; font-size: 12pt; text-decoration: underline;"><a href="http://docs.ofbiz.org/display/OFBIZ/SVN+Tips+-+svn_load_dirs+Vendor+Branch">http://docs.ofbiz.org/display/OFBIZ/SVN+Tips+-+svn_load_dirs+Vendor+Branch</a></span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Subversion branching quick start
</span></code></pre>
<p><a href="http://nedbatchelder.com/text/quicksvnbranch.html"> </a></p>
<pre><code><span style="color: blue; font-family: 'Gill Sans MT'; font-size: 12pt; text-decoration: underline;"><a href="http://nedbatchelder.com/text/quicksvnbranch.html">http://nedbatchelder.com/text/quicksvnbranch.html</a></span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Subversion - A Quick Tutorial
</span></code></pre>
<p><a href="http://aymanh.com/subversion-a-quick-tutorial"> </a></p>
<pre><code><span style="color: blue; font-family: 'Gill Sans MT'; font-size: 12pt; text-decoration: underline;"><a href="http://aymanh.com/subversion-a-quick-tutorial">http://aymanh.com/subversion-a-quick-tutorial</a></span></code></pre>
<pre><code><span style="font-family: Gill Sans MT; font-size: 12pt;">Version Control with Subversion
</span></code></pre>
<p><a href="http://svnbook.red-bean.com/"> </a></p>
<p><a href="http://svnbook.red-bean.com/"></a></p>
<p><a href="http://svnbook.red-bean.com/"></p>
<pre><code><span style="color: blue; font-family: 'Gill Sans MT'; font-size: 12pt; text-decoration: underline;">http://svnbook.red-bean.com/</span></code></pre>
<p></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.samialsayyed.com/version-control-with-subversion/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Oracle AS Portal Diagnostics Agent (PDA) Installation</title>
		<link>http://www.samialsayyed.com/oracle-as-portal-diagnostics-agent-pda-installation</link>
		<comments>http://www.samialsayyed.com/oracle-as-portal-diagnostics-agent-pda-installation#comments</comments>
		<pubDate>Thu, 21 Jan 2010 05:53:20 +0000</pubDate>
		<dc:creator>Sami</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[PDA]]></category>
		<category><![CDATA[Portal]]></category>

		<guid isPermaLink="false">http://www.samialsayyed.com/?p=117</guid>
		<description><![CDATA[Portal 9.0.4.x / 10.1.2.x / 10.1.4.x Assumption: Install PDA on development environment server 172.19.69.184 Overview The OracleAS Portal Diagnostics Assistant is a tool for gathering information when troubleshooting OracleAS Portal issues. The OracleAS PDA is intended for use by Oracle Portal installers and users who come across issues after installing Portal. The issues can vary [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color:black; font-family:Verdana">Portal 9.0.4.x / 10.1.2.x / 10.1.4.x<br />
</span></p>
<p>Assumption: Install PDA on development environment server 172.19.69.184
</p>
<p><span style="font-family:Verdana; font-size:10pt; text-decoration:underline"><strong>Overview<span style="color:black"><em><br />
					</em></span></strong></span></p>
<p><span style="font-family:Verdana; font-size:10pt">The OracleAS Portal Diagnostics Assistant is a tool for gathering information when troubleshooting OracleAS Portal issues. The OracleAS PDA is intended for use by Oracle Portal installers and users who come across issues after installing Portal. The issues can vary from accessing Portal to users getting errors at different levels within Portal. The PDA user can self diagnose the issue by reviewing the results from the PDA output or upload the files to Oracle Support via <a href="http://metalink.oracle.com/">metalink</a>. <span style="color:black"><em><br />
				</em></span></span></p>
<p><span style="color:black; font-family:Verdana; font-size:10pt; text-decoration:underline"><strong>Installation<br />
</strong></span></p>
<p><span style="font-size:10pt"><span style="font-family:Courier New">$ORACLE_HOME</span><span style="font-family:Verdana"> environment variable should be set to Oracle Application Server Portal Middle Tire Oracle home directory<br />
</span></span></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0551_OracleASPor1.png" alt=""/><span style="color:black; font-family:Verdana; font-size:10pt"><em><br />
			</em></span></p>
<p><span style="font-family:Verdana; font-size:10pt"><br />
			<img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0551_OracleASPor2.png" alt=""/><br />
		</span></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0551_OracleASPor3.png" alt=""/><span style="font-family:Verdana; font-size:10pt"><br />
		</span></p>
<p><span style="font-family:Verdana; font-size:10pt">Download the scripts from here:<br />
</span></p>
<p><a href="http://www.oracle.com/technology/products/ias/portal/files/pdav4.zip"><span style="font-family:Verdana; font-size:10pt">http://www.oracle.com/technology/products/ias/portal/files/pdav4.zip</span></a><span style="font-family:Verdana; font-size:10pt"><br />
		</span></p>
<p><span style="font-family:Verdana; font-size:10pt">Put pdav4.zip that you have downloaded on the server and extract it there.<br />
</span></p>
<p><span style="font-family:Verdana; font-size:10pt">Login to the server using ftp tool like, WinSCP<br />
</span></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0551_OracleASPor4.png" alt=""/><span style="font-family:Verdana; font-size:10pt"><br />
		</span></p>
<p><span style="font-family:Verdana; font-size:10pt">Create a new folder<br />
</span></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0551_OracleASPor5.png" alt=""/><span style="font-family:Verdana; font-size:10pt"><br />
		</span></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0551_OracleASPor6.png" alt=""/><span style="font-family:Verdana; font-size:10pt"><br />
		</span></p>
<p><span style="font-family:Verdana; font-size:10pt">Open the folder<br />
</span></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0551_OracleASPor7.png" alt=""/><span style="font-family:Verdana; font-size:10pt"><br />
		</span></p>
<p><span style="font-family:Verdana; font-size:10pt">Put pdav4.zip file there<br />
</span></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0551_OracleASPor8.png" alt=""/><span style="font-family:Verdana; font-size:10pt"><br />
		</span></p>
<p><span style="font-family:Verdana; font-size:10pt">Now, we have to extract this file<br />
</span></p>
<p><span style="font-family:Verdana; font-size:10pt">Login to the server using PuTTY and go the folder you have created<br />
</span></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0551_OracleASPor9.png" alt=""/></p>
<p><span style="font-family:Verdana; font-size:10pt">Unzip pdav4.zip<br />
</span></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0551_OracleASPor10.png" alt=""/><span style="font-family:Verdana; font-size:10pt"><br />
		</span></p>
<p><span style="font-family:Verdana; font-size:10pt">Execute this command to install PDA<br />
</span></p>
<p><span style="font-size:10pt"><span style="font-family:Courier New">pda.csh -schema <strong>portal_schema</strong> -password <strong>portal_password</strong> -connect <strong>portal_connect</strong> -ssoSchema <strong>orasso_schema</strong> -ssoPassword <strong>orasso_password</strong> -ssoConnect <strong>orasso_connect</strong></span><span style="font-family:Verdana"><br />
			</span></span></p>
<p>
 </p>
<p><span style="font-family:Courier New; font-size:10pt"><strong>portal_schema: </strong>Portal schema name<br />
</span></p>
<p><span style="font-family:Courier New; font-size:10pt"><strong>portal_password: </strong>This is the database password, not the same password you<strong><br />
			</strong>use it to login Portal Builder<br />
</span></p>
<p><span style="font-family:Courier New; font-size:10pt"><strong>orasso_schema: </strong>Single Sign On schema name<br />
</span></p>
<p><span style="font-family:Courier New; font-size:10pt"><strong>orasso_password: </strong>Single Sign On database password<strong><br />
			</strong></span></p>
<p><span style="color:black; font-family:Verdana; font-size:10pt">To get these passwords there are two approaches:<br />
</span></p>
<p><span style="color:black; font-family:Verdana; font-size:10pt"><span style="text-decoration:underline"><strong>FIRST</strong></span><br />
		</span></p>
<p><span style="color:black; font-family:Verdana; font-size:10pt">- Open the Oracle Directory manager and login: (This requires a server access)<br />
</span></p>
<p><span style="color:black; font-family:Verdana; font-size:10pt">- username=orcadmin<br />
</span></p>
<p><span style="color:black; font-family:Verdana; font-size:10pt">- password=(during installation of AS this password was asked)<br />
</span></p>
<p><span style="color:black; font-family:Verdana; font-size:10pt">- server= Development server name or IP<br />
</span></p>
<p><span style="color:black; font-family:Verdana; font-size:10pt">- port=probably 389 or 4032<br />
</span></p>
<p><span style="color:black; font-family:Verdana; font-size:10pt">- The Oracle directory manager will open; in there you will have to follow this path:<br />
</span></p>
<p><span style="color:black; font-size:10pt"><span style="font-family:Verdana">Entry Management </span><span style="font-family:Wingdings"><strong>à</strong></span><span style="font-family:Verdana"> OraclContext </span><span style="font-family:Wingdings"><strong>à</strong></span><span style="font-family:Verdana"> Products </span><span style="font-family:Wingdings"><strong>à</strong></span><span style="font-family:Verdana"> IAS </span><span style="font-family:Wingdings"><strong>à</strong></span><span style="font-family:Verdana"> cn=IAS Infrastructure database </span><span style="font-family:Wingdings"><strong>à</strong></span><span style="font-family:Verdana"> orclReferenceName=&lt;DBName&gt; </span><span style="font-family:Wingdings"><strong>à</strong></span><span style="font-family:Verdana"> PORTAL/ORASSO<br />
</span></span></p>
<p><span style="color:black; font-family:Verdana; font-size:10pt">You will find there orclpasswordattribute, this is the database password for each one.<br />
</span></p>
<p><span style="font-family:Verdana; font-size:10pt; text-decoration:underline"><strong>SECOND<br />
</strong></span></p>
<p><span style="font-family:Verdana; font-size:10pt"><strong>Execute these commands<br />
</strong></span></p>
<p><span style="font-family:Verdana; font-size:10pt">ldapsearch -h Server_name -p 389 -D cn=orcladmin -w pswd -b &#8220;cn=IAS Infrastructure Databases,cn=IAS,cn=Products,cn=OracleContext&#8221; -s sub &#8220;orclResourceName=portal&#8221; orclpasswordattribute<br />
</span></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0551_OracleASPor11.png" alt=""/><span style="font-family:Verdana; font-size:10pt"><br />
		</span></p>
<p><span style="font-family:Verdana; font-size:10pt">ldapsearch -h Server_name -p 389 -D cn=orcladmin -w pswd -b &#8220;cn=IAS Infrastructure Databases,cn=IAS,cn=Products,cn=OracleContext&#8221; -s sub &#8220;orclResourceName=orasso&#8221; orclpasswordattribute<br />
</span></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0551_OracleASPor12.png" alt=""/><span style="font-family:Verdana; font-size:10pt">This is the command I have executed</span>
	</p>
<p><span style="font-family:Courier New; font-size:10pt"><strong>./pda.csh -schema portal -password XXXXXX -connect 172.19.69.155:1521:XXX -ssoSchema orasso -ssoPassword XXXXXX -ssoConnect 172.19.69.155:1521:XXX<br />
</strong></span></p>
<p><span style="color:red; font-family:Verdana; font-size:10pt">If you got Permissions Denied error, just give permissions to the current user by executing this command in the PDA_INSTALLATION folder<br />
</span></p>
<p><span style="color:red; font-family:Verdana; font-size:10pt">Chmod 777 *.*<br />
</span></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0551_OracleASPor13.png" alt=""/><span style="font-family:Verdana; font-size:10pt">It will take a few minutes, but you should see this message at the end:</span>
	</p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0551_OracleASPor14.png" alt=""/>
	</p>
<p><span style="font-family:Verdana; font-size:10pt">Now, PDA reports have been generated.<br />
</span></p>
<p><span style="font-family:Verdana; font-size:10pt">Open the server using FTP client like WinSCP<br />
</span></p>
<p><span style="font-family:Verdana; font-size:10pt">Open the folder that contains our PDA files<br />
</span></p>
<p><span style="font-family:Verdana; font-size:10pt">You will notice two new things:<br />
</span></p>
<p><span style="font-family:Verdana; font-size:10pt"><strong>PDA071122103016.zip</strong> file<br />
</span></p>
<p><span style="font-family:Verdana; font-size:10pt"><strong>071122103016</strong> Folder</span>
	</p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0551_OracleASPor15.png" alt=""/><span style="font-family:Verdana; font-size:10pt">To view the reports you have to open <strong>pda.htm </strong>using your browser</span>
	</p>
<p><span style="font-family:Verdana; font-size:10pt">The two files are the same, one if you like to open pda.htm remotely from the server and the other one <strong>PDA071122103016.zip </strong>if you like to open pda.htm from your machine<br />
</span></p>
<p><span style="color:red; font-family:Verdana; font-size:10pt">The directory names have a timestamp format, for example, 030623132344 which means: {year}{month}{day}{hour}{minutes}{seconds} so each time it will be changed<br />
</span></p>
<p><span style="font-family:Verdana; font-size:10pt">I will try the second option.<br />
</span></p>
<p><span style="font-family:Verdana; font-size:10pt">Copy the file <strong>PDA071122103016.zip </strong>and paste it in your desktop for example<br />
</span></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0551_OracleASPor16.png" alt=""/>
	</p>
<p><span style="font-family:Verdana; font-size:10pt">Extract <strong>PDA071122103016.zip </strong>any where<br />
</span></p>
<p><span style="font-family:Verdana; font-size:10pt">Open the extracted folder, and open <strong>pda.htm<br />
</strong></span></p>
<p><img src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0551_OracleASPor17.png" alt=""/></p>
]]></content:encoded>
			<wfw:commentRss>http://www.samialsayyed.com/oracle-as-portal-diagnostics-agent-pda-installation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Search Techniques</title>
		<link>http://www.samialsayyed.com/google-search-techniques</link>
		<comments>http://www.samialsayyed.com/google-search-techniques#comments</comments>
		<pubDate>Thu, 21 Jan 2010 05:46:22 +0000</pubDate>
		<dc:creator>Sami</dc:creator>
				<category><![CDATA[Google]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[Search]]></category>

		<guid isPermaLink="false">http://www.samialsayyed.com/?p=97</guid>
		<description><![CDATA[Google is one of the most popular and powerful search engines, and it is remarkably easy to use. Yet, with so many millions of webpage&#8217;s available, it can be difficult to find the best results. By learning to use the optimum search syntax, together with the best search terms, you can greatly improve the quality [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" src="http://www.samialsayyed.com/wp-content/uploads/2010/01/012110_0546_GoogleSearc1.png" alt="" width="263" height="93" /><span style="color: #4d4d4d;">Google is one of the most popular and powerful search engines, and it is remarkably easy to use. Yet, with so many millions of webpage&#8217;s available, it can be difficult to find the <em>best</em> results. By learning to use the optimum search syntax, together with the best search terms, you can greatly improve the quality of the results returned. You can even target your search at particular areas of the Web, or search specific types of resource.</span></p>
<p><span style="color: #ff6600; font-size: 14pt;"><strong><em>Narrowing a Search (if you have too many results) and<br />
</em></strong></span></p>
<p><span style="color: #ff6600; font-size: 14pt;"><em><strong>Expanding a Search (if you don&#8217;t get enough)</strong><br />
</em></span></p>
<p><span style="color: #ff9900; font-size: 14pt;"><strong>Tip 1: Case Doesn&#8217;t Matter<br />
</strong></span></p>
<p><span style="color: #333333;">Google doesn&#8217;t care whether search terms are entered in upper case or lower case.<br />
</span></p>
<p><span style="color: #ff9900; font-size: 14pt;"><strong>Tip 2: Searching for Words and Phrases<br />
</strong></span></p>
<p><span style="color: #333333;">Suppose, for example, you are looking for pages related to <em>search engine optimization</em> (SEO). Entering <strong>search engine optimization</strong> as three separate keywords will return something like 35 million results—which would take you a while to check through! Some experimentation can make this a little more manageable, as shown below:<br />
</span></p>
<ul>
<li><span style="color: #333333;"><strong>search engine optimization</strong>: 34,700,000 results<br />
</span></li>
<li><span style="color: #333333;"><strong>&#8220;search engine optimization&#8221;</strong>: 23,000,000 results<br />
</span></li>
<li><span style="color: #333333;"><strong>&#8220;search engine optimization&#8221; tips</strong>: 1,760,000 results<br />
</span></li>
<li><span style="color: #333333;"><strong>&#8220;search engine optimization tips&#8221;</strong>: 196,000 results<br />
</span></li>
</ul>
<p><span style="color: #ff9900; font-size: 14pt;"><strong>Tip 3: Including and Excluding Keywords<br />
</strong></span></p>
<p><span style="color: #333333;"><em>word1 +word2 </em>will force Google to include <em>word2 </em>in the search<br />
</span></p>
<p><span style="color: #333333;"><em>word1 –word2</em> will force Google to exclude <em>word2 </em>in the search<br />
</span></p>
<p><span style="color: #333333;">Example: <strong>virus –computer</strong> would return only Web pages about biological viruses not computer viruses.<br />
</span></p>
<p><span style="color: #ff9900; font-size: 14pt;"><strong>Tip 4: Logically Combining Searches<br />
</strong></span></p>
<p><span style="color: #333333;"><strong>Use <em>or </em>to search for multiple terms</strong><br />
</span></p>
<p><span style="color: #333333;"><em>word1 OR word2 </em>finds pages that include either word<br />
</span></p>
<p><span style="color: #333333;"><strong>Use ~ to search for synonyms of a term<br />
</strong></span></p>
<p><span style="color: #333333;"><em>~word1 </em>finds pages that include <em>word1 </em>or its synonyms<br />
</span></p>
<p><span style="color: #333333;"><strong>Use * as a &#8220;wildcard&#8221; with your search terms<br />
</strong></span></p>
<p><span style="color: #333333;"><em>&#8220;word1 * word2&#8243; </em>finds pages that includes this phrase where * can be any one word<br />
</span></p>
<p><span style="color: #ff9900; font-size: 14pt;"><strong>Tip 5: Searching Titles, Body Text and URLs<br />
</strong></span></p>
<p><span style="color: #333333;"><strong>intitle:keyword</strong>: search for a single keyword (or quoted expression) in the title<br />
</span></p>
<p><span style="color: #333333;"><strong>allintitle:keyword1 keyword2 &#8230;</strong>: search for a list of keywords (and/or quoted expressions) in the title<br />
</span></p>
<p><span style="color: #333333;"><strong>inurl:keyword</strong>: search for a single keyword (or quoted expression) in the URL<br />
</span></p>
<p><span style="color: #333333;"><strong>allinurl:keyword1 keyword2 &#8230;</strong>: search for a list of keywords (and/or quoted expressions) in the URL<br />
</span></p>
<p><span style="color: #ff9900; font-size: 14pt;"><strong>Tip 6: Searching a Website or an Area of the Web<br />
</strong></span></p>
<p><span style="color: #333333;"><strong>Add <em>site: </em>to search only specific sites or types of sites:</strong><br />
</span></p>
<p><span style="color: #333333;"><em>word1 site:psut.edu.jo </em>will search only on the <em>psut</em> site.<br />
</span></p>
<p><span style="color: #333333;"><em>word1 site:.edu </em>will search only education sites<br />
</span></p>
<p><span style="color: #333333;"><em>word1 site:.gov </em>will search only government sites<br />
</span></p>
<p><span style="color: #333333;"><em>word1 site:.org </em>will search only non-profit sites (mostly), museums, libraries, etc.<br />
</span></p>
<p><span style="color: #333333;"><em>word1 site:.edu.jo </em>will search only educational sites in Jordan<br />
</span></p>
<p><span style="color: #333333;"><strong>Add <em>filetype: </em>to search for documents other than Web pages</strong><br />
</span></p>
<p><span style="color: #333333;"><strong><em>Filetype:pdf </em></strong>will return only files in the PDF format (good for finding handouts and worksheets). You can also use this to search for PowerPoint (.ppt) MS Word (.doc) Flash ( .swf) and many other kinds of files.<br />
</span></p>
<p><span style="color: #ff9900; font-size: 14pt;"><strong>Tip 7: <em>Searching for other kinds of information</em><br />
</strong></span></p>
<p><span style="color: #ff9900; text-decoration: underline;"><strong>Definitions (<em>define</em>)<br />
</strong></span></p>
<p><span style="color: #333333;">This search will return definitions listed in online dictionaries. In addition to standard definitions, this also returns jargon definitions from specific disciplines such as sports, science, geek, etc. (e.g. try &#8220;pickle&#8221;).<br />
</span></p>
<p><span style="color: #ff9900; text-decoration: underline;"><strong>Contact information<br />
</strong></span></p>
<p><span style="color: #333333;">When you enter a person or business name with a location (city, state) any contact information listed in an online white page will appear in the results.<br />
</span></p>
<p><span style="color: #ff9900; text-decoration: underline;"><strong>Phone number<br />
</strong></span></p>
<p><span style="color: #333333;">(<strong><em>phonebook: rphonebook: bphonebook</em>:</strong>) when you enter a phone number, any name or address listed in an online white page will appear in the results<br />
</span></p>
<p><span style="color: #ff9900; text-decoration: underline;"><strong>Address<br />
</strong></span></p>
<p><span style="color: #333333;">Entering a full address will return a link to a map to that location.<br />
</span></p>
<p><span style="color: #ff9900; text-decoration: underline;"><strong>Calculations<br />
</strong></span></p>
<p><span style="color: #333333;">Entering mathematical expressions will return the result simple math (+ &#8211; * /) exponentials (^) percentage (% of) even advanced math (see the Google site for details)<span style="font-size: 12pt;"><br />
</span></span></p>
<p><span style="color: #ff6600; font-size: 14pt;"><strong><em>Shortcuts to Google tools:<br />
</em></strong></span></p>
<p><a href="http://www.google.com"><span style="color: #333333;"><strong>www.google.com</strong></span></a><span style="color: #333333;"> search for Web pages<br />
</span></p>
<p><a href="http://www.google.com/help"><span style="color: #333333;"><strong>www.google.com/help</strong></span></a><span style="color: #333333;"> learn more about using Google<br />
</span></p>
<p><span style="color: #333333;"><strong>news.google.com </strong>search news sources on the Web<br />
</span></p>
<p><span style="color: #333333;"><strong>images.google.com</strong> search for pictures on the Web<br />
</span></p>
<p><span style="color: #333333;"><strong>directory.google.com</strong> browse categories of Web pages<br />
</span></p>
<p><span style="color: #333333;"><strong>answers.google.com</strong> experienced researchers find answers for a fee<br />
</span></p>
<p><span style="color: #333333;"><strong>groups.google.com</strong> search the content of online discussions<br />
</span></p>
<p><span style="color: #333333;"><strong>froogle.google.com</strong> search for items on sale on the Web<br />
</span></p>
<p><span style="color: #333333;"><strong>labs.google.com</strong> check out the latest inventions from Google<br />
</span></p>
<p><span style="color: #333333;"><strong><em>Google-related tools:<br />
</em></strong></span></p>
<p><span style="color: #333333;">Google Zeitgeist <a href="http://www.google.com/press/zeitgeist.html"></a></span>http://www.google.com/press/zeitgeist.html<span style="color: #333333;"> (or search for <em>google zeitgeist</em>)<br />
</span></p>
<p><span style="color: #333333;">Google Zeitgeist History <a href="http://www.google.com/press/zeitgeist/archive.html"></a></span>http://www.google.com/press/zeitgeist/archive.html<span style="color: #333333;"><br />
</span></p>
<p><span style="color: #333333;">Googleism <a href="http://www.googlism.com"></a></span>http://www.googlism.com<span style="color: #333333;"> &#8211; searches for declarative statements: &#8220;___ is ___&#8221;<br />
</span></p>
<p><span style="color: #333333;">GooglePeople <a href="http://www.avaquest.com"></a></span>http://www.avaquest.com<span style="color: #333333;"> &#8211; enter questions starting with &#8220;who&#8221;<br />
</span></p>
<p><span style="color: #333333;">Google Smackdown <a href="http://www.onfocus.com/googlesmack/down.asp"></a></span>http://www.onfocus.com/googlesmack/down.asp<span style="color: #333333;"> &#8211; find out which of two terms is mentioned more on the Web.<br />
</span></p>
<p><span style="color: #333333;">&#8220;GoogleWhacking&#8221; – a term for finding a two word search with only one result</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.samialsayyed.com/google-search-techniques/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>MOSS Hide Site Actions</title>
		<link>http://www.samialsayyed.com/moss-hide-site-actions</link>
		<comments>http://www.samialsayyed.com/moss-hide-site-actions#comments</comments>
		<pubDate>Tue, 19 Jan 2010 10:26:14 +0000</pubDate>
		<dc:creator>Sami</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[MOSS]]></category>

		<guid isPermaLink="false">http://www.samialsayyed.com/?p=94</guid>
		<description><![CDATA[Add this code around &#60;PublishingSiteAction:SiteActionMenu runat=&#8221;server&#8221;/&#62; in the master page &#60;SharePoint:SPSecurityTrimmedControl ID=&#8221;SPSecurityTrimmedControl2&#8243; runat=&#8221;server&#8221; PermissionsString=&#8221;ManageWeb&#8221;&#62;      &#60;PublishingSiteAction:SiteActionMenu runat=&#8221;server&#8221;/&#62; &#60;/SharePoint:SPSecurityTrimmedControl&#62; That&#8217;s it!]]></description>
			<content:encoded><![CDATA[<p><span style="font-size:10pt"><span style="font-family:Gill Sans MT">Add this code around </span><span style="font-family:Courier New"><strong>&lt;PublishingSiteAction:SiteActionMenu runat=&#8221;server&#8221;/&gt;</strong></span><span style="font-family:Gill Sans MT"><strong><br />
				</strong>in the master page<strong><br />
				</strong></span></span></p>
<p><span style="font-family:Courier New; font-size:10pt">&lt;SharePoint:SPSecurityTrimmedControl ID=&#8221;SPSecurityTrimmedControl2&#8243; runat=&#8221;server&#8221; PermissionsString=&#8221;ManageWeb&#8221;&gt;     <br />
</span></p>
<p><span style="font-family:Courier New; font-size:10pt"><strong>&lt;PublishingSiteAction:SiteActionMenu runat=&#8221;server&#8221;/&gt;<br />
</strong></span></p>
<p><span style="font-family:Courier New; font-size:10pt">&lt;/SharePoint:SPSecurityTrimmedControl&gt;<br />
</span></p>
<p>That&#8217;s it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.samialsayyed.com/moss-hide-site-actions/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MOSS Remove Personalize This Page Option</title>
		<link>http://www.samialsayyed.com/moss-remove-personalize-this-page-option</link>
		<comments>http://www.samialsayyed.com/moss-remove-personalize-this-page-option#comments</comments>
		<pubDate>Tue, 19 Jan 2010 10:19:06 +0000</pubDate>
		<dc:creator>Sami</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[MOSS]]></category>

		<guid isPermaLink="false">http://www.samialsayyed.com/?p=92</guid>
		<description><![CDATA[Edit C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES\Welcome.ascx Remove or Edit &#60;SharePoint:MenuItemTemplate runat=&#8221;server&#8221; id=&#8221;ID_PersonalizePage&#8221; Text=&#8221;&#60;%$Resources:wss,personalactions_personalizepage%&#62;&#8221; Description=&#8221;&#60;%$Resources:wss,personalactions_personalizepagedescription%&#62;&#8221; ImageUrl=&#8221;/_layouts/images/menupersonalize.gif&#8221; ClientOnClickScript=&#8221;javascript:MSOLayout_ChangeLayoutMode(true);&#8221; PermissionsString=&#8221;AddDelPrivateWebParts,UpdatePersonalWebParts&#8221; PermissionMode=&#8221;Any&#8221; MenuGroupId=&#8221;300&#8243; Sequence=&#8221;100&#8243; UseShortId=&#8221;true&#8221; /&#62;]]></description>
			<content:encoded><![CDATA[<p><strong>Edit</strong><br />
		<span style="color:blue; text-decoration:underline">C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\CONTROLTEMPLATES\Welcome.ascx</span>
	</p>
<p><strong>Remove or Edit<br />
</strong></p>
<p><span style="font-family:Courier New; font-size:10pt">&lt;SharePoint:MenuItemTemplate runat=&#8221;server&#8221; id=&#8221;ID_PersonalizePage&#8221;<br />
</span></p>
<p><span style="font-family:Courier New; font-size:10pt">Text=&#8221;&lt;%$Resources:wss,personalactions_personalizepage%&gt;&#8221;<br />
</span></p>
<p><span style="font-family:Courier New; font-size:10pt">Description=&#8221;&lt;%$Resources:wss,personalactions_personalizepagedescription%&gt;&#8221;<br />
</span></p>
<p><span style="font-family:Courier New; font-size:10pt">ImageUrl=&#8221;/_layouts/images/menupersonalize.gif&#8221;<br />
</span></p>
<p><span style="font-family:Courier New; font-size:10pt">ClientOnClickScript=&#8221;javascript:MSOLayout_ChangeLayoutMode(true);&#8221;<br />
</span></p>
<p><span style="font-family:Courier New; font-size:10pt">PermissionsString=&#8221;AddDelPrivateWebParts,UpdatePersonalWebParts&#8221;<br />
</span></p>
<p><span style="font-family:Courier New; font-size:10pt">PermissionMode=&#8221;Any&#8221;<br />
</span></p>
<p><span style="font-family:Courier New; font-size:10pt">MenuGroupId=&#8221;300&#8243;<br />
</span></p>
<p><span style="font-family:Courier New; font-size:10pt">Sequence=&#8221;100&#8243;<br />
</span></p>
<p><span style="font-family:Courier New; font-size:10pt">UseShortId=&#8221;true&#8221;<br />
</span></p>
<p><span style="font-family:Courier New; font-size:10pt">/&gt;</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.samialsayyed.com/moss-remove-personalize-this-page-option/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

