<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-4866242831966750665</id><updated>2011-07-08T01:03:57.982-07:00</updated><title type='text'>Manoj's Tech Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>60</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-7061914246818046331</id><published>2010-05-06T20:26:00.001-07:00</published><updated>2010-05-06T20:26:49.549-07:00</updated><title type='text'>Type in sinhala</title><content type='html'>http://www.google.com/transliterate/Sinhalese&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-7061914246818046331?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/7061914246818046331/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=7061914246818046331' title='29 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/7061914246818046331'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/7061914246818046331'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2010/05/type-in-sinhala.html' title='Type in sinhala'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>29</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-5579361016193100115</id><published>2010-03-31T00:13:00.001-07:00</published><updated>2010-03-31T00:13:48.811-07:00</updated><title type='text'>Java line of code</title><content type='html'>This is a handy tool for count the java line of code.&lt;br /&gt;http://cloc.sourceforge.net/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-5579361016193100115?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/5579361016193100115/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=5579361016193100115' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/5579361016193100115'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/5579361016193100115'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2010/03/java-line-of-code.html' title='Java line of code'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-1713612294104703218</id><published>2009-12-29T02:03:00.001-08:00</published><updated>2009-12-29T02:03:30.343-08:00</updated><title type='text'>firefox2</title><content type='html'>http://willbryant.net/software/2008/05/26/selenium_rc_firefox_2_on_ubuntu_hardy&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-1713612294104703218?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/1713612294104703218/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=1713612294104703218' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/1713612294104703218'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/1713612294104703218'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/12/firefox2.html' title='firefox2'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-8560920013869065404</id><published>2009-10-28T23:41:00.000-07:00</published><updated>2009-10-28T23:42:27.014-07:00</updated><title type='text'>Java heap error</title><content type='html'>Set&lt;br /&gt;export MAVEN_OPTS="-Xms512m -Xmx2048m"&lt;br /&gt;to skip the java heap space error when building the code.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-8560920013869065404?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/8560920013869065404/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=8560920013869065404' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/8560920013869065404'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/8560920013869065404'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/10/java-heap-error.html' title='Java heap error'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-4729839281318595271</id><published>2009-10-05T00:02:00.001-07:00</published><updated>2009-10-05T00:02:52.260-07:00</updated><title type='text'>Office communicator in Ubuntu</title><content type='html'>https://mknowles.com.au/wordpress/index.php/2009/07/10/pidgin-and-microsoft-office-communicator-in-ubuntu&lt;br /&gt;&lt;br /&gt;http://ubuntuforums.org/showthread.php?t=1046158&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-4729839281318595271?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/4729839281318595271/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=4729839281318595271' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/4729839281318595271'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/4729839281318595271'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/10/office-communicator-in-ubuntu.html' title='Office communicator in Ubuntu'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-8070994853723245263</id><published>2009-08-26T01:58:00.001-07:00</published><updated>2009-08-26T01:58:45.042-07:00</updated><title type='text'>Firefinder for Firebug 0.91</title><content type='html'>Firefinder for Firebug 0.91 finds HTML elements matching chosen CSS selector(s) or XPath expression.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-8070994853723245263?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/8070994853723245263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=8070994853723245263' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/8070994853723245263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/8070994853723245263'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/08/firefinder-for-firebug-091.html' title='Firefinder for Firebug 0.91'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-38563703369053071</id><published>2009-08-03T22:36:00.001-07:00</published><updated>2009-08-03T22:36:56.407-07:00</updated><title type='text'>EPEL</title><content type='html'>to add new packages for yum:&lt;br /&gt;http://www.cyberciti.biz/faq/rhel-fedora-centos-linux-enable-epel-repo/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-38563703369053071?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/38563703369053071/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=38563703369053071' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/38563703369053071'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/38563703369053071'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/08/epel.html' title='EPEL'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-7945977124310995257</id><published>2009-07-30T20:39:00.000-07:00</published><updated>2009-07-30T20:40:05.146-07:00</updated><title type='text'>Download subversion</title><content type='html'>http://svnbinaries.open.collab.net/servlets/ProjectDocumentList?folderID=227&lt;br /&gt;http://downloads-guests.open.collab.net/servlets/ProjectDocumentList?folderID=6&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-7945977124310995257?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/7945977124310995257/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=7945977124310995257' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/7945977124310995257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/7945977124310995257'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/07/download-subversion.html' title='Download subversion'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-3546868852713126801</id><published>2009-07-10T01:13:00.001-07:00</published><updated>2009-07-10T01:13:49.003-07:00</updated><title type='text'>Install guide to Xvfb</title><content type='html'>http://testdrive.mapinfo.com/techsupp/miprod.nsf/kbase_by_product/A832A07452B9A0E385256F8000760F68&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-3546868852713126801?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/3546868852713126801/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=3546868852713126801' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/3546868852713126801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/3546868852713126801'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/07/install-guide-to-xvfb.html' title='Install guide to Xvfb'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-6951337481345090186</id><published>2009-07-09T02:53:00.000-07:00</published><updated>2009-07-09T02:54:05.931-07:00</updated><title type='text'>Free ebook download</title><content type='html'>http://www.flazx.com/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-6951337481345090186?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/6951337481345090186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=6951337481345090186' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/6951337481345090186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/6951337481345090186'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/07/free-ebook-download.html' title='Free ebook download'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-8455943960895998489</id><published>2009-04-20T22:49:00.000-07:00</published><updated>2009-04-20T22:51:16.538-07:00</updated><title type='text'>Jmeter</title><content type='html'>Apache JMeter  is a 100% pure Java desktop application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.&lt;br /&gt;Apache JMeter may be used to test performance both on static and dynamic resources (files, Servlets, Perl scripts, Java Objects, Data Bases and Queries, FTP Servers and more). It can be used to simulate a heavy load on a server, network or object to test its strength or to analyze overall performance under different load types. You can use it to make a graphical analysis of performance or to test your server/script/object behavior under heavy concurrent load. &lt;br /&gt;I used Jmeter for performance testing.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-8455943960895998489?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/8455943960895998489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=8455943960895998489' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/8455943960895998489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/8455943960895998489'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/04/jmeter.html' title='Jmeter'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-5198652693941336393</id><published>2009-03-26T02:09:00.000-07:00</published><updated>2009-03-26T22:16:20.051-07:00</updated><title type='text'>Create new module in project</title><content type='html'>(1) create relevant folder within project folder&lt;br /&gt;plugins\keywordparameters\src\main\java&lt;br /&gt;(2) create pom file and set artifact if,parent etc&lt;br /&gt;(3) add module name to root pom&lt;br /&gt;(4) svn add keywordparameters&lt;br /&gt;(5) build the project&lt;br /&gt;(6) mvn idea:idea&lt;br /&gt;(7) in IDEA, right click module -&gt; module settings-&gt; select the module and right click and New-&gt; Spring&lt;br /&gt;(8) build the project&lt;br /&gt;(9) mvn idea:idea&lt;br /&gt;(10) create com.fastsearch.admomentum.plugins.keywordparameters.feature package using idea&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-5198652693941336393?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/5198652693941336393/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=5198652693941336393' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/5198652693941336393'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/5198652693941336393'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/03/create-new-module-in-project.html' title='Create new module in project'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-4703699176825840228</id><published>2009-02-11T14:49:00.000-08:00</published><updated>2009-02-11T14:50:37.702-08:00</updated><title type='text'>The Top 50 Proprietary Programs and their Open Source Alternatives</title><content type='html'>http://whdb.com/2008/the-top-50-proprietary-programs-that-drive-you-crazy-and-their-open-source-alternatives/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-4703699176825840228?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/4703699176825840228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=4703699176825840228' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/4703699176825840228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/4703699176825840228'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/02/top-50-proprietary-programs-and-their.html' title='The Top 50 Proprietary Programs and their Open Source Alternatives'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-2174073615313298499</id><published>2009-02-04T15:54:00.000-08:00</published><updated>2009-02-04T16:24:01.300-08:00</updated><title type='text'>List of Linux distributions</title><content type='html'>We are using Ubuntu as OS. Now in melborrn servers, we use CentOS. &lt;br /&gt;Debian (Ubuntu) / Fedora (CentOS)&lt;br /&gt;They belongs to different distributions.&lt;br /&gt;Useful link:&lt;br /&gt;http://en.wikipedia.org/wiki/List_of_Linux_distributions#RPM-based&lt;br /&gt;&lt;br /&gt;To find, which linux distribution we use:&lt;br /&gt;cat /etc/*release&lt;br /&gt;or&lt;br /&gt;cat /proc/version&lt;br /&gt;or&lt;br /&gt;uname -a&lt;br /&gt;or &lt;br /&gt;cat /etc/*version&lt;br /&gt;&lt;br /&gt;http://www.linuxquestions.org/questions/linux-general-1/how-to-get-os-name-from-command-line-557339/&lt;br /&gt;&lt;br /&gt;There are some differences in those distributions.&lt;br /&gt;In Debian, we use app-get and In CentOS, we use yum.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-2174073615313298499?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/2174073615313298499/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=2174073615313298499' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/2174073615313298499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/2174073615313298499'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/02/list-of-linux-distributions.html' title='List of Linux distributions'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-4451216768685376172</id><published>2009-02-03T19:08:00.000-08:00</published><updated>2009-02-03T19:09:18.681-08:00</updated><title type='text'>JSON</title><content type='html'>JSON (JavaScript Object Notation) is a lightweight data-interchange format. &lt;br /&gt;&lt;br /&gt;http://json.org/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-4451216768685376172?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/4451216768685376172/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=4451216768685376172' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/4451216768685376172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/4451216768685376172'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/02/json.html' title='JSON'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-5278480941832479962</id><published>2009-02-03T18:09:00.000-08:00</published><updated>2009-02-03T18:10:48.603-08:00</updated><title type='text'>XSS</title><content type='html'>To prevent XSS, Input validation and output encoding can be done by using SafeHtml (php)and Anti-XSS (ASP )libraries.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-5278480941832479962?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/5278480941832479962/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=5278480941832479962' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/5278480941832479962'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/5278480941832479962'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/02/xss.html' title='XSS'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-2177298951499348198</id><published>2009-02-03T18:08:00.001-08:00</published><updated>2009-02-03T18:08:36.576-08:00</updated><title type='text'>Windows shortcuts</title><content type='html'>This is a useful link:&lt;br /&gt;http://support.microsoft.com/kb/126449&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-2177298951499348198?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/2177298951499348198/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=2177298951499348198' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/2177298951499348198'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/2177298951499348198'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/02/windows-shortcuts.html' title='Windows shortcuts'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-3091112786023411995</id><published>2009-02-01T19:25:00.000-08:00</published><updated>2009-02-01T19:26:06.029-08:00</updated><title type='text'>Create samba shared folder</title><content type='html'>sudo vim /etc/samba/smb.conf&lt;br /&gt;give &lt;br /&gt;[admo]&lt;br /&gt;       path = /home/manoj&lt;br /&gt;       public = yes&lt;br /&gt;       writable = yes&lt;br /&gt;and save&lt;br /&gt;sudo  smbpasswd  -a manoj&lt;br /&gt;sudo service smb restart&lt;br /&gt;Then, mycomputer-&gt;map netwok drive-&gt; //mel1u111/manoj&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-3091112786023411995?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/3091112786023411995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=3091112786023411995' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/3091112786023411995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/3091112786023411995'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/02/create-samba-shared-folder.html' title='Create samba shared folder'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-3806591170936549444</id><published>2009-01-29T22:45:00.001-08:00</published><updated>2009-01-29T22:45:57.087-08:00</updated><title type='text'>TortoiseSVN</title><content type='html'>TortoiseSVN is a easy to use Revision control / version control / source control software for Windows. Since it's not an integration for a specific IDE we can use it with whatever development tools you like. After install it, "SVN update", "SVN commit", "SVN checkout", "TortoiseSVN" ... options come to right click. We just need to right click on the folder and do the relevent thing.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-3806591170936549444?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/3806591170936549444/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=3806591170936549444' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/3806591170936549444'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/3806591170936549444'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/01/tortoisesvn.html' title='TortoiseSVN'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-403384683007334723</id><published>2009-01-29T22:35:00.000-08:00</published><updated>2009-01-29T22:36:43.160-08:00</updated><title type='text'>Putty</title><content type='html'>PuTTY is a terminal emulator application which can act as a client for the SSH, Telnet, rlogin, and raw TCP computing protocols. I use putty to connect and get a terminal to linux machine from windows machine (using ssh).&lt;br /&gt;http://en.wikipedia.org/wiki/PuTTY&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-403384683007334723?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/403384683007334723/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=403384683007334723' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/403384683007334723'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/403384683007334723'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/01/putty.html' title='Putty'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-4749634856335268139</id><published>2009-01-29T22:18:00.000-08:00</published><updated>2009-01-29T22:19:18.113-08:00</updated><title type='text'>winSCP</title><content type='html'>Using WinSCP , files can be sent to linux machines. Its a free SFTP, FTP and SCP client for Windows&lt;br /&gt;http://winscp.net/eng/index.php&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-4749634856335268139?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/4749634856335268139/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=4749634856335268139' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/4749634856335268139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/4749634856335268139'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/01/winscp.html' title='winSCP'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-98694771664744203</id><published>2009-01-29T22:10:00.000-08:00</published><updated>2009-01-29T22:14:56.064-08:00</updated><title type='text'>Doxygen and NDoc</title><content type='html'>I needed to generate documentation like javaDoc for C#. It can be done by NDoc. But since i used comments like java, Doxygen was very useful.&lt;br /&gt;http://www.stack.nl/~dimitri/doxygen/&lt;br /&gt;&lt;br /&gt;Not only C#, it can be used to generate documents for C++, C, Java, Objective-C, Python, IDL (Corba and Microsoft flavors), Fortran, VHDL, PHP, C#, and to some extent D.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;useful links:&lt;br /&gt;http://www.stack.nl/~dimitri/doxygen/download.html#latestsrc&lt;br /&gt;http://www.thunderguy.com/semicolon/2006/08/06/c-sharp-documentation-comments-useless/&lt;br /&gt;http://www.programminglearn.com/320/c-commenting-c-vsnet-commenting&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-98694771664744203?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/98694771664744203/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=98694771664744203' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/98694771664744203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/98694771664744203'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/01/doxygen-and-ndoc.html' title='Doxygen and NDoc'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-5456856482964837107</id><published>2009-01-22T01:18:00.000-08:00</published><updated>2009-01-22T01:19:19.097-08:00</updated><title type='text'>DropBox</title><content type='html'>This is good web interface for file sharing.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-5456856482964837107?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/5456856482964837107/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=5456856482964837107' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/5456856482964837107'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/5456856482964837107'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/01/dropbox.html' title='DropBox'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-1123952744642612473</id><published>2009-01-22T00:52:00.000-08:00</published><updated>2009-01-22T00:55:21.960-08:00</updated><title type='text'>InteliJ IDEA plugins</title><content type='html'>Spell Checker &amp; Charac Inspector are two useful plugings.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-1123952744642612473?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/1123952744642612473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=1123952744642612473' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/1123952744642612473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/1123952744642612473'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/01/intelij-idea-plugins.html' title='InteliJ IDEA plugins'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-9062812867614581814</id><published>2009-01-01T21:46:00.000-08:00</published><updated>2009-01-01T21:48:08.300-08:00</updated><title type='text'>Java Util Calendar</title><content type='html'>This is the way to month\date\year from the calender.&lt;br /&gt;ad.getCreated().get(Calendar.MONTH);&lt;br /&gt;ad.getCreated() returns a java util calendar type object.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-9062812867614581814?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/9062812867614581814/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=9062812867614581814' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/9062812867614581814'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/9062812867614581814'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2009/01/java-util-calendar.html' title='Java Util Calendar'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-4408822554873018547</id><published>2008-12-19T02:57:00.000-08:00</published><updated>2008-12-19T02:58:18.067-08:00</updated><title type='text'>DbVisualizer</title><content type='html'>DbVisualizer is a database tool for developers and database administrators, helping you with both the development and maintenance of your databases.&lt;br /&gt;&lt;br /&gt;It is the perfect solution since the same tool can be used on all major operating systems accessing a wide range of databases. &lt;br /&gt;&lt;br /&gt;http://www.minq.se/products/dbvis/download/install.jsp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-4408822554873018547?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/4408822554873018547/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=4408822554873018547' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/4408822554873018547'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/4408822554873018547'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/12/dbvisualizer.html' title='DbVisualizer'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-6854599802534520786</id><published>2008-12-18T19:34:00.000-08:00</published><updated>2008-12-18T19:35:45.481-08:00</updated><title type='text'>Firefox Add-ons - Web Developer</title><content type='html'>Web Developer is the number one add-on for Firefox. It’s an essential for web developers and has a huge array of tools for making web development easier. We use it the most for on-the-fly validation of CSS and HTML as well as inspecting HTML and CSS. &lt;br /&gt;&lt;br /&gt;https://addons.mozilla.org/en-US/firefox/addon/60&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-6854599802534520786?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/6854599802534520786/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=6854599802534520786' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/6854599802534520786'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/6854599802534520786'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/12/firefox-add-ons-web-developer.html' title='Firefox Add-ons - Web Developer'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-725962109518549714</id><published>2008-12-16T20:21:00.000-08:00</published><updated>2008-12-16T20:22:04.386-08:00</updated><title type='text'>Wine</title><content type='html'>To get help about wine:&lt;br /&gt;&lt;br /&gt;https://help.ubuntu.com/community/Wine&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-725962109518549714?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/725962109518549714/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=725962109518549714' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/725962109518549714'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/725962109518549714'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/12/wine.html' title='Wine'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-5067807544367689755</id><published>2008-11-25T02:10:00.001-08:00</published><updated>2008-11-25T02:10:47.054-08:00</updated><title type='text'>Creating simple web project using maven</title><content type='html'>we can use mvn archetype:generate command to generate java web appication using maven. Afterthat,&lt;br /&gt;cd testweb&lt;br /&gt;mvn idea:idea&lt;br /&gt;&lt;br /&gt;useful link:&lt;br /&gt;http://books.sonatype.com/maven-book/reference/web.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-5067807544367689755?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/5067807544367689755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=5067807544367689755' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/5067807544367689755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/5067807544367689755'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/11/creating-simple-web-project-using-maven.html' title='Creating simple web project using maven'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-4783832650575899834</id><published>2008-11-14T00:24:00.000-08:00</published><updated>2008-11-14T00:25:39.601-08:00</updated><title type='text'>JSF (JavaServer Faces)</title><content type='html'>JavaServer Faces technology simplifies building user interfaces for JavaServer applications.&lt;br /&gt;JavaServer Faces technology includes:&lt;br /&gt;&lt;br /&gt;    * A set of APIs for representing UI components and managing their state, handling events and input validation, defining page navigation, and supporting internationalization and accessibility.&lt;br /&gt;    * A JavaServer Pages (JSP) custom tag library for expressing a JavaServer Faces interface within a JSP page.&lt;br /&gt;&lt;br /&gt;Links:&lt;br /&gt;http://java.sun.com/javaee/javaserverfaces/overview.html&lt;br /&gt;http://en.wikipedia.org/wiki/JavaServer_Faces&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-4783832650575899834?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/4783832650575899834/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=4783832650575899834' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/4783832650575899834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/4783832650575899834'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/11/jsf-javaserver-faces.html' title='JSF (JavaServer Faces)'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-3965581791658074558</id><published>2008-11-14T00:21:00.000-08:00</published><updated>2008-11-14T00:23:53.294-08:00</updated><title type='text'>log4j</title><content type='html'>This is the way of using log4j in java.&lt;br /&gt;&lt;br /&gt;import org.apache.log4j.Logger;&lt;br /&gt;&lt;br /&gt;private static Logger log = Logger.getLogger(ExternalAdvertiserAccountAssembler.class);&lt;br /&gt;&lt;br /&gt;if (log.isDebugEnabled()) {&lt;br /&gt; log.debug("User [id:"+ currentUser.getId() + "] is authorized to set the Trusted state.");&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Links:&lt;br /&gt;http://logging.apache.org/log4j/1.2/index.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-3965581791658074558?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/3965581791658074558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=3965581791658074558' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/3965581791658074558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/3965581791658074558'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/11/log4j.html' title='log4j'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-5713824780684507124</id><published>2008-10-22T03:05:00.000-07:00</published><updated>2008-10-22T03:10:00.147-07:00</updated><title type='text'>Reformat and Optimise code in IDEA</title><content type='html'>These are the shortcuts to reformat and optimize the code.&lt;br /&gt;&lt;br /&gt;Alt+Ctrl+L / Alt+Ctrl+O&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-5713824780684507124?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/5713824780684507124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=5713824780684507124' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/5713824780684507124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/5713824780684507124'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/10/reformat-and-optimise-code-in-idea.html' title='Reformat and Optimise code in IDEA'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-4377782781122829797</id><published>2008-10-12T21:46:00.000-07:00</published><updated>2008-10-12T21:48:02.955-07:00</updated><title type='text'>hessian binary web service protocol</title><content type='html'>The Hessian binary web service protocol makes web services usable without requiring a large framework, and without learning yet another alphabet soup of protocols. Because it is a binary protocol, it is well-suited to sending binary data without any need to extend the protocol with attachments.&lt;br /&gt;http://hessian.caucho.com/#Java&lt;br /&gt;&lt;br /&gt;In our project i needed to write a test client in C# to use Exposed java API methods.For that I used HessianC#. I added hessiancsharp.dll to the .NET project.&lt;br /&gt;http://www.hessiancsharp.org/&lt;br /&gt;&lt;br /&gt;in Java , its like this.&lt;br /&gt;bean id="advertisementService" class="org.springframework.remoting.caucho.HessianProxyFactoryBean"&lt;br /&gt;        description Proxy for the user service using HTTP. /description&lt;br /&gt;        property name="serviceUrl" value="${admanager.url}remoting/secured/advertisementService"/&lt;br /&gt;        property name="serviceInterface" value="com.fastsearch.admomentum.admanager.advertisement.client.ExposedAdvertisementService"/&lt;br /&gt;        property name="serializerFactory" ref="hessianSerializer"/&lt;br /&gt;        property name="username" value="advertiser@test.com"/&lt;br /&gt;        property name="password" value="password"/&lt;br /&gt;/bean&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-4377782781122829797?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/4377782781122829797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=4377782781122829797' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/4377782781122829797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/4377782781122829797'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/10/hessian-binary-web-service-protocol.html' title='hessian binary web service protocol'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-3421138263471920034</id><published>2008-10-02T22:01:00.000-07:00</published><updated>2008-10-02T22:04:47.064-07:00</updated><title type='text'>XSLT</title><content type='html'>XSL stands for EXtensible Stylesheet Language. The World Wide Web Consortium (W3C) started to develop XSL because there was a need for an XML-based style sheet language. XSLT stands for XSL Transformations. We can use XSLT to transform XML documents into other formats, like XHTML. &lt;br /&gt;http://www.w3schools.com/xsl/default.asp&lt;br /&gt;In my project i used it to transform xml document to csv file. &lt;br /&gt;TransformBillingXmlToCsv.xml&lt;br /&gt;&lt;br /&gt;xsl:template name="amount"&lt;br /&gt;        xsl:text &amp;quot; /xsl:text&lt;br /&gt;        xsl:value-of select="currencySymbol"/&lt;br /&gt;        xsl:text  /xsl:text&lt;br /&gt;        xsl:choose&lt;br /&gt;          xsl:when test="currencySymbol = 'JPY'"&lt;br /&gt;              xsl:value-of select='format-number(value, "#.")'/&lt;br /&gt;          /xsl:when&lt;br /&gt;          xsl:otherwise&lt;br /&gt;              xsl:value-of select='format-number(value, "#.00")'/&lt;br /&gt;          /xsl:otherwise&lt;br /&gt;        /xsl:choose         &lt;br /&gt;        xsl:text &amp;quot; /xsl:text&lt;br /&gt;     /xsl:template &lt;br /&gt;&lt;br /&gt;(tag characters are removed from above sample code)&lt;br /&gt;Here i had to use XSLT format-number() Function and XSLT &lt;xsl:when&gt; Element. &lt;br /&gt;&lt;br /&gt;http://www.w3schools.com/XSL/func_formatnumber.asp&lt;br /&gt;http://www.w3schools.com/xsl/el_when.asp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-3421138263471920034?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/3421138263471920034/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=3421138263471920034' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/3421138263471920034'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/3421138263471920034'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/10/xslt.html' title='XSLT'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-138728913734315903</id><published>2008-09-26T01:25:00.001-07:00</published><updated>2008-09-26T01:25:42.794-07:00</updated><title type='text'>Credit card numbers</title><content type='html'>I had to work with wrong credit numbers but valid numbers for testing purpose. These are two links which was useful for me.&lt;br /&gt;&lt;br /&gt;http://www.darkcoding.net/credit-card-numbers/&lt;br /&gt;http://www.auricsystems.com/support-center/sample-credit-card-numbers&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-138728913734315903?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/138728913734315903/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=138728913734315903' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/138728913734315903'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/138728913734315903'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/09/credit-card-numbers.html' title='Credit card numbers'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-3445719917610852908</id><published>2008-09-26T01:21:00.000-07:00</published><updated>2008-09-26T01:22:20.920-07:00</updated><title type='text'>Joda Time</title><content type='html'>Joda-Time provides a quality replacement for the Java date and time classes. The design allows for multiple calendar systems, while still providing a simple API. The 'default' calendar is the ISO8601 standard which is used by XML. The Gregorian, Julian, Buddhist, Coptic, Ethiopic and Islamic systems are also included, and are welcomed further additions. Supporting classes include time zone, duration, format and parsing.&lt;br /&gt;&lt;br /&gt;http://joda-time.sourceforge.net/&lt;br /&gt;http://apidoc.org/docset/62&lt;br /&gt;http://apidoc.org/view/35865&lt;br /&gt;&lt;br /&gt;Common Era (also known as Christian Era and Current Era; abbreviated CE)is a designation for the period of time beginning with year 1 of the proleptic Gregorian calendar.&lt;br /&gt;&lt;br /&gt;http://en.wikipedia.org/wiki/BCE&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-3445719917610852908?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/3445719917610852908/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=3445719917610852908' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/3445719917610852908'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/3445719917610852908'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/09/joda-time.html' title='Joda Time'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-8989594696255301328</id><published>2008-09-22T04:24:00.000-07:00</published><updated>2008-09-22T04:26:27.844-07:00</updated><title type='text'>Speed up the cargo start</title><content type='html'>To speed up the cargo start, I added these text to setenv.sh ,source it and put apache-tomcat-5.5.25.zip file to relevant path mentioned here.&lt;br /&gt;&lt;br /&gt;export MAVEN_OPTS="-Djava.net.preferIPv4Stack=true -Djava.rmi.server.ignoreStubClasses=true -Dtomcat.installer.url=file:///home/chanaka/admo/bin-3.x/apache-tomcat-5.5.25.zip -Dtomcat.alternate.installer.url=file:///home/chanaka/admo/bin-3.x/apache-tomcat-5.5.25.zip $ADMO_OPTS"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-8989594696255301328?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/8989594696255301328/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=8989594696255301328' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/8989594696255301328'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/8989594696255301328'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/09/speed-up-cargo-start.html' title='Speed up the cargo start'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-8383274654360301145</id><published>2008-09-18T03:30:00.000-07:00</published><updated>2008-09-18T03:32:09.248-07:00</updated><title type='text'>Remotely debug your app in Eclipse or Idea</title><content type='html'>When i needed to debug the app remotely, i needed to put&lt;br /&gt; -Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y&lt;br /&gt;in cargo.jvmArguments -Xmx512M -XX:MaxPermSize=128m -Xdebug -Xrunjdwp:transport=dt_socket,address=5005,server=y,suspend=y /cargo.jvmArguments&lt;br /&gt;line in pom.xml. (I'm using InteliJIdea).&lt;br /&gt;&lt;br /&gt;useful links:&lt;br /&gt;http://raibledesigns.com/rd/entry/remotely_debug_your_app_in&lt;br /&gt;http://java.sun.com/j2se/1.4.2/docs/guide/jpda/conninv.html&lt;br /&gt;http://lists.nuxeo.com/pipermail/ecm-checkins/2006-December/002644.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-8383274654360301145?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/8383274654360301145/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=8383274654360301145' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/8383274654360301145'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/8383274654360301145'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/09/remotely-debug-your-app-in-eclipse-or.html' title='Remotely debug your app in Eclipse or Idea'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-1816502473068689378</id><published>2008-09-14T23:18:00.001-07:00</published><updated>2008-09-14T23:19:51.311-07:00</updated><title type='text'>JSTL</title><content type='html'>I had to format a date to dispaly in the jsp page. For that, i used JSTL. The JavaServer Pages Standard Tag Library (JSTL) encapsulates as simple tags the core functionality common to many Web applications. JSTL has support for common, structural tasks such as iteration and conditionals, tags for manipulating XML documents, internationalization tags, and SQL tags. It also provides a framework for integrating existing custom tags with JSTL tags. &lt;br /&gt;&lt;br /&gt;http://java.sun.com/products/jsp/jstl/&lt;br /&gt;&lt;br /&gt;I used  JSTL Format Library — &lt;fmt:formatDate&gt; Tag. This tag has pattern attribute. &lt;br /&gt;&lt;br /&gt;http://download-west.oracle.com/otn_hosted_doc/jdeveloper/905/working_with_html_pages/f1_html_xsql_jsp/f1_jspfmtformatdate.html&lt;br /&gt;&lt;br /&gt;For that patten, we can give the pattern we need.&lt;br /&gt;&lt;br /&gt;http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html&lt;br /&gt;&lt;br /&gt;eg:&lt;br /&gt;fmt:formatDate timeZone="${definedTimeZone}" value="${value}" pattern="EEE MMM dd HH:mm:ss z yyyy"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-1816502473068689378?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/1816502473068689378/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=1816502473068689378' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/1816502473068689378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/1816502473068689378'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/09/jstl.html' title='JSTL'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-972360999758795215</id><published>2008-08-22T03:29:00.000-07:00</published><updated>2008-08-22T03:40:19.717-07:00</updated><title type='text'>Skip execution of method in specific time of day</title><content type='html'>/* this test fails if the current time is between 12:00am and 3:00am*/&lt;br /&gt;&lt;br /&gt;Calendar now = Calendar.getInstance();&lt;br /&gt;int hour = now.get(Calendar.HOUR_OF_DAY);&lt;br /&gt;String timeCheck = "Current time not between 12:00am and 3:00am";&lt;br /&gt;String timeDescription = "Current time" + ((hour &lt; 3) ? "" : " not") + " between 12:00am and 3:00am";&lt;br /&gt;Assume.assumeThat(timeDescription, equalTo(timeCheck));&lt;br /&gt;&lt;br /&gt;Assume is package org.junit;(public class Assume )&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-972360999758795215?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/972360999758795215/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=972360999758795215' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/972360999758795215'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/972360999758795215'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/08/skip-execution-of-method-in-specific.html' title='Skip execution of method in specific time of day'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-5248300516471725853</id><published>2008-08-21T04:31:00.000-07:00</published><updated>2008-08-21T04:32:22.753-07:00</updated><title type='text'>ANTLR</title><content type='html'>Today i worked with some text character parsing. In our project, they have used ANTLR parser. ANTLR, ANother Tool for Language Recognition, is a language tool that provides a framework for constructing recognizers, interpreters, compilers, and translators from grammatical descriptions containing actions in a variety of target languages. ANTLR provides excellent support for tree construction, tree walking, translation, error recovery, and error reporting.&lt;br /&gt;&lt;br /&gt;http://www.antlr.org/&lt;br /&gt;&lt;br /&gt;We have used both Class LLkParser and Class Parser.Alos one important interface that provides is Interface AST in antlr.collections.&lt;br /&gt;&lt;br /&gt;http://www.antlr2.org/javadoc/antlr/LLkParser.html&lt;br /&gt;http://www.antlr2.org/javadoc/antlr/Parser.html#LA(int)&lt;br /&gt;http://www.antlr2.org/javadoc/antlr/collections/AST.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-5248300516471725853?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/5248300516471725853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=5248300516471725853' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/5248300516471725853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/5248300516471725853'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/08/antlr.html' title='ANTLR'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-624189806948613853</id><published>2008-08-14T23:29:00.000-07:00</published><updated>2008-08-14T23:37:57.284-07:00</updated><title type='text'>Payment gateway</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_IwUymAFbPg4/SKUifWqbSEI/AAAAAAAAACM/dxSkbtHPf3Y/s1600-h/Safepay+Module+Diagram.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_IwUymAFbPg4/SKUifWqbSEI/AAAAAAAAACM/dxSkbtHPf3Y/s320/Safepay+Module+Diagram.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5234628063942887490" /&gt;&lt;/a&gt;&lt;br /&gt;A payment gateway is an e-commerce application service provider service that authorizes payments for e-businesses, online retailers, bricks and clicks, or traditional brick and mortar. Paypal and SecurePay are two common payment gateways. Following are the list of gateways.&lt;br /&gt;&lt;br /&gt;http://www.paymentgatewaydirectory.com/&lt;br /&gt;&lt;br /&gt;In our project we use saferpay payment gateway. In billing-services.xml,&lt;br /&gt;&lt; bean id="billing.paymentService" &lt;br /&gt;class="com.fastsearch.admomentum.billing.service.DefaultPaymentService"&gt;&lt;br /&gt;. . .&lt;br /&gt;&lt; !-- this bean is defined in fast-admomentum-paymentgateway.jar --&gt;&lt;br /&gt;&lt; property name="paymentGateway" ref="saferpayPaymentGateway" /&gt;&lt;br /&gt;. . .&lt;br /&gt;&lt; /bean&gt;&lt;br /&gt;&lt;br /&gt;and in base-configuration.properties, there are lots of configurations.&lt;br /&gt;one of them are,&lt;br /&gt;&lt;br /&gt;# The merchant account id with Saferpay&lt;br /&gt;com.fastsearch.admomentum.paymentgateway.saferpay.accountId=XXXXX-XXXXXXXXX&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-624189806948613853?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/624189806948613853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=624189806948613853' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/624189806948613853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/624189806948613853'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/08/payment-gateway.html' title='Payment gateway'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_IwUymAFbPg4/SKUifWqbSEI/AAAAAAAAACM/dxSkbtHPf3Y/s72-c/Safepay+Module+Diagram.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-5511945484102646263</id><published>2008-08-13T23:35:00.000-07:00</published><updated>2008-08-13T23:36:27.033-07:00</updated><title type='text'>Java Unit testing</title><content type='html'>This is a simple test class i wrote to test following method.&lt;br /&gt;&lt;br /&gt;package com.fastsearch.admomentum.common.time;&lt;br /&gt;&lt;br /&gt;import java.io.Serializable;&lt;br /&gt;import java.util.Calendar;&lt;br /&gt;........&lt;br /&gt;&lt;br /&gt;public class DateRange implements Serializable {&lt;br /&gt;&lt;br /&gt; .....&lt;br /&gt;&lt;br /&gt; public boolean isBetween(Calendar date) {&lt;br /&gt;  if (getEnd() != null) {&lt;br /&gt;      return (date.after(getStart()) &amp;&amp; date.before(getEnd())) &lt;br /&gt;                         || date.equals(getStart()) || date.equals(getEnd());&lt;br /&gt;  } else {&lt;br /&gt;      return date.after(getStart()) || date.equals(getStart());&lt;br /&gt;  }&lt;br /&gt; }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;----------------------------------------------&lt;br /&gt;&lt;br /&gt;package com.fastsearch.admomentum.common.time;&lt;br /&gt;&lt;br /&gt;import junit.framework.TestCase;&lt;br /&gt;import java.util.Calendar;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public class DateRangeUnitTest extends TestCase {&lt;br /&gt;&lt;br /&gt;     private DateRange dateRange;&lt;br /&gt;    &lt;br /&gt;     public void testIsBetween()&lt;br /&gt;     {&lt;br /&gt;         assertFalse(isBetweenOutOfBoundTest());         &lt;br /&gt;     }&lt;br /&gt;&lt;br /&gt;    private boolean isBetweenOutOfBoundTest()&lt;br /&gt;    {&lt;br /&gt;         Calendar testDate = Calendar.getInstance();&lt;br /&gt;         testDate.clear();&lt;br /&gt;         testDate.set(Calendar.YEAR,2007);&lt;br /&gt;         testDate.set(Calendar.MONTH,4);&lt;br /&gt;         testDate.set(Calendar.DATE,1);&lt;br /&gt;&lt;br /&gt;         Calendar startDate = Calendar.getInstance();&lt;br /&gt;         startDate.clear();&lt;br /&gt;         startDate.set(Calendar.YEAR,2007);&lt;br /&gt;         startDate.set(Calendar.MONTH,5);&lt;br /&gt;         startDate.set(Calendar.DATE,1);&lt;br /&gt;&lt;br /&gt;         Calendar endDate = Calendar.getInstance();&lt;br /&gt;         endDate.clear();&lt;br /&gt;         endDate.set(Calendar.YEAR,2007);&lt;br /&gt;         endDate.set(Calendar.MONTH,7);&lt;br /&gt;         endDate.set(Calendar.DATE,1);&lt;br /&gt;&lt;br /&gt;         dateRange = new DateRange(startDate, endDate);&lt;br /&gt;         return dateRange.isBetween(testDate);&lt;br /&gt;    }&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-5511945484102646263?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/5511945484102646263/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=5511945484102646263' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/5511945484102646263'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/5511945484102646263'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/08/java-unit-testing.html' title='Java Unit testing'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-4852838787151816986</id><published>2008-08-13T04:49:00.001-07:00</published><updated>2008-08-13T04:49:59.786-07:00</updated><title type='text'>mvn commands</title><content type='html'>- clean&lt;br /&gt;mvn clean&lt;br /&gt;&lt;br /&gt;- build&lt;br /&gt;mvn install&lt;br /&gt;&lt;br /&gt;- skip all the test &lt;br /&gt;mvn install -P test-unit -Dmaven.test.skip=true&lt;br /&gt;mvn install -o -P test-unit -Dmaven.test.skip=true &lt;br /&gt;&lt;br /&gt;- run all the tests including selenium tests&lt;br /&gt;mvn -Ptest-all install&lt;br /&gt;&lt;br /&gt;- run specific tests (unit test or selenium test)&lt;br /&gt;mvn install -Ptest-all -Dtest=com.fastsearch.admomentum.&lt;path&gt;.ClassName&lt;br /&gt;mvn install -P test-all -Dtest=AdvertisementSeleniumTest&lt;br /&gt;mvn install -Dtest=com.fastsearch.admomentum.common.time.DateRangeUnitTest -o -Ptest-all &lt;br /&gt;&lt;br /&gt;- run specific tests (unit test or selenium test) with degugging&lt;br /&gt;mvn install -Dtest=com.fastsearch.admomentum.admanager.webapp.selenium.campaign.CampaignSeleniumTest -o -Dmaven.surefire.debug -Ptest-all&lt;br /&gt;mvn install -Dtest=com.fastsearch.admomentum.admanager.reporting.DefaultReportingServiceUnitTest -o -Dmaven.surefire.debug -Ptest-all&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-4852838787151816986?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/4852838787151816986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=4852838787151816986' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/4852838787151816986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/4852838787151816986'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/08/mvn-commands.html' title='mvn commands'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-6612659157858599278</id><published>2008-08-12T23:03:00.000-07:00</published><updated>2008-08-12T23:04:01.184-07:00</updated><title type='text'>Cargo</title><content type='html'>Cargo is a thin wrapper around existing containers (e.g. J2EE containers). It provides different APIs to easily manipulate containers.&lt;br /&gt;&lt;br /&gt;Cargo provides the following APIs:&lt;br /&gt;&lt;br /&gt;    * A Java API to start/stop/configure Java Containers and deploy modules into them. Also Ant tasks, Maven 1, Maven 2 plugins. Intellij IDEA and Netbeans plugins are offered.&lt;br /&gt;    * A Java API to parse/create/merge J2EE Modules&lt;br /&gt;&lt;br /&gt;Following are some containers.&lt;br /&gt;&lt;br /&gt;    * Geronimo 1.x&lt;br /&gt;    * JBoss 3.x&lt;br /&gt;    * JBoss 4.x&lt;br /&gt;    * Jetty 4.x&lt;br /&gt;    * Jetty 5.x&lt;br /&gt;    * Jetty 6.x&lt;br /&gt;    * jo 1.x&lt;br /&gt;    * Oc4J 9.x&lt;br /&gt;    * Orion 1.x&lt;br /&gt;    * Orion 2.x&lt;br /&gt;    * Resin 2.x&lt;br /&gt;    * Resin 3.x&lt;br /&gt;    * Tomcat 3.x&lt;br /&gt;    * Tomcat 4.x&lt;br /&gt;    * Tomcat 5.x&lt;br /&gt;    * WebLogic 8.x&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-6612659157858599278?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/6612659157858599278/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=6612659157858599278' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/6612659157858599278'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/6612659157858599278'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/08/cargo.html' title='Cargo'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-3053729623906336094</id><published>2008-08-12T03:01:00.000-07:00</published><updated>2008-08-12T03:02:44.592-07:00</updated><title type='text'>Difference between 'vi' and 'vim' editors</title><content type='html'>vim is 'vi improved'&lt;br /&gt;More powerful, etc&lt;br /&gt;&lt;br /&gt;http://www.dc.turkuamk.fi/docs/soft/vim/vim_diff.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-3053729623906336094?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/3053729623906336094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=3053729623906336094' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/3053729623906336094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/3053729623906336094'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/08/difference-between-vi-and-vim-editors.html' title='Difference between &apos;vi&apos; and &apos;vim&apos; editors'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-4743511433353758809</id><published>2008-08-07T23:15:00.000-07:00</published><updated>2008-08-07T23:16:46.829-07:00</updated><title type='text'>Job scheduling with Quartz</title><content type='html'>Quartz is an open source job scheduling framework that provides simple but powerful mechanisms for job scheduling in Java applications. Quartz allows developers to schedule jobs by time interval or by time of day. The two fundamental units of Quartz's scheduling package are jobs and triggers. A job is an executable task that can be scheduled, while a trigger provides a schedule for a job.&lt;br /&gt;Also, any singular job can have many triggers associated with it. &lt;br /&gt;&lt;br /&gt;A CronTrigger allows for more specific scheduling than a SimpleTrigger and is still not very complex. Based on cron expressions, CronTriggers allow for calendar-like repeat intervals rather than uniform repeat intervals -- a major improvement over SimpleTriggers.&lt;br /&gt;A "Cron-Expression" is a string comprised of 6 or 7 fields separated by white space. There are 6 mandatory and 1 optional fields.&lt;br /&gt;&lt;br /&gt;Field Name       &lt;br /&gt;Seconds     &lt;br /&gt;Minutes     &lt;br /&gt;Hours     &lt;br /&gt;Day-of-month     &lt;br /&gt;Month     &lt;br /&gt;Day-of-Week     &lt;br /&gt;Year (Optional) &lt;br /&gt;&lt;br /&gt;Expression       Meaning&lt;br /&gt;"0 0 12 * * ?"     Fire at 12pm (noon) every day    &lt;br /&gt;&lt;br /&gt;useful links:&lt;br /&gt;http://www-128.ibm.com/developerworks/java/library/j-quartz/&lt;br /&gt;&lt;br /&gt;http://quartz.sourceforge.net/javadoc/org/quartz/CronTrigger.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-4743511433353758809?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/4743511433353758809/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=4743511433353758809' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/4743511433353758809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/4743511433353758809'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/08/job-scheduling-with-quartz.html' title='Job scheduling with Quartz'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-2812352021493553165</id><published>2008-08-05T20:50:00.001-07:00</published><updated>2008-08-05T21:46:46.882-07:00</updated><title type='text'>Daylight saving time</title><content type='html'>Daylight saving time (DST; also summer time in British English; see Terminology) is the convention of advancing clocks so that afternoons have more daylight and mornings have less. Typically clocks are adjusted forward one hour near the start of spring and are adjusted backward in autumn.&lt;br /&gt;&lt;br /&gt;http://en.wikipedia.org/wiki/Daylight_saving_time&lt;br /&gt;&lt;br /&gt;In Java, there are two ways to create days. One method is using Calender object.&lt;br /&gt;&lt;br /&gt;Calendar c = Calendar.getInstance();&lt;br /&gt;c.clear();&lt;br /&gt;c.set(Calendar.YEAR,2007);&lt;br /&gt;c.set(Calendar.MONTH,9);&lt;br /&gt;c.set(Calendar.DATE,31);&lt;br /&gt;System.out.println(c.getTime());&lt;br /&gt;c.add(Calendar.DATE,1);&lt;br /&gt;System.out.println(c.getTime());&lt;br /&gt;&lt;br /&gt;private List&lt;Date&gt; calculateIntervals(DateRange dateRange) {&lt;br /&gt;        Date date = dateRange.getStart().getTime();&lt;br /&gt;        Calendar c = Calendar.getInstance();&lt;br /&gt;        c.clear();&lt;br /&gt;        c.setTimeZone(dateRange.getStart().getTimeZone());&lt;br /&gt;        c.setTime(dateRange.getStart().getTime());&lt;br /&gt;        List&lt;Date&gt; dates = new ArrayList&lt;Date&gt;();&lt;br /&gt;        while (c.getTime().compareTo(dateRange.getEnd().getTime()) &lt;= 0) {&lt;br /&gt;            dates.add(c.getTime());&lt;br /&gt;            Calendar nextDate = (Calendar) c.clone();&lt;br /&gt;            nextDate.add(Calendar.DATE,1);&lt;br /&gt;            c = nextDate;&lt;br /&gt;        }&lt;br /&gt;        return dates;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;This timezone don't work with daylight saving time. The other way is using Date object.&lt;br /&gt;&lt;br /&gt;private List&lt;Date&gt; calculateIntervals(DateRange dateRange) {&lt;br /&gt;        Date date = dateRange.getStart().getTime();&lt;br /&gt;        List&lt;Date&gt; dates = new ArrayList&lt;Date&gt;();&lt;br /&gt;        while (date.compareTo(dateRange.getEnd().getTime()) &lt;= 0) {&lt;br /&gt;            dates.add(date);&lt;br /&gt;            Date nextDate = (Date) date.clone();&lt;br /&gt;            nextDate = DateUtils.addDays(nextDate, 1);&lt;br /&gt;            date = nextDate;&lt;br /&gt;        }&lt;br /&gt;        return dates;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;This Date object time zone cater with daylight-saving time. In date object-&gt;cdate-&gt;daylightSaving parameter contains the time in milisecond that should add to the date for daylight-saving changes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-2812352021493553165?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/2812352021493553165/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=2812352021493553165' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/2812352021493553165'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/2812352021493553165'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/08/daylight-saving-time.html' title='Daylight saving time'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-2273943350135540436</id><published>2008-07-30T03:50:00.000-07:00</published><updated>2008-07-30T03:52:09.409-07:00</updated><title type='text'>Generics</title><content type='html'>Generics allow you to abstract over types. The most common examples are container types, such as those in the Collection hierarchy.&lt;br /&gt;&lt;br /&gt;When you take an element out of a Collection, you must cast it to the type of element that is stored in the collection. Besides being inconvenient, this is unsafe. The compiler does not check that your cast is the same as the collection's type, so the cast can fail at run time.&lt;br /&gt;&lt;br /&gt;Generics provides a way for you to communicate the type of a collection to the compiler, so that it can be checked. Once the compiler knows the element type of the collection, the compiler can check that you have used the collection consistently and can insert the correct casts on values being taken out of the collection.&lt;br /&gt;&lt;br /&gt;Here is a simple example taken from the existing Collections tutorial:&lt;br /&gt;&lt;br /&gt;    // Removes 4-letter words from c. Elements must be strings&lt;br /&gt;    static void expurgate(Collection c) {&lt;br /&gt;        for (Iterator i = c.iterator(); i.hasNext(); )&lt;br /&gt;          if (((String) i.next()).length() == 4)&lt;br /&gt;            i.remove();&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;Here is the same example modified to use generics:&lt;br /&gt;&lt;br /&gt;    // Removes the 4-letter words from c&lt;br /&gt;    static void expurgate(Collection&lt;String&gt; c) {&lt;br /&gt;        for (Iterator&lt;String&gt; i = c.iterator(); i.hasNext(); )&lt;br /&gt;          if (i.next().length() == 4)&lt;br /&gt;            i.remove();&lt;br /&gt;    }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-2273943350135540436?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/2273943350135540436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=2273943350135540436' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/2273943350135540436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/2273943350135540436'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/07/generics.html' title='Generics'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-7061086802400361876</id><published>2008-07-28T23:56:00.001-07:00</published><updated>2008-07-28T23:56:52.787-07:00</updated><title type='text'>Firefox Add-ons - Fire bug</title><content type='html'>Firebug integrates with Firefox to put a wealth of development tools at your fingertips while you browse. You can edit, debug, and monitor CSS, HTML, and JavaScript live in any web page...&lt;br /&gt;Firebug 1.2 requires Firefox 3. Firefox 2 users should install the older 1.05 version of Firebug.&lt;br /&gt;&lt;br /&gt;https://addons.mozilla.org/en-US/firefox/addon/1843&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-7061086802400361876?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/7061086802400361876/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=7061086802400361876' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/7061086802400361876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/7061086802400361876'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/07/firefox-add-ons-fire-bug.html' title='Firefox Add-ons - Fire bug'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-963170621465177133</id><published>2008-07-24T01:39:00.000-07:00</published><updated>2008-07-28T23:58:15.155-07:00</updated><title type='text'>Linux BASH command line</title><content type='html'>These are several useful Linux commands.&lt;br /&gt;&lt;br /&gt;df       ----Display free disk space&lt;br /&gt;gzip     ----Compress or decompress named file(s)&lt;br /&gt;history  ----Command History&lt;br /&gt;ifconfig ----See the ip address of the machine&lt;br /&gt;&lt;br /&gt;This is the url:&lt;br /&gt;http://www.ss64.com/bash/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-963170621465177133?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/963170621465177133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=963170621465177133' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/963170621465177133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/963170621465177133'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/07/linux-bash-command-line.html' title='Linux BASH command line'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-7699240991080837451</id><published>2008-07-23T23:28:00.000-07:00</published><updated>2008-07-23T23:40:33.404-07:00</updated><title type='text'>Selenium IDE</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_IwUymAFbPg4/SIgjHQjWL4I/AAAAAAAAAB0/NDNvCkkJeUw/s1600-h/slenium-IDE.png"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_IwUymAFbPg4/SIgjHQjWL4I/AAAAAAAAAB0/NDNvCkkJeUw/s320/slenium-IDE.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5226465975172738946" /&gt;&lt;/a&gt;&lt;br /&gt;Selenium is a test tool for web applications. Selenium tests run directly in a browser, just like real users do. It runs in Internet Explorer, Mozilla and Firefox on Windows, Linux, and Macintosh, Safari on the Mac.I tested it in Firefox on Linux.The quickest way to learn Selenium is via a Firefox plugin called Selenium IDE. &lt;br /&gt;http://selenium.openqa.org/&lt;br /&gt;&lt;br /&gt;We can download it from&lt;br /&gt;http://selenium-ide.openqa.org/download.jsp&lt;br /&gt;I used Version 0.8.7&lt;br /&gt;&lt;br /&gt;This is a good link for learning about selenium.&lt;br /&gt;http://blog.taragana.com/index.php/archive/5-minute-guide-to-selenium-ide-and-selenium-rc-test-tools/&lt;br /&gt;&lt;br /&gt;Our project(Admomentum) uses Selenium Remote Control rather than Selenium IDE. The Selenium Remote Control allows you to develop test cases and test suites in Java (supports JUnit &amp; NGUnit), PHP, Ruby, Python, Perl and even .NET. It is the most flexible setup but requires some development knowledge to set up and use.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-7699240991080837451?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/7699240991080837451/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=7699240991080837451' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/7699240991080837451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/7699240991080837451'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/07/selenium-ide.html' title='Selenium IDE'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_IwUymAFbPg4/SIgjHQjWL4I/AAAAAAAAAB0/NDNvCkkJeUw/s72-c/slenium-IDE.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-834701446239221217</id><published>2008-07-23T20:36:00.000-07:00</published><updated>2008-07-23T20:43:00.324-07:00</updated><title type='text'>How To Raise a "File Download" Dialog Box</title><content type='html'>When you serve a document from a Web server, you might want to immediately prompt the user to save the file directly to the user's disk, without opening it in the browser. However, for known MIME (Multipurpose Internet Mail Extensions) types such as Microsoft Word ("application/ms-word"), the default behavior is to open the document in Internet Explorer.You can use the content-disposition header to override this default behavior. Its format is:&lt;br /&gt;&lt;br /&gt;Content-disposition: attachment; filename=fname.ext&lt;br /&gt;&lt;br /&gt;Content-disposition is an extension to the MIME protocol that instructs a MIME user agent on how it should display an attached file.When Internet Explorer receives the header, It raises a File Download dialog box whose file name box is automatically populated with the file name that is specified in the header. &lt;br /&gt;&lt;br /&gt;To apply the header dynamically, create an Active Server Pages (ASP) file that writes the document out to the browser. Use the Response.AddHeader method to add the content-disposition header. For example:&lt;br /&gt;&lt;br /&gt;Response.AddHeader "content-disposition","attachment; filename=fname.ext"&lt;br /&gt;    &lt;br /&gt;in Java&lt;br /&gt;response.addHeader(CONTENT_DISPOSITION, conditionalParse(contentDisposition, invocation));&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-834701446239221217?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/834701446239221217/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=834701446239221217' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/834701446239221217'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/834701446239221217'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/07/how-to-raise-file-download-dialog-box.html' title='How To Raise a &quot;File Download&quot; Dialog Box'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-7680589397626294480</id><published>2008-07-22T21:35:00.000-07:00</published><updated>2008-07-23T21:44:02.428-07:00</updated><title type='text'>UTF-8 and shift-jis</title><content type='html'>UTF-8 (8-bit UCS/Unicode Transformation Format) is a variable-length character encoding for Unicode. It is able to represent any character in the Unicode standard, yet the initial encoding of byte codes and character assignments for UTF-8 is backwards compatible with ASCII. For these reasons, it is steadily becoming the preferred encoding for e-mail, web pages.&lt;br /&gt;&lt;br /&gt;Shift JIS is a character encoding for the Japanese language.&lt;br /&gt;&lt;br /&gt;This is a sample example of using encoding in Java.&lt;br /&gt;&lt;br /&gt;filename = new StringBuilder();&lt;br /&gt;private static final String DEFAULT_CHARSET = "ISO-8859-1";&lt;br /&gt;&lt;br /&gt;try {&lt;br /&gt; filename.append(new String(getText("campaign.download.filename.prefix").getBytes("UTF-8"), DEFAULT_CHARSET))&lt;br /&gt;              .append("-")&lt;br /&gt;       .append(sdf.format(now))&lt;br /&gt;       .append("-")&lt;br /&gt;       .append(new String(getCampaign().getName().toLowerCase().replace(" ", "-").getBytes("UTF-8"), DEFAULT_CHARSET))&lt;br /&gt;       .append(".csv");&lt;br /&gt;} catch (UnsupportedEncodingException e) {&lt;br /&gt;        addActionError(getText("error.advertisementCsv.failedToDownload"));&lt;br /&gt;        return INPUT;&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-7680589397626294480?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/7680589397626294480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=7680589397626294480' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/7680589397626294480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/7680589397626294480'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/07/utf-8-and-shift-jis.html' title='UTF-8 and shift-jis'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-8395408220475906388</id><published>2008-07-21T21:51:00.000-07:00</published><updated>2008-07-23T21:54:14.038-07:00</updated><title type='text'>CSS float Property</title><content type='html'>The float property allows two div elements to display in same line.The float property sets where an image or a text will appear in another element.Note: If there is too little space on a line for the floating element, it will jump down on the next line, and continue until a line has enough space.&lt;br /&gt;&lt;br /&gt;img&lt;br /&gt;{&lt;br /&gt;float: left&lt;br /&gt;}&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-8395408220475906388?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/8395408220475906388/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=8395408220475906388' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/8395408220475906388'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/8395408220475906388'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/07/css-float-property.html' title='CSS float Property'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-4192546939780210110</id><published>2008-07-21T00:54:00.000-07:00</published><updated>2008-07-24T00:58:10.825-07:00</updated><title type='text'>Remote Access in PostgreSQL databases</title><content type='html'>When we need to allow to someone to access our PostgreSQL database in our machine, we need to put following code in our pg_hba.conf file.&lt;br /&gt;&lt;br /&gt;# Allow a user from host 192.168.12.10 to connect to database&lt;br /&gt;# "postgres" if the user's password is correctly supplied.&lt;br /&gt;# &lt;br /&gt;# TYPE  DATABASE    USER        CIDR-ADDRESS          METHOD&lt;br /&gt;host    postgres    all         192.168.12.10/32      md5&lt;br /&gt;&lt;br /&gt;This is a useful site regarding that.&lt;br /&gt;&lt;br /&gt;http://developer.postgresql.org/pgdocs/postgres/auth-pg-hba-conf.html&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-4192546939780210110?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/4192546939780210110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=4192546939780210110' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/4192546939780210110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/4192546939780210110'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/07/remote-access-in-postgresql-databases.html' title='Remote Access in PostgreSQL databases'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-297866528817833727</id><published>2008-07-18T02:15:00.000-07:00</published><updated>2008-07-24T02:17:52.123-07:00</updated><title type='text'>Remote login in Ubuntu</title><content type='html'>When you need to remote login to a another machine, first you need to change the remote desktop preferences of the machine which you need to connect and then run following command withing your machine.&lt;br /&gt;&lt;br /&gt;vncviewer 172.23.69.90&lt;br /&gt;or &lt;br /&gt;vncviewer -fullscreen 172.23.69.90&lt;br /&gt;&lt;br /&gt;change the ip address as u need. This is remote login with user interface.&lt;br /&gt;&lt;br /&gt;The command for remote login in command pront is:&lt;br /&gt;eg:&lt;br /&gt;ssh silsaj@cmb1u119.cmb1.fast.no&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-297866528817833727?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/297866528817833727/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=297866528817833727' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/297866528817833727'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/297866528817833727'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/07/remote-login-in-ubuntu.html' title='Remote login in Ubuntu'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-768232331581376933</id><published>2008-07-17T01:17:00.000-07:00</published><updated>2008-07-24T01:18:21.465-07:00</updated><title type='text'>md5sum in Linux</title><content type='html'>A checksum is a form of redundancy check, a simple way to protect the integrity of data by detecting errors in data that are sent through space (telecommunications) or time (storage). It works by adding up the basic components of a message, typically the assorted bits, and storing the resulting value.&lt;br /&gt;These types of redundancy check are useful in detecting accidental modification such as corruption to stored data or errors in a communication channel. However, they provide no security against a malicious agent as their simple mathematical structure makes them trivial to circumvent. To provide this level of integrity, the use of a cryptographic hash function, such as SHA-256,MD5 is necessary. In cryptography, MD5 (Message-Digest algorithm 5) is a widely used, partially insecure cryptographic hash function with a 128-bit hash value.&lt;br /&gt;&lt;br /&gt;md5sum is a computer program that calculates and verifies 128-bit MD5 hashes, as described in RFC 1321. The MD5 hash (or checksum) functions as a compact digital fingerprint of a file. It is extremely unlikely that any two non-identical files existing in the real world will have the same MD5 hash (although as with all such hashing algorithms, in theory there is an unlimited number of files that will have any given MD5 hash).&lt;br /&gt;&lt;br /&gt;In Linux, we use following command to check the checksum of a file.&lt;br /&gt;md5sum -b ojdbc14.jar&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-768232331581376933?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/768232331581376933/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=768232331581376933' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/768232331581376933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/768232331581376933'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/07/md5sum-in-linux.html' title='md5sum in Linux'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-8057199682447857381</id><published>2008-07-09T04:55:00.000-07:00</published><updated>2008-07-09T04:57:08.468-07:00</updated><title type='text'>Regular Expression</title><content type='html'>This is a simple java application for using regular expressions in Java.&lt;br /&gt;&lt;br /&gt;import java.util.regex.*;&lt;br /&gt;&lt;br /&gt;public class Regex {&lt;br /&gt;&lt;br /&gt;       public static void main(String[] args) throws Exception {&lt;br /&gt;&lt;br /&gt;        Pattern p = Pattern.compile("[,\\s]+");&lt;br /&gt;        String[] result = p.split("one,two, three   four ,  five");&lt;br /&gt;        for (int i=0; i&lt;result.length; i++)&lt;br /&gt;            System.out.println(result[i]);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;         String  textSubject = "aasasa2323";&lt;br /&gt;         Pattern brackets = Pattern.compile(".*\\{[h][e][l][l][o]\\}.*");&lt;br /&gt;         Matcher fit = brackets.matcher(textSubject);&lt;br /&gt;         if (fit.find()) {&lt;br /&gt;                System.out.println ("Found");&lt;br /&gt;        } else {&lt;br /&gt;                System.out.println ("Not found");&lt;br /&gt;        }&lt;br /&gt;       &lt;br /&gt;    }&lt;br /&gt;   &lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-8057199682447857381?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/8057199682447857381/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=8057199682447857381' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/8057199682447857381'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/8057199682447857381'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/07/regular-expression.html' title='Regular Expression'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4866242831966750665.post-161372945263455780</id><published>2008-07-03T22:45:00.000-07:00</published><updated>2008-07-23T20:36:26.863-07:00</updated><title type='text'>Download accelerator for Ubuntu</title><content type='html'>I'm using Ubuntu 7.10 (Gutsy Gibbon) in the working place. This link was useful for me to find details about it.&lt;br /&gt;&lt;br /&gt;http://ubuntuguide.org/wiki/Ubuntu:Gutsy&lt;br /&gt;&lt;br /&gt;Axel is a lightweight command line download accelerator for ubuntu. This link provides the procedure to use it.&lt;br /&gt;&lt;br /&gt;http://blog.codefront.net/2007/04/29/axel-lightweight-command-line-download-accelerator/&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Web developer 1.1.6 is an add-on to Firefox which is a very useful tool for web developers. This is the url:&lt;br /&gt;https://addons.mozilla.org/en-US/firefox/addon/60&lt;br /&gt;&lt;br /&gt;Today when I'm giving permissions to files and folders, this article was useful for me.&lt;br /&gt;http://www.freeos.com/articles/4440/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/4866242831966750665-161372945263455780?l=manojdhanushkatech.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://manojdhanushkatech.blogspot.com/feeds/161372945263455780/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=4866242831966750665&amp;postID=161372945263455780' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/161372945263455780'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4866242831966750665/posts/default/161372945263455780'/><link rel='alternate' type='text/html' href='http://manojdhanushkatech.blogspot.com/2008/07/im-using-ubuntu-7.html' title='Download accelerator for Ubuntu'/><author><name>Manoj Dhanushka</name><uri>http://www.blogger.com/profile/08603656525947838175</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://bp2.blogger.com/_IwUymAFbPg4/SE0S10mAo_I/AAAAAAAAAAM/LNCgAPFspIM/S220/1.jpg'/></author><thr:total>0</thr:total></entry></feed>
