<?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>Making Life Simple</title>
	<atom:link href="http://www.lalitmehta.com/home/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lalitmehta.com/home</link>
	<description></description>
	<lastBuildDate>Fri, 18 May 2012 06:00:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>How to save password in TortoiseSVN</title>
		<link>http://www.lalitmehta.com/home/2012/05/17/how-to-save-password-in-tortoisesvn/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-save-password-in-tortoisesvn</link>
		<comments>http://www.lalitmehta.com/home/2012/05/17/how-to-save-password-in-tortoisesvn/#comments</comments>
		<pubDate>Fri, 18 May 2012 06:00:27 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[Windoze]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=196</guid>
		<description><![CDATA[Follow these steps a) Right click on local code repo b) Go to TortoiseSVN &#62; Settings c) Go to &#8220;Network&#8221; d) Browse for SSH Client and use following &#8220;C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe&#8221; – Can be found in TortoiseSVN installation folder d) Append following replacing username and password with your user name and password &#8220;-l username -pw password&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>Follow these steps<br />
a) Right click on local code repo<br />
b) Go to TortoiseSVN &gt; Settings<br />
c) Go to &#8220;Network&#8221;<br />
d) Browse for SSH Client and use following<br />
&#8220;C:\Program Files\TortoiseSVN\bin\TortoisePlink.exe&#8221; – Can be found in TortoiseSVN installation folder<br />
d) Append following replacing username and password with your user name and password<br />
&#8220;-l username -pw password&#8221;<br />
e) Click OK/Apply</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2012/05/17/how-to-save-password-in-tortoisesvn/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solr import URLs</title>
		<link>http://www.lalitmehta.com/home/2012/01/19/solr-import-urls/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=solr-import-urls</link>
		<comments>http://www.lalitmehta.com/home/2012/01/19/solr-import-urls/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 09:13:11 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[solr]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=185</guid>
		<description><![CDATA[Full-import http://&#60;host&#62;:&#60;port&#62;/solr/dataimport?command=full-import Delta-import http://&#60;host&#62;:&#60;port&#62;/solr/dataimport?command=delta-import status http://&#60;host&#62;:&#60;port&#62;/solr/dataimport reload-config http://&#60;host&#62;:&#60;port&#62;/solr/dataimport?command=reload-config abort http://&#60;host&#62;:&#60;port&#62;/solr/dataimport?command=abort]]></description>
			<content:encoded><![CDATA[<p><code><br />
Full-import</p>
<p>http://&lt;host&gt;:&lt;port&gt;/solr/dataimport?command=full-import</code></p>
<p>Delta-import</p>
<p>http://&lt;host&gt;:&lt;port&gt;/solr/dataimport?command=delta-import</p>
<p>status</p>
<p>http://&lt;host&gt;:&lt;port&gt;/solr/dataimport</p>
<p>reload-config</p>
<p>http://&lt;host&gt;:&lt;port&gt;/solr/dataimport?command=reload-config</p>
<p>abort</p>
<p>http://&lt;host&gt;:&lt;port&gt;/solr/dataimport?command=abort</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2012/01/19/solr-import-urls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Steps to speed up Eclipse</title>
		<link>http://www.lalitmehta.com/home/2011/11/08/steps-to-speed-up-eclipse/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=steps-to-speed-up-eclipse</link>
		<comments>http://www.lalitmehta.com/home/2011/11/08/steps-to-speed-up-eclipse/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 13:19:03 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[java]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[eclipse]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=179</guid>
		<description><![CDATA[I found an interesting link which helped me to speed up the eclipse loading time. Let me know if that helped you.]]></description>
			<content:encoded><![CDATA[<p>I found an interesting <a title="Speed up your eclipse" href="http://www.beyondlinux.com/blog/2011/06/25/speed-up-your-eclipse-as-a-super-fast-ide/" target="_blank">link</a> which helped me to speed up the eclipse loading time. Let me know if that helped you.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2011/11/08/steps-to-speed-up-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Set autoincrement value in mysql</title>
		<link>http://www.lalitmehta.com/home/2011/08/22/set-autoincrement-value-in-mysql/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=set-autoincrement-value-in-mysql</link>
		<comments>http://www.lalitmehta.com/home/2011/08/22/set-autoincrement-value-in-mysql/#comments</comments>
		<pubDate>Mon, 22 Aug 2011 10:59:38 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=176</guid>
		<description><![CDATA[Sometimes it is necessary to set the starting value of MySQL auto-increment value.  This can be set as alter table table_name auto_increment=XXXX where table_name is the name of the table and XXXX is the starting value of auto increment]]></description>
			<content:encoded><![CDATA[<p>Sometimes it is necessary to set the starting value of MySQL auto-increment value.  This can be set as</p>
<p><code>alter table table_name auto_increment=XXXX</code></p>
<p>where table_name is the name of the table and XXXX is the starting value of auto increment</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2011/08/22/set-autoincrement-value-in-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Access AWS with Putty</title>
		<link>http://www.lalitmehta.com/home/2011/07/22/access-aws-with-putty/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=access-aws-with-putty</link>
		<comments>http://www.lalitmehta.com/home/2011/07/22/access-aws-with-putty/#comments</comments>
		<pubDate>Fri, 22 Jul 2011 18:56:46 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[aws]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=171</guid>
		<description><![CDATA[When accessing EC2 amazon cloud, you would receive a .pem file to login to the shell. Putty does not use .pem file and you would need to convert that file to .ppk file which putty uses. In order to convert it, you would need to download puttygen.exe from the website. Run the program and follow [...]]]></description>
			<content:encoded><![CDATA[<p>When accessing EC2 amazon cloud, you would receive a .pem file to login to the shell.  Putty does not use .pem file and you would need to convert that file to .ppk file which putty uses.  In order to convert it, you would need to download puttygen.exe from the website.  Run the program and follow the following steps:</p>
<ol>
<li>Click &#8220;Conversions&#8221; on the menu and select &#8220;Import key&#8221;</li>
<li>Browse to the .pem file </li>
<li>Click &#8220;Save private key&#8221; button</li>
<li>You would get a warning that you are saving the key without a passphrase.  Please ignore it and click &#8220;Yes&#8221;</li>
<li>Save the .ppk file</li>
</ol>
<p>On putty:</p>
<ol>
<li>Select the session you created and click &#8220;Load&#8221;</li>
<li>Open &#8220;SSH->Auth&#8221; from the tree on the left</li>
<li>Under &#8220;Private key file for authentication&#8221; browse to the recently created .ppk file</li>
<li>Save the session and you are ready</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2011/07/22/access-aws-with-putty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL export/import database</title>
		<link>http://www.lalitmehta.com/home/2011/06/09/mysql-exportimport-database/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mysql-exportimport-database</link>
		<comments>http://www.lalitmehta.com/home/2011/06/09/mysql-exportimport-database/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 14:06:49 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=167</guid>
		<description><![CDATA[The easiest way to export is use syntax in command prompt (cmd): mysqldump -u USER -p PASSWORD DATABASE > filename.sql To import the same file, the syntax is: mysql -u USER -p PASSWORD DATABASE < filename.sql]]></description>
			<content:encoded><![CDATA[<p>The easiest way to export is use syntax in command prompt (cmd):<br />
<code>mysqldump -u USER -p PASSWORD DATABASE > filename.sql </code></p>
<p>To import the same file, the syntax is:<br />
<code>mysql -u USER -p PASSWORD DATABASE < filename.sql</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2011/06/09/mysql-exportimport-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enable XDebug on WAMP using Eclipse</title>
		<link>http://www.lalitmehta.com/home/2011/06/07/enable-xdebug-on-wamp-using-eclipse/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=enable-xdebug-on-wamp-using-eclipse</link>
		<comments>http://www.lalitmehta.com/home/2011/06/07/enable-xdebug-on-wamp-using-eclipse/#comments</comments>
		<pubDate>Tue, 07 Jun 2011 11:38:20 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[apache]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Windoze]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=162</guid>
		<description><![CDATA[For Windows machine running WAMPServer: 1) Install PDT plugin on your eclipse 2) Download XDebug to match your php 3) Install XDebug &#8211; save XDebug dll to wamp_path/bin/php/php5.3.5/ext folder 4) Enable XDebug &#8211; update php.ini file 4a) comment zend debugger information 4b) enable xdebug [xdebug] xdebug.remote_enable = on xdebug.profiler_enable = off xdebug.profiler_enable_trigger = off ; [...]]]></description>
			<content:encoded><![CDATA[<p>For Windows machine running WAMPServer:</p>
<p>1) Install PDT plugin on your eclipse<br />
2) Download XDebug to match your php<br />
3) Install XDebug &#8211; save XDebug dll to wamp_path/bin/php/php5.3.5/ext folder<br />
4) Enable XDebug &#8211; update php.ini file<br />
    4a) comment zend debugger information<br />
    4b) enable xdebug<br />
<code>[xdebug]<br />
xdebug.remote_enable = on<br />
xdebug.profiler_enable = off<br />
xdebug.profiler_enable_trigger = off<br />
; xdebug.profiler_output_name = cachegrind.out.%t.%p<br />
xdebug.profiler_output_dir = "path to tmp folder"<br />
xdebug.remote_handler = dbgp<br />
xdebug.remote_host = localhost<br />
xdebug.remote_port = 9000</code></p>
<p>5) restart apache<br />
6) Update PHP settings on eclipse to enable XDebug</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2011/06/07/enable-xdebug-on-wamp-using-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MySQL server has gone away</title>
		<link>http://www.lalitmehta.com/home/2011/03/03/mysql-server-has-gone-away-2/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=mysql-server-has-gone-away-2</link>
		<comments>http://www.lalitmehta.com/home/2011/03/03/mysql-server-has-gone-away-2/#comments</comments>
		<pubDate>Thu, 03 Mar 2011 12:32:03 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=156</guid>
		<description><![CDATA[While importing a mysql dump file, I was receiving an error &#8220;MySQL server has gone away&#8221;. The reason is that the maximum allowed packet size was less than the dump file size. Edit &#8220;my.ini&#8221; file and update the value for max_allowed_packet = XXM where XX is the maximum size. This should fix the issue.]]></description>
			<content:encoded><![CDATA[<p>While importing a mysql dump file, I was receiving an error &#8220;MySQL server has gone away&#8221;.  The reason is that the maximum allowed packet size was less than the dump file size.</p>
<p>Edit &#8220;my.ini&#8221; file and update the value for<br />
max_allowed_packet = XXM<br />
where XX is the maximum size.</p>
<p>This should fix the issue.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2011/03/03/mysql-server-has-gone-away-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CSV to Excel &#8211; keep leading zeros</title>
		<link>http://www.lalitmehta.com/home/2010/02/09/csv-to-excel-keep-leading-zeros/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=csv-to-excel-keep-leading-zeros</link>
		<comments>http://www.lalitmehta.com/home/2010/02/09/csv-to-excel-keep-leading-zeros/#comments</comments>
		<pubDate>Tue, 09 Feb 2010 21:36:57 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[Windoze]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=149</guid>
		<description><![CDATA[When opening a csv file in excel, leading zero&#8217;s are displaced as below: if the CSV file has &#8220;010101&#8243;, when opened in excel, it becomes &#8220;10101&#8243;. To overcome this issue, store data in CSV file as =&#8221;010101&#8243; (add &#8216;equals&#8217; sign before the first quote.). If now you would open this file in excel, the leading [...]]]></description>
			<content:encoded><![CDATA[<p>When opening a csv file in excel, leading zero&#8217;s are displaced as below:</p>
<p>if the CSV file has &#8220;010101&#8243;, when opened in excel, it becomes &#8220;10101&#8243;.</p>
<p>To overcome this issue, store data in CSV file as =&#8221;010101&#8243; (add &#8216;equals&#8217; sign before the first quote.). If now you would open this file in excel, the leading zeros will stay as is.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2010/02/09/csv-to-excel-keep-leading-zeros/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generate SSL certificate for Tomcat</title>
		<link>http://www.lalitmehta.com/home/2010/01/21/generate-ssl-certificate-for-tomcat/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=generate-ssl-certificate-for-tomcat</link>
		<comments>http://www.lalitmehta.com/home/2010/01/21/generate-ssl-certificate-for-tomcat/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 18:21:00 +0000</pubDate>
		<dc:creator>lalit</dc:creator>
				<category><![CDATA[general web]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://www.lalitmehta.com/home/?p=144</guid>
		<description><![CDATA[Following are the steps to create an real SSL certificate (verified by VeriSign/Thawte etc.) for Tomcat: 1. Creation of keystore keytool -genkey -alias XXX -keyalg RSA -keystore ./XXX.keystore 2. Generation of CSR keytool -certreq -alias XXX -file XXX.csr -keystore ./XXX.keystore Send the generated XXX.csr to the signing authority and get the certificate from them. Save [...]]]></description>
			<content:encoded><![CDATA[<p>Following are the steps to create an real SSL certificate (verified by VeriSign/Thawte etc.) for Tomcat:<br />
1. Creation of keystore<br />
<code>keytool -genkey -alias XXX -keyalg RSA -keystore ./XXX.keystore</code></p>
<p>2. Generation of CSR<br />
<code>keytool -certreq -alias XXX -file XXX.csr -keystore ./XXX.keystore</code><br />
Send the generated XXX.csr to the signing authority and get the certificate from them.  Save that file as &#8220;XXX.thawte&#8221;</p>
<p>3. Install the certificate in the keystore<br />
<code>keytool -import -alias XXX -trustcacerts -file XXX.thawte  -keystore XXX.keystore</code></p>
<p>That&#8217;s it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lalitmehta.com/home/2010/01/21/generate-ssl-certificate-for-tomcat/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

