<?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>Chinmay Chiranjeeb &#187; Tutorials</title>
	<atom:link href="http://www.chiranjeeb.com/category/tutorials/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.chiranjeeb.com</link>
	<description>a UI Developer.</description>
	<lastBuildDate>Thu, 19 Jan 2012 21:56:41 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>IE6 color patches on scroll Fixes</title>
		<link>http://www.chiranjeeb.com/ie6-color-patches-on-scroll-fixes/</link>
		<comments>http://www.chiranjeeb.com/ie6-color-patches-on-scroll-fixes/#comments</comments>
		<pubDate>Mon, 04 May 2009 17:19:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS Hacks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[Color Patches]]></category>
		<category><![CDATA[IE6 Fixes]]></category>

		<guid isPermaLink="false">http://www.chiranjeeb.com/?p=198</guid>
		<description><![CDATA[I came across the color patches problem on scroll of IE6. Cause: If we have no or different background color in the parent div and the Current div has different background color. Example: HTML CODE &#8230; &#8230; &#8230; &#60;div class=&#8221;outter-content&#8221;&#62; &#8230; <a href="http://www.chiranjeeb.com/ie6-color-patches-on-scroll-fixes/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I came across the color patches problem on scroll of IE6.<br />
<strong>Cause:</strong> If we have no or different background color in the parent div and the Current div has different background color.</p>
<p><strong>Example: </strong></p>
<p><strong>HTML CODE</strong></p>
<p>&#8230; &#8230; &#8230;</p>
<p>&lt;div class=&#8221;outter-content&#8221;&gt;</p>
<p>&lt;div class=&#8221;content-home&#8221;&gt;</p>
<p>&lt;div class=&#8221;banner&#8221;&gt;&#8230; &#8230; &#8230;&lt;/div&gt;</p>
<p>&lt;/div&gt;</p>
<p>&lt;/div&gt;</p>
<p>&#8230; &#8230; &#8230;<strong><br />
</strong></p>
<p><strong>CSS CODE</strong></p>
<pre>.outter-content {
	background: #000;
	clear: both;
	border:#a5b3bb 1px solid;
	border-top:0px;
}

.content-home {
	clear: both;
	padding:0 1px;
	background: #d8eaf0;
	border-bottom:1px solid #a6b4bc;
}

.banner{
	background: url("../images/banner.png") no-repeat left top;
	width:1000px;
	height:436px;
}</pre>
<p><strong></strong><strong>Screen Shots:</strong></p>
<div id="attachment_199" class="wp-caption aligncenter" style="width: 560px"><img class="size-full wp-image-199" title="ie6-color-patches" src="http://www.chiranjeeb.com/wp-content/uploads/2009/05/ie6-color-patches.png" alt="IE6 Color Patches" width="550" height="321" /><p class="wp-caption-text">IE6 Color Patches</p></div>
<p><strong>Solution:</strong><br />
Change the background of <code>.outter-content</code> to same as <code>.content-home</code>.<br />
<strong></strong></p>
<p><strong>CSS CODE</strong></p>
<pre>.outter-content {
	background: #d8eaf0 ;
	clear: both;
	border:#a5b3bb 1px solid;
	border-top:0px;
}
... ...</pre>
<p><strong>Screen Shots:</strong></p>
<div id="attachment_200" class="wp-caption aligncenter" style="width: 560px"><img class="size-full wp-image-200" title="ie6-color-patches-fixed" src="http://www.chiranjeeb.com/wp-content/uploads/2009/05/ie6-color-patches-fixed.png" alt="IE6 Color Patches Fixed" width="550" height="321" /><p class="wp-caption-text">IE6 Color Patches Fixed</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.chiranjeeb.com/ie6-color-patches-on-scroll-fixes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE6 Auto-width Margins Problem fixed</title>
		<link>http://www.chiranjeeb.com/ie6-auto-width-margins/</link>
		<comments>http://www.chiranjeeb.com/ie6-auto-width-margins/#comments</comments>
		<pubDate>Fri, 01 May 2009 18:57:11 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[CSS Hacks]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[DIV Center Align in IE6]]></category>
		<category><![CDATA[IE6 Fixes]]></category>

		<guid isPermaLink="false">http://www.chiranjeeb.com/?p=182</guid>
		<description><![CDATA[Many of developers faced the Auto width Margin (margin:0 auto;) problem in IE6 browsers to make the content div center aligned irrespective of browser window. Here is the solution. Modify the CSS accordingly: body { margin:50px 0px; padding:0px; /* Need &#8230; <a href="http://www.chiranjeeb.com/ie6-auto-width-margins/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Many of developers faced the Auto width Margin (<code>margin:0 auto;</code>) problem in IE6 browsers to make the content div center aligned irrespective of browser window.</p>
<p>Here is the solution.</p>
<p>Modify the CSS accordingly:</p>
<pre>
body {
      margin:50px 0px; padding:0px;
      /* Need to set body margin and padding to get
      consistency between browsers. */
      text-align:center; /* Hack for IE5/Win */
}

#Content {
      width:500px;
      margin:0px auto; /* Right and left margin widths set to "auto" */
      text-align:left; /* Counteract to IE5/Win Hack */
      padding:15px;
      border:1px dashed #333;
      background-color:#eee;
}
</pre>
<p>Screen Shots:</p>
<p>IE6</p>
<div id="attachment_184" class="wp-caption aligncenter" style="width: 560px"><img src="http://www.chiranjeeb.com/wp-content/uploads/2009/05/ie6.png" alt="IE6 Screen Shots" title="IE6 Screen Shots" width="550" height="330" class="size-full wp-image-184" /><p class="wp-caption-text">IE6 Screen Shots</p></div>
<p>FF3</p>
<div id="attachment_183" class="wp-caption aligncenter" style="width: 560px"><img src="http://www.chiranjeeb.com/wp-content/uploads/2009/05/ff3.png" alt="FF3 Screen Shots" title="FF3 Screen Shots" width="550" height="330" class="size-full wp-image-183" /><p class="wp-caption-text">FF3 Screen Shots</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.chiranjeeb.com/ie6-auto-width-margins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Learn C++ in Singing the Songs</title>
		<link>http://www.chiranjeeb.com/learn-c-in-singing-the-songs/</link>
		<comments>http://www.chiranjeeb.com/learn-c-in-singing-the-songs/#comments</comments>
		<pubDate>Wed, 01 Apr 2009 18:30:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.chiranjeeb.com/?p=178</guid>
		<description><![CDATA[C++ sings the following songs * Null pointers Mera jeevan kora kagaz kora hi reh gaya. *Local variable Mein pal do pal ka shayar hu, pal do pal meri kahani hai, pal do pal meri hasti hai * Undeleted pointers &#8230; <a href="http://www.chiranjeeb.com/learn-c-in-singing-the-songs/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><strong>C++</strong> sings the following songs</p>
<p><strong>*  Null pointers</strong><br />
Mera jeevan kora kagaz kora hi reh gaya.</p>
<p><strong>*Local variable</strong><br />
Mein pal do pal ka shayar hu, pal do pal meri kahani hai, pal do pal meri hasti hai</p>
<p><strong>*  Undeleted pointers</strong><br />
Maut bhi aati nahi jaan bhi jati nahi.</p>
<p><strong>*  Unused variables</strong><br />
Badi sooni sooni hai zindagi yeh zindagi</p>
<p><strong>#include</strong><br />
Saathi haath bataana ek akela thak jayega milkar bojh uthana</p>
<p><strong>*  DO loop </strong><br />
Sau saal pehle, mujhe tumse pyaar tha Aaj bhi hai, aur kal bhi rahega</p>
<p><strong>*  IF THEN ELSE</strong><br />
Tum agar mujhko na chaaho to koi baat nahin Magar kisi aur ko chaahogi to mushkil hogi.</p>
<p><strong>*  RETURN statement</strong><br />
Aa laut ke aaja mere meet tujhe mere geet bulaate hain</p>
<p><strong>*  Procedure call</strong><br />
Aa aab lout chale</p>
<p><strong>*  malloc()</strong><br />
Yaad kiya dilne kahan ho tum?</p>
<p><strong>*  exit(), suspend</strong><br />
Ruk jaa o jaane waali ruk jaa</p>
<p><strong>*  for(;;), the infinite loop<br />
</strong>Hum tum, yug yug se ye geet milan ke gaate rahe hain, gaate rahenge hum tum&#8230;</p>
<p><strong>*  #remote login:</strong><br />
Tumse kuchh kehna hai, agar tum kuch kehne do</p>
<p><strong>*  # network busy</strong><br />
suno &#8211; kaho, kaha &#8211; suna, kuch huwa kya? abhee to nahin&#8230;</p>
<p><strong> *  Two Recursive functions calling each other</strong><br />
Mujhe kuch kehna hein, muze bhi kuch kehna hein pehle tum, pehle tum&#8230;</p>
<p><strong>*  extern variable</strong><br />
hum hein rahee pyaar ke, phir milen chalte chalte</p>
<p><strong>*  static/local variable</strong><br />
Jeena yahaan, marna yahaan iske siwa jaana kahan</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chiranjeeb.com/learn-c-in-singing-the-songs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Folder Lock without any Software!!!</title>
		<link>http://www.chiranjeeb.com/folder-lock-without-any-software/</link>
		<comments>http://www.chiranjeeb.com/folder-lock-without-any-software/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 17:27:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[FolderLock]]></category>
		<category><![CDATA[Security Tips]]></category>

		<guid isPermaLink="false">http://www.chiranjeeb.com/folder-lock-without-any-software</guid>
		<description><![CDATA[Many people have wished to lock folders without the use of any alternative software. So, here you go. Lets Create a Batch file to do the Folder Lock and Unlock. Open Notepad and copy the below code and save as &#8230; <a href="http://www.chiranjeeb.com/folder-lock-without-any-software/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><font size="2"><span style="font-family: Arial;">Many people have wished to lock folders without the use of any alternative software. So, here you go.</span></font><font style="font-family: Arial;" size="2" face="Arial"><span style="font-size: 10pt;"><br />
</span></font><font size="2"><br style="font-family: Arial;" /><span style="font-family: Arial;"> Lets Create a Batch file to do the Folder Lock and Unlock.</p>
<p>Open Notepad and copy the below code and save as <span style="font-weight: bold;">locker.bat</span> .<br />
Don&#8217;t forget to change your password in the code it&#8217;s shown the place where to <span style="font-weight: bold;"></span></span></font><font size="2" color="green" face="Verdana"><span style="font-size: 10pt; color: green; font-family: Verdana;"><span style="font-weight: bold; font-style: italic; color: rgb(255, 0, 0);">Type your Password</span></span></font><font size="2"><span style="font-family: Arial;"><span style="font-weight: bold;"></span>. </span></font><font style="font-family: Arial;" size="2" face="Arial"></p>
<p>Now double click on <b><span style="font-weight: bold;">locker .bat </span></b>to run(execute) the file.<br />
&nbsp;<br />
First time start it will create folder with <b><span style="font-weight: bold;">Locker</span></b> automatically for you.</p>
<p>Place the contents that you want to lock inside the <b><span style="font-weight: bold;">Locker</span></b> Folder.</p>
<p><span style="font-weight: bold; text-decoration: underline;">Lock the folder:</p>
<p></span>Run <span style="font-weight: bold;">locker.bat</span> .</font><font style="font-family: Arial;" size="2" face="Arial"><span style="font-size: 10pt;"></span></font><font size="2"></p>
<p>Are You Sure You Want To Lock The Folder(Y/N)<br />
&gt; Y<br />
<span style="font-family: Arial;"><br />
Press the enter</p>
<p>Your Folder is Locked Successfully.</p>
<p>After this the folder will be in hidden mode. and you can&#8217;t see this folder even if you set Show hidden files and folders at the&nbsp; Tools -&gt; Folder options.</p>
<p></span></font><font style="font-family: Arial;" size="2" face="Arial"><span style="font-weight: bold; text-decoration: underline;">Unlock the folder:</span></font><br style="font-family: Arial;" /><font size="2"><span style="font-family: Arial;"></span><span style="font-family: Arial;"> &nbsp;</span></font><font style="font-family: Arial;" size="2" face="Arial"><br />
Run the</font><font style="font-family: Arial;" size="2" color="navy" face="Arial"><span style="font-size: 10pt; color: navy;"> </span></font><font face="Arial"><span style="font-family: Arial;"><font size="2"><span style="font-family: Arial;">locker.bat again and give the password</p>
<p>It will show the Locker Folder.<br />
&nbsp;</span></font><font color="#4f4f4f"><span style="color: rgb(79, 79, 79);"><br />
</span></font></span></font><font size="2" face="Arial"><span style="font-size: 10pt; font-family: Arial;"></span></font><font color="#4f4f4f" face="Arial"><span style="color: rgb(79, 79, 79); font-family: Arial;"><br />
<span style="text-decoration: underline; color: rgb(0, 0, 0); font-family: Arial;"><span style="font-weight: bold;">Source Code</span></span></span></font><font style="font-family: Arial;" size="2" face="Arial"><span style="font-weight: bold; text-decoration: underline;"><span style="color: rgb(0, 0, 0); font-family: Arial;">:</span></p>
<p></span></font><font size="2" color="green" face="Verdana"><span style="font-size: 10pt; color: green; font-family: Verdana;"> cls<br />
@ECHO OFF<br />
title Folder Locker<br />
if EXIST &#8220;Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}&#8221; goto UNLOCK<br />
if NOT EXIST Locker goto MDLOCKER<br />
:CONFIRM<br />
echo Are You Sure You Want To Lock The Folder(Y/N)<br />
set/p &#8220;cho=&gt;&#8221;<br />
if %cho%==Y goto LOCK<br />
if %cho%==y goto LOCK<br />
if %cho%==n goto END<br />
if %cho%==N goto END<br />
echo Invalid Password. Please Try Again<br />
goto CONFIRM<br />
:LOCK<br />
ren Locker &#8220;Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}&#8221;<br />
attrib +h +s &#8220;Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}&#8221;<br />
echo Folder Locked<br />
goto End<br />
:UNLOCK<br />
echo Enter Password to Unlock Folder<br />
set/p &#8220;pass=&gt;&#8221;<br />
if NOT %pass%==<span style="font-weight: bold; font-style: italic; color: rgb(255, 0, 0);">Type your Password</span> goto FAIL<br />
attrib -h -s &#8220;Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}&#8221;<br />
ren &#8220;Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}&#8221; Locker<br />
echo Folder Unlocked Successfully<br />
goto End<br />
:FAIL<br />
echo Invalid Password<br />
goto end<br />
:MDLOCKER<br />
md Locker<br />
echo Locker Created Successfully<br />
goto End<br />
:End</p>
<p></span></font><font color="#4f4f4f" face="Arial"><span style="color: rgb(79, 79, 79); font-family: Arial;"><span style="text-decoration: underline; color: rgb(0, 0, 0); font-family: Arial;"><span style="font-weight: bold;">Security Tips</span></span></span></font><font style="font-family: Arial;" size="2" face="Arial"><span style="font-weight: bold; text-decoration: underline;"><span style="color: rgb(0, 0, 0); font-family: Arial;">:</p>
<p></span></span></font>
<ul>
<li><font style="font-family: Arial;" size="2" face="Arial"><span style="color: rgb(0, 0, 0); font-family: Arial;">Don&#8217;t open the locker.bat file or Type the Password to open the folder in front of any one.</span></font></li>
<li><font style="font-family: Arial;" size="2" face="Arial"><span style="color: rgb(0, 0, 0); font-family: Arial;">Put it in the C:/ drive&nbsp; and rename it.</span></font></li>
</ul>
<p><font style="font-family: Arial;" size="2" face="Arial"><span style="font-weight: bold; text-decoration: underline;"><span style="color: rgb(0, 0, 0); font-family: Arial;"><br />
</span></span></font><font size="2" color="green" face="Verdana"><span style="font-size: 10pt; color: green; font-family: Verdana;"></span></font><font size="2" color="blue" face="Arial"><span style="font-size: 10pt; color: blue; font-family: Arial;"></span></font>  <font size="2" color="blue" face="Arial"><span style="font-size: 10pt; color: blue; font-family: Arial;"></span></font></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chiranjeeb.com/folder-lock-without-any-software/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>10 steps to recover Projects Localhost crashes.</title>
		<link>http://www.chiranjeeb.com/recover-projects/</link>
		<comments>http://www.chiranjeeb.com/recover-projects/#comments</comments>
		<pubDate>Thu, 18 Dec 2008 14:52:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Tutorials]]></category>

		<guid isPermaLink="false">http://www.chiranjeeb.com/?p=57</guid>
		<description><![CDATA[10 steps to recover all your Projects, database and tables when server/localhost crashes. &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212; 1. Before uninstalling the crashed server copy the full folder as backup of all previous data. (Example: Take backup of &#8220;C:wamp&#8221; folder) 2. Uninstall the Crashed &#8230; <a href="http://www.chiranjeeb.com/recover-projects/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>10 steps to recover all your Projects, database and tables when server/localhost crashes.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>1. Before uninstalling the crashed server copy the full folder as backup of all previous data. (Example: Take backup of &#8220;C:wamp&#8221; folder)</p>
<p>2. Uninstall the Crashed server and install the new one.</p>
<p>3. Make sure your new server running and has no error.</p>
<p>4. If server is running make it Stop and Offline then close it.</p>
<p>5. Go to C:wampbinmysqlmysql5.0.45data</p>
<p>6. Its better to take a backup copy of this data folder.</p>
<p>7. Replace the files and folders with your previous server data.</p>
<p>8. Add your Previous Projects to the Root folder. (Example: &#8220;C:wampwww&#8221;)</p>
<p>9. Restart the server and check whether your previous tables and data are reflecting in the new server. (Example: Check it Out here <a rel="nofollow" href="http://localhost/phpmyadmin/">http://localhost/phpmyadmin/</a>)</p>
<p>10. Enjoy with your Old Projects at new server</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chiranjeeb.com/recover-projects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

