<?xml version="1.0" encoding="UTF-8" standalone="no"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:gd="http://schemas.google.com/g/2005" xmlns:georss="http://www.georss.org/georss" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-5259688887705997922</atom:id><lastBuildDate>Mon, 19 Oct 2026 10:36:55 +0000</lastBuildDate><category>vim</category><category>gvim</category><category>selenium</category><category>Internet explorer</category><category>ant</category><category>bat</category><category>chrome browser</category><category>cvs</category><category>mysql</category><category>webdriver</category><title>Software automation and me</title><description>I was in software industry since 2007. In this blog i am writing some tips i know from my personal experience for people who are in this software profession.</description><link>http://pjerald.blogspot.com/</link><managingEditor>noreply@blogger.com (jerald)</managingEditor><generator>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><language>en-us</language><itunes:explicit>no</itunes:explicit><itunes:keywords>vim,mysql,tips</itunes:keywords><itunes:summary>This is a blog containing small tip for developers.</itunes:summary><itunes:subtitle>small tip</itunes:subtitle><itunes:owner><itunes:email>pauljerald@gmail.com</itunes:email></itunes:owner><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5259688887705997922.post-3496813412725474150</guid><pubDate>Fri, 25 Jan 2019 10:18:00 +0000</pubDate><atom:updated>2019-01-25T02:18:05.323-08:00</atom:updated><title>Class: JSONObject not found in namespace - Solution</title><description>When you run the jmeter and if you see the error - Class: JSONObject not found in namespace&lt;br /&gt;
&lt;br /&gt;
This mean that you dont have the class in jmeter lib you mentioned in the BeanShell script. To fix this copy the jar needed and paste it under lib folder in jmeter and restart it.&lt;br /&gt;
&lt;br /&gt;
Download json jar from here -&amp;nbsp;https://github.com/stleary/JSON-java</description><link>http://pjerald.blogspot.com/2019/01/class-jsonobject-not-found-in-namespace.html</link><thr:total>1</thr:total><author>pauljerald@gmail.com (jerald)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5259688887705997922.post-6951378018570994475</guid><pubDate>Fri, 25 Jan 2019 07:42:00 +0000</pubDate><atom:updated>2019-01-24T23:42:51.577-08:00</atom:updated><title>How to get response data using BeanShell post possessor </title><description>In the BeanShell post possessor the script section has the following -&lt;br /&gt;
&lt;br /&gt;
ctx, vars, props, prev, data and log.&lt;br /&gt;
&lt;br /&gt;
In the above, the data is byte array of the parent sampler. So we can use string class from java to construct a string from the byte array like this -&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
String myResponseData = new String(data);&lt;/blockquote&gt;
&lt;br /&gt;
&lt;br /&gt;
If you want to parse json from the above string you can use the following -&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;
JSONObject jsonObj = new JSONObject(myResponseData);&lt;/blockquote&gt;
</description><link>http://pjerald.blogspot.com/2019/01/how-to-get-response-data-using.html</link><thr:total>1</thr:total><author>pauljerald@gmail.com (jerald)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5259688887705997922.post-608481465087408346</guid><pubDate>Thu, 17 Jan 2019 05:57:00 +0000</pubDate><atom:updated>2019-01-16T21:57:36.363-08:00</atom:updated><title>Curl https error </title><description>When curl says https error just change the single quote to double quote it will work.&lt;br /&gt;
&lt;br /&gt;
For example -&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivUE6oZYwXfW2wZ0bkdtoJnt1MtY1GmEBznVj0P0woHr7OFapPnZt6fBDdIlDSKLX2ilfZyDRCTMvvyxzZruJMRJ43Rb2OkVgSU8vFlRQKOsWA3mZqPclV04fKAcO6kJKUo6aOMCb0LjEk/s1600/curl.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" data-original-height="312" data-original-width="716" height="139" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivUE6oZYwXfW2wZ0bkdtoJnt1MtY1GmEBznVj0P0woHr7OFapPnZt6fBDdIlDSKLX2ilfZyDRCTMvvyxzZruJMRJ43Rb2OkVgSU8vFlRQKOsWA3mZqPclV04fKAcO6kJKUo6aOMCb0LjEk/s320/curl.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
This is windows default installed libcurl.</description><link>http://pjerald.blogspot.com/2019/01/curl-https-error.html</link><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" height="72" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivUE6oZYwXfW2wZ0bkdtoJnt1MtY1GmEBznVj0P0woHr7OFapPnZt6fBDdIlDSKLX2ilfZyDRCTMvvyxzZruJMRJ43Rb2OkVgSU8vFlRQKOsWA3mZqPclV04fKAcO6kJKUo6aOMCb0LjEk/s72-c/curl.png" width="72"/><thr:total>0</thr:total><author>pauljerald@gmail.com (jerald)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5259688887705997922.post-7999352773880150132</guid><pubDate>Mon, 18 Jul 2016 10:59:00 +0000</pubDate><atom:updated>2016-07-18T04:06:13.115-07:00</atom:updated><title>How to generate html report from jmeter output? ie., JTL -&gt; HTML</title><description>&lt;br /&gt;&lt;b&gt;How to generate html report from jmeter output? ie., JTL -&amp;gt; HTML&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Steps&lt;br /&gt;
1) Find and replace the special characters in the jtl file.&lt;br /&gt;
&lt;br /&gt;
Making use of vim find and replace commands will replace all special characters like &amp;amp;#xw;, &amp;amp;#xww;, &amp;amp;#xwww;, &amp;amp;#xwwww; and &amp;amp;#x12123 with empty space. This step have to be done because xsltproc will not work if these characters present.&lt;br /&gt;
&lt;br /&gt;
vim -c ":%s/&amp;amp;#x\w;//g" -c ":wq" log.jtl&lt;br /&gt;
vim -c ":%s/&amp;amp;#x\w\w;//g" -c ":wq" log.jtl&lt;br /&gt;
vim -c ":%s/&amp;amp;#x\w\w\w;//g" -c ":wq" log.jtl&lt;br /&gt;
vim -c ":%s/&amp;amp;#x\w\w\w\w;//g" -c ":wq" log.jtl&lt;br /&gt;
vim -c ":%s/&amp;amp;#x0//g" -c ":wq" log.jtl&lt;br /&gt;
vim -c ":%s/&amp;amp;#x\d+//g" -c ":wq" log.jtl&lt;br /&gt;
&lt;br /&gt;
2) Execute xsltproc command using the attached style sheet Jmeter-Results-Details.xsl.&lt;br /&gt;
&lt;br /&gt;
xsltproc Jmeter-Results-Details.xsl log.jtl &amp;nbsp;&amp;gt; output/result.html&lt;br /&gt;
&lt;br /&gt;
Here log.jtl is the jmeter result file. The result.html is the converted html file we want.&lt;br /&gt;
&lt;br /&gt;
Note:&lt;br /&gt;
&lt;br /&gt;
A) The steps are for linux machine. If you have a windows machine the utility xsltproc can be installed separately and find and replace can be done using any document editing software.&lt;br /&gt;
&lt;br /&gt;
B) Style sheet used -&amp;nbsp;&lt;a href="https://drive.google.com/file/d/0B3sABagW_nT-NjF5eVQyVHZQalk/view?usp=sharing" rel="nofollow" target="_blank"&gt;XSLT Style Sheet for JTL to HTML&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;</description><link>http://pjerald.blogspot.com/2016/07/how-to-generate-html-report-from-jmeter.html</link><thr:total>2</thr:total><author>pauljerald@gmail.com (jerald)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5259688887705997922.post-3341032824432689052</guid><pubDate>Tue, 17 Jan 2012 05:56:00 +0000</pubDate><atom:updated>2012-01-18T05:45:41.473-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">chrome browser</category><category domain="http://www.blogger.com/atom/ns#">selenium</category><category domain="http://www.blogger.com/atom/ns#">webdriver</category><title>How to start chrome browser using selenium webdriver?</title><description>For starting the chrome browser follow the instructions here - http://code.google.com/p/selenium/wiki/ChromeDriver&lt;br /&gt;
&lt;br /&gt;
If you find it is difficult then dont worry just download the appropriate driver associated with your OS and then use the following code -&lt;br /&gt;
&lt;br /&gt;
&lt;div style="color: blue;"&gt;System.setProperty("webdriver.chrome.driver","path/to/chromedriver.exe");&lt;/div&gt;&lt;br /&gt;
It is the path to your downloaded chromedriver.exe&lt;br /&gt;
&lt;br /&gt;
If you have a certificate warning for your product which uses https then use the following code -&lt;br /&gt;
&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue; font-size: small;"&gt;System.setProperty("webdriver.chrome.driver","&lt;/span&gt;&lt;span style="color: blue;"&gt;path/to/chromedriver.exe&lt;/span&gt;&lt;span style="color: blue; font-size: small;"&gt;");&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DesiredCapabilities dc = DesiredCapabilities.chrome();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; String[] options = { "--ignore-certificate-errors" };&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dc.setCapability("chrome.switches", Arrays.asList(options));&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return new ChromeDriver(dc);&lt;/span&gt;&lt;/blockquote&gt;</description><link>http://pjerald.blogspot.com/2012/01/how-to-start-chrome-browser-using.html</link><thr:total>39</thr:total><author>pauljerald@gmail.com (jerald)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5259688887705997922.post-3316622536808462642</guid><pubDate>Tue, 17 Jan 2012 05:53:00 +0000</pubDate><atom:updated>2012-01-16T21:54:23.038-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">Internet explorer</category><category domain="http://www.blogger.com/atom/ns#">selenium</category><title>Internet explorer is not starting using selenium webdriver. Message : Protected Mode must be set to the same value</title><description>If internet explorer is not starting using selenium webdriver and shows the error message says that "Unexpected error launching Internet Explorer. Protected Mode must be set to the same value (enabled or disabled) for all zones. "&lt;br /&gt;
&lt;br /&gt;
Create a desired capabilities instance and use it while creating the internet explorer driver. This is what the configuration done for this error as per the docs in selenium wiki. selenium help wiki link - http://code.google.com/p/selenium/wiki/InternetExplorerDriver&lt;br /&gt;
&lt;blockquote class="tr_bq"&gt;Required Configuration&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; On IE 7 or higher on Windows Vista or Windows 7, you must set the  Protected Mode settings for each zone to be the same value. The value  can be on or off, as long as it is the same for every zone. To set the  Protected Mode settings, choose "Internet Options..." from the Tools  menu, and click on the Security tab. For each zone, there will be a  check box at the bottom of the tab labeled "Enable Protected Mode".&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; The browser zoom level must be set to 100% so that the native mouse events can be set to the correct coordinates. &lt;/blockquote&gt;&lt;br /&gt;
Even if it does not start the browser, create a desired capabilities instance and set ingnore flakiness boolean to true. Here is the code for code for ignoring the the protected mode security for all zones.&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; DesiredCapabilities capabilities = DesiredCapabilities.internetExplorer();&lt;br /&gt;
&amp;nbsp;capabilities.setCapability(InternetExplorerDriver.INTRODUCE_FLAKINESS_BY_IGNORING_SECURITY_DOMAINS, true);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WebDriver driver = new InternetExplorerDriver(capabilities);</description><link>http://pjerald.blogspot.com/2012/01/internet-explorer-is-not-starting-using.html</link><thr:total>9</thr:total><author>pauljerald@gmail.com (jerald)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5259688887705997922.post-2883948969818244477</guid><pubDate>Thu, 19 May 2011 07:03:00 +0000</pubDate><atom:updated>2011-05-19T06:22:28.394-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">ant</category><category domain="http://www.blogger.com/atom/ns#">cvs</category><title>How to download java sources using ant?</title><description>How to download java sources using ant?&lt;br /&gt;
&lt;br /&gt;
It is very easy to download the source files using ant. For that you have to add a target which logins to the cvs using the cvspass tag. First set the property cvs.root to the actual cvs root. You can get this value in "Root" file under CVS folder in the source directories.&lt;br /&gt;
&lt;br /&gt;
Step 1:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;property name="cvs.root"&amp;nbsp;&amp;nbsp; value=":pserver:anonymous@product-server:/url/of/the/product" /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now add a target which logins to the cvs -&lt;br /&gt;
&lt;br /&gt;
Step 2 :&lt;br /&gt;
&lt;br /&gt;
&lt;div style="margin-left: 40px;"&gt;&amp;lt;target name="cvslogin" description="Log in to CVS"&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;echo message="Setting Password for : ${cvs.root}" /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cvspass cvsRoot="${cvs.root}" password="anon"/&amp;gt;&lt;br /&gt;
&amp;lt;/target&amp;gt;&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
The cvspass tag will look into the file ".cvspass" by default in windows xp it will look at "C:\Documents and Settings\jerald\.cvspass". &lt;br /&gt;
&lt;br /&gt;
Step 4:&lt;br /&gt;
&lt;br /&gt;
Check the .cvspass file for the cvs.root value ie., ":pserver:anonymous@product-server:/url/of/the/product" is present. If not open up a command prompt and login to cvs by issuing the following commands.&lt;br /&gt;
&lt;br /&gt;
&lt;div style="margin-left: 40px;"&gt;C:\&amp;gt;set cvsroot=:pserver:anonymous@product-server:/url/of/the/product&lt;br /&gt;
&lt;br /&gt;
C:\&amp;gt;cvs login&lt;br /&gt;
Logging in to :pserver:anonymous@product-server:2401:/url/of/the/product&lt;br /&gt;
CVS Password:&lt;br /&gt;
&lt;/div&gt;&lt;br /&gt;
Step 5:&lt;br /&gt;
&lt;br /&gt;
Add another target to download the source code. You can also download the source from the same target but am separating this login target for clarity. Here is the target for downloading the source -&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;target name="downloadsource" depends="cvslogin"&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cvs cvsRoot="${cvs.root}" package="product/package1" dest="${destinationdirectory}" /&amp;gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/target&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Possible errors:&lt;br /&gt;
&lt;br /&gt;
1)&amp;nbsp; If you see any error "[cvs] Empty password used - try 'cvs login' with a real password" then the problem is there is no entry in ".cvspass" file. Do the step 4 and check the entry is added in the ".cvspass" file. Also do remember the ".cvspass" file is created when "cvs login" is invoked for the first time. If there is a change in cvsroot then a new line is added in that file. It is stored in this file for later access to the repository.&lt;br /&gt;
&lt;br /&gt;
2)&amp;nbsp; If you see " cvs checkout: warning: unrecognized response `'ssh' is not recognized as an internal or external command,....." then check the correctness of cvs root string. Ie., ":pserver:anonymous@product-server:/url/of/the/product" some times you may miss the ":" or spelling mistakes.&amp;nbsp;</description><link>http://pjerald.blogspot.com/2011/05/how-to-download-java-sources-using-ant.html</link><thr:total>0</thr:total><author>pauljerald@gmail.com (jerald)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5259688887705997922.post-6554303238794121763</guid><pubDate>Sun, 17 Oct 2010 10:08:00 +0000</pubDate><atom:updated>2010-10-17T03:08:39.605-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">vim</category><title>How to delete a line which contain matching text line using vim?</title><description>I have already added a blog post with a tip for deleting all the matching lines for a matching patern. But this is some thing similar still it is easy after you seached for a text. ie., first search the pattern by "/" and the execute the command -&lt;br /&gt;
:g//d&lt;br /&gt;
This will delete all the lines with matching patterns. Tested in linux and also in windows.</description><link>http://pjerald.blogspot.com/2010/10/how-to-delete-line-which-contain.html</link><thr:total>0</thr:total><author>pauljerald@gmail.com (jerald)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5259688887705997922.post-1338605384006373479</guid><pubDate>Sun, 03 Oct 2010 11:12:00 +0000</pubDate><atom:updated>2010-10-03T04:12:41.514-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">vim</category><title>How to find number of matches in gvim</title><description>It is a easy tip to find the number of matching for the given pattern. Just search and replace it with any thing and see the success message given by vim. It will say "42 substitutions on 21 lines". And now undo changes. Thats it.</description><link>http://pjerald.blogspot.com/2010/10/how-to-find-number-of-matches-in-gvim.html</link><thr:total>0</thr:total><author>pauljerald@gmail.com (jerald)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5259688887705997922.post-3284182812425797138</guid><pubDate>Sun, 19 Sep 2010 14:29:00 +0000</pubDate><atom:updated>2010-09-19T07:29:34.308-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">vim</category><title>How to find and replace with a new line character in windows gvim?</title><description>How to find and replace with a new line character in windows gvim?&lt;br /&gt;
&lt;br /&gt;
It is very easy to find and replace with a new line in windows gvim.&amp;nbsp; In linux EOL ie., "End Of Line" &lt;br /&gt;
&lt;br /&gt;
character will be "\n" but in windows it is "\r\n".&amp;nbsp;&amp;nbsp; "\r" character is called as carriage return. Just visualize &lt;br /&gt;
&lt;br /&gt;
old type writer machine carriage return. Now when it comes to find and replace with a new line using &lt;br /&gt;
&lt;br /&gt;
windows is by the following steps,&lt;br /&gt;
&lt;br /&gt;
1)Go to command mode by pressing "Esc" key.&lt;br /&gt;
2)Find and replace with a carriage return instead of a new line character. ie.,&lt;br /&gt;
&lt;br /&gt;
:s/SearchText/\r/gc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
For linux users, find and replace with a new line. ie.,&lt;br /&gt;
&lt;br /&gt;
:s/SearchText/\n/gc</description><link>http://pjerald.blogspot.com/2010/09/how-to-find-and-replace-with-new-line.html</link><thr:total>0</thr:total><author>pauljerald@gmail.com (jerald)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5259688887705997922.post-2487505531963983524</guid><pubDate>Sun, 19 Sep 2010 14:20:00 +0000</pubDate><atom:updated>2010-09-19T07:20:01.161-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">bat</category><title>How to start another batch file in separate process?</title><description>Consider a usecase like when you trying to start a apache/tomcat server using a batch file.&amp;nbsp; After starting the server the batch file will stop thare. Meaning if you have the following in a batch file a.bat,&lt;br /&gt;
&lt;br /&gt;
a.bat:&lt;br /&gt;
&lt;br /&gt;
call c:\Installs\Tomact\bin\run.bat&lt;br /&gt;
time&lt;br /&gt;
unzip a.zip&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
then the command unzip and time will never executed. In that case starting a new command prompt and call those command via another batch file is possible and it is easy.&lt;br /&gt;
&lt;br /&gt;
Split the above batch file into two batch files namely a.bat and b.bat with content as follows,&lt;br /&gt;
&lt;br /&gt;
a.bat:&lt;br /&gt;
&lt;br /&gt;
call c:\Installs\Tomact\bin\run.bat&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
b.bat:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
time&lt;br /&gt;
&lt;br /&gt;
unzip a.zip&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now write a another batch file with name c.bat as follows,&lt;br /&gt;
&lt;br /&gt;
c.bat:&lt;br /&gt;
&lt;br /&gt;
start call a.bat&lt;br /&gt;
start call b.bat&lt;br /&gt;
&lt;br /&gt;
Now running the c.bat file will run both the batch files will run in separate process and all the commands are executed.</description><link>http://pjerald.blogspot.com/2010/09/how-to-start-another-batch-file-in.html</link><thr:total>0</thr:total><author>pauljerald@gmail.com (jerald)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5259688887705997922.post-8739872652132957356</guid><pubDate>Sun, 19 Sep 2010 14:05:00 +0000</pubDate><atom:updated>2010-09-19T07:05:58.654-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">vim</category><title>How to delete a line which contain matching text line using vim?</title><description>It is easy to delete all lines which have matching text at one shot.&amp;nbsp; For that you have to change the mode to command by presssing "Esc" key.Then type&lt;br /&gt;
&lt;br /&gt;
:g/match text/d&lt;br /&gt;
&lt;br /&gt;
thats it. All the lines which contain the "match text" will be deleted. This is tested with windows gvim.</description><link>http://pjerald.blogspot.com/2010/09/how-to-delete-line-which-contain.html</link><thr:total>0</thr:total><author>pauljerald@gmail.com (jerald)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5259688887705997922.post-863207866070725800</guid><pubDate>Wed, 25 Aug 2010 15:51:00 +0000</pubDate><atom:updated>2010-08-25T08:56:11.734-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">mysql</category><title>error: 'Access denied for user 'root'@'localhost' (using password: NO)'</title><description>&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 16px;"&gt;&lt;span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 1px; -webkit-border-vertical-spacing: 1px; font-family: verdana, Arial, sans-serif; font-size: 14px; line-height: 22px;"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;error: 'Access denied for user 'root'@'localhost' (using password: NO)'&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 16px;"&gt;Some of us come&amp;nbsp;ac crossed&amp;nbsp;this error when we try connecting Mysql &amp;nbsp;using no password. ie., when we connect &amp;nbsp;the mysql by the command "mysql -u root" . When we installing mysql in windows it will ask root password for creating my.ini file. After configuring root password when ever you connect the mysql you should use the command "&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 16px;"&gt;mysql -u root -p&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 16px;"&gt;" and enter the password when prompted. &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 16px;"&gt;This will create head aches when you connect mysql through java driver using connection string with out password in a development environment. &amp;nbsp;To over come this, just reset the password to empty string by using the following three steps/commands -&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 16px;"&gt;UPDATE mysql.user SET Password=PASSWORD('') WHERE User='root';&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 16px;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 16px;"&gt;grant all privileges on *.* to root;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 16px;"&gt;FLUSH PRIVILEGES;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;</description><link>http://pjerald.blogspot.com/2010/08/error-access-denied-for-user.html</link><thr:total>0</thr:total><author>pauljerald@gmail.com (jerald)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5259688887705997922.post-3063248918018568082</guid><pubDate>Wed, 25 Aug 2010 15:36:00 +0000</pubDate><atom:updated>2010-08-25T08:36:28.897-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">gvim</category><category domain="http://www.blogger.com/atom/ns#">vim</category><title>How to password protect a text file using vim?</title><description>&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 16px;"&gt;I&amp;nbsp;heard&amp;nbsp;this tip very recently. For password protecting a file(may be a text file contains some secure password) using vim just open it using "x" option. ie.,&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 16px;"&gt;vim -x &amp;lt;filename&amp;gt;. Or you can do this in some other way while saving it using :X instead of :w&lt;/span&gt;</description><link>http://pjerald.blogspot.com/2010/08/how-to-password-protect-text-file-using.html</link><thr:total>0</thr:total><author>pauljerald@gmail.com (jerald)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5259688887705997922.post-3927623241239958235</guid><pubDate>Wed, 25 Aug 2010 15:31:00 +0000</pubDate><atom:updated>2012-07-03T06:07:29.175-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">gvim</category><category domain="http://www.blogger.com/atom/ns#">vim</category><title>How to enable visual block mode in gvim</title><description>&lt;span class="Apple-style-span" style="font-family: Arial; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span class="Apple-style-span" style="font-family: Arial; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;This post is for friends who LEARNED vim in linux machine and now using a windows gvim.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: TAB-LFS-Kamban; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: 15px;"&gt;F&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: TAB-LFS-Kamban; font-size: medium;"&gt;or friends who used with Linux vim will know "ctrl+v" enables visual block mode. But this key combinations are used to paste the clipboard contents in windows gvim. So, how to enable that visual block mode in windows gvim? It is easy :) press "ctrl+q" thats it. Now don't forget to hold shift key to select block of text for editing.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</description><link>http://pjerald.blogspot.com/2010/08/how-to-enable-visual-block-mode-in-gvim.html</link><thr:total>7</thr:total><author>pauljerald@gmail.com (jerald)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5259688887705997922.post-1190855856360531896</guid><pubDate>Wed, 25 Aug 2010 15:24:00 +0000</pubDate><atom:updated>2010-08-25T08:24:31.065-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">gvim</category><category domain="http://www.blogger.com/atom/ns#">vim</category><title>How to remove end of line using vim/gvim</title><description>&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 16px;"&gt;I was just wondering how to remove all the end of line "\n" or "\n\r" characters and make the entire content into one line. &amp;nbsp;It is very simple. Go to command mode by pressing the escape key and press "shift + j". &amp;nbsp;Okay if you want this to be done by a search and replacing command then type :&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: 16px;"&gt;%s/\n//gc in command mode.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: 'Times New Roman'; font-size: medium;"&gt;&lt;span class="Apple-style-span" style="font-size: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;</description><link>http://pjerald.blogspot.com/2010/08/how-to-remove-end-of-line-using-vimgvim.html</link><thr:total>0</thr:total><author>pauljerald@gmail.com (jerald)</author></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-5259688887705997922.post-7657848627338475966</guid><pubDate>Wed, 25 Aug 2010 15:17:00 +0000</pubDate><atom:updated>2010-08-25T08:17:51.725-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">gvim</category><category domain="http://www.blogger.com/atom/ns#">vim</category><title>How to remove empty lines usgin gvim in windows/Linux</title><description>I am searching for this in the internet but with no luck :( And some what managed to make it work. So i just post it for the sake of people who search for deleting or removing blank or empty lines from a file. I tested this on gvim in windows machine and also vim in linux machine.&lt;br /&gt;
&lt;br /&gt;
Steps:&lt;br /&gt;
&lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Go to command mode by pressing esc.&lt;/li&gt;
&lt;li&gt;Then type - ":%s/^[\ \t]*\n//g" with out quotes. :)&lt;/li&gt;
&lt;/ol&gt;</description><link>http://pjerald.blogspot.com/2010/08/how-to-remove-empty-lines-usgin-gvim-in.html</link><thr:total>0</thr:total><author>pauljerald@gmail.com (jerald)</author></item></channel></rss>