<?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-6914296902264504048</id><updated>2011-11-28T05:03:19.352+05:30</updated><title type='text'>ප්‍රභූගේ තාක්ෂණික සටහන</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>62</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-5528399484593318250</id><published>2010-06-12T22:49:00.005+05:30</published><updated>2010-06-12T23:58:23.681+05:30</updated><title type='text'>JMS හි ප්‍රායෝගික යෙදීම්...</title><content type='html'>මේදවස්වල ටිකක් වැඩ වැඩි හන්දා අලුතෙන් දෙයක් ලියන්න උනේ නැතිවුන නිසා මම ලගදි කියවපු ලිපියක් අනුසාරයේන් පොඩි ලිපියක් ලියන්න හිතුනා.මේ ලිපිය ලියල තිබුනේ Java messaging Service එහෙමත් නැත්නම් JMS පිලිබදව. නමුත් මම මෙහි ලියන්න බලාපොරොත්තු වෙන්නේ JMS පිලිබදව පැහැදිලි කිරීමකට වඩා එහි යේදීමක් පිලිබදවයි.මෙ පිලිබදව විශේෂයෙන් ලියන්න හේතුවක් වුනේ මේ කියන්න යන කාරණය පිලිබදව බොහෝදෙනා යොමු නොකරණ කාරණයක් නිසා.බොහො විට සිද්දාන්තමය කරුනු පිලිබදව අවබෝදයක් තිබුනත් එහි යෙදීම් පිලිබදව ඇත්තේ අඩු අවබෝදයක්.මම පැහැදිලි කරන්න හදපු කාරණය ගැන කතාකලොත් සාමාන්‍යයෙන් යම්කිසි මෘදුකාංගයක් නිර්මාණයේදී අපි එය තුල සිදුවන සිදුවීම් සියල්ල Log එකක් තුල ලිවීම්ට සලස්වනවා.එහිදී method execution වල සිට Exception throwing දක්වා සියලුම සිදුවීම් එය තුල සටහන් කිරීම සිදුකරණු ලබනවා.සමහර විට මෙමගින් ඇතිවන වාසි පිලිබදව ඔබට ප්‍රශ්නයක් මතුවීමට පුලුවන්..ඇත්තටම මෙහිදී මෙය සිදුකරණු ලබන්නේ මෘදුකාංගය තුල සිදුවු දෙ පිලිබදව පසුව අවබෝදයක් ලබාගැනීමටයි.සමහර අවස්තාවලදී මෘදුකාංගයේ සිදුවන Error එකක් වුවද එය සිදුවුයේ කොතැනද කුමන වේලාවේදීද යන්න පිලිබදව ඉතාම පහසුවෙන් මෙම log සටහන් නිසා දැනගත හැකී.මෙය මෘදුකාංගය පවත්වා ගැනීමේදී ඉතාම ලොකු පහසුවක් වෙනවා.විශේෂයෙන් මෙම log සටහන් ක්‍රමය Web Application වලදී බහුල වශයේන් යොදාගනු ලබයි. දැන් අපි සටහනක් තමන්ගේ මෘදුකාංගයට යොදාගැනීමේ ක්‍රියාවලිය පිලිබදව ප්‍රායෝගික කොටස පිලිබදව උදාහරණයක් මගින් පැහැදිලි කරණවනම්  Struts Framework එක යොදාගන කරණු ලබන Web Application එකක් සලකා බැලුවහොත් එහිදී මෙම Log ලිවීම සදහා අපට Interceptor එකක් පහසුවෙන් යොදාගත හැක. එහිදී සිදුවන්නේ Struts Action න් execute වීමට ප්‍රතම(pre-processed) මෙම request, Interceptor එකක් හරහා යැවීමයි.පහත රූපයෙන් එය නිරූපණය වේ.&lt;br /&gt;&lt;img src="file:///tmp/moz-screenshot.png" alt="" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mUx17Avykm8/TBPMKus-e2I/AAAAAAAAAls/tfeEsIuGjl0/s1600/pic1.jpg"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 256px; height: 320px;" src="http://2.bp.blogspot.com/_mUx17Avykm8/TBPMKus-e2I/AAAAAAAAAls/tfeEsIuGjl0/s320/pic1.jpg" alt="" id="BLOGGER_PHOTO_ID_5481949656147458914" border="0" /&gt;&lt;/a&gt;මෙම Interceptor එක තුලදී එම Log එකට අදාල සියලුම තොරතුරු  database එකක් තුල හෝ  Log file එකක් තුල සටහන් කරගත හැකියි.මෙහිදී බහුලව භාවිතා වන්නේ Log file එකක් තුල සටහන් කර ගැනීමේ ක්‍රමයයි.මෙහිදී මෙම අවස්තාවට අදාල බොහෝ තොරතුරු log සටහනේ සටහන් කරනව.මෙම ක්‍රමයේදී ඇතිවන ප්‍රශ්නය තමයි  සියලුම Action execute වීමට ප්‍රතමව මෙසේ log සටහනක ලිවීම. මෙය සෘජුවම මෙම මෘදුකාංගවල කාර්යක්ෂම තාවය කෙරෙහි බලපෑමක් සිදුකරනවා ඊට හේතුව interceptor එක වෙතට පැමිනෙන request නැවතත් ඊට අදාල action එක වෙත යොමුවන්නේ ඊට අදාල තොරතුරු මෙම log සටහන ලිවීමෙන් අනතුරුවයි.මෙම කාර්යක්ෂම තාවය අඩුවීම බොහෝවිට Web Application සදහා විශේෂයෙන් බලපානවා.එහි දල ආකාරය පහත රූපසටහනේ නිරූපණය වේ.රූප සටහනේ දැක්වෙන්නේ එක ගමන් කරන ආකාරය පිලිබදව අවබෙදයක් ගැනීමට පමණක් බව සලකන්න.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_mUx17Avykm8/TBPMoYNZPbI/AAAAAAAAAl0/4Kkj2mSt8cw/s1600/pic2.jpg"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 257px; height: 301px;" src="http://4.bp.blogspot.com/_mUx17Avykm8/TBPMoYNZPbI/AAAAAAAAAl0/4Kkj2mSt8cw/s320/pic2.jpg" alt="" id="BLOGGER_PHOTO_ID_5481950165505490354" border="0" /&gt;&lt;/a&gt;මෙහිදී මෙම කාර්යක්ෂම තාවය අඩුවීමට බලපාන හේතුව මගහැරවා ගැනීමට අපට JMS යොදාගැනීමට පුලුවන්.මෙහිදී ප්‍රශ්නයට හේතුව වන්නේ (interceptor එක වෙතට පැමිනෙන request නැවතත් ඊට අදාල action එක වෙත යොමුවන්නේ ඊට අදාල තොරතුරු මෙම log සටහන ලිවීමෙන් අනතුරුවයි).මෙහිදී මෙම තත්වයෙන් මිදීමට අපට Interceptor එක ඉවත්කිරීමට හැකියාවක් නැහැ.නමුත් මෙහිදී අපිට Interceptor එක මගින් log සටහන ලිවීමේ කාර්යය කරණ අවස්තාව සදහා කුමක් හෝ පිලියමක් යෙදිය හැකියි.මෙහිදී මෙම කාර්යය වෙන කෙනෙකුට පවරා request එක කෙලින්ම Action එක වෙත යොමු කල හැකිනම් මෙම කාර්යක්ෂමතාවය පිලිබදව ප්‍රස්නයට පිලිතුරක් ලබාගත හැකියි.මෙහිදී  මෙම පහත රූපයේ ආකාරයට  අපට මෙ සදහා ලෙහෙසියෙන්ම පිලිතුරක් සොයාගත හැකියි.&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mUx17Avykm8/TBPM8OewkeI/AAAAAAAAAl8/c46PjVAyf64/s1600/pic3.jpg"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 260px; height: 282px;" src="http://2.bp.blogspot.com/_mUx17Avykm8/TBPM8OewkeI/AAAAAAAAAl8/c46PjVAyf64/s320/pic3.jpg" alt="" id="BLOGGER_PHOTO_ID_5481950506491351522" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;මෙහිදී ඉහත රූපයේ ආකාරයට Interceptor එක තුල ඇති Message sender function එක යොදාගෙන අපට log එකෙහි සටහන් කිරීමට අවශ්‍ය තොරතුරු message එකක්(Interceptor එකෙහි ඇති message sender එක යොදාගෙන)  මගින් Message queue එක වෙතට යොමු කර  request එක පමාවකින් තොරව නියමිත Action එක තුලට යොමු කල හැක.මෙහිදී log එක write කරන තෙක් බලාසිටීමෙන් අපතේයන කාලය ඉතුරුකර ගැනීමට හැකිවෙනවා.මෙම queue එකට යොමුකල message පිලිවලින් message receiver තුලට යොමුකරනු ලැබේ.මෙම receiver එක තුල අපට log සටහන් ලිවීම සදහා අවශ්‍ය කේත සටහන් ලියාගත හැකියි.මෙම ක්‍රමය නිසා කලින් තිබු කාර්යක්ෂමතාවය පිලිබදව ගැටලුව මගහරවා ගතහැක.මීට අමතරව JMS යොදාගත හැකි අවස්තා විශාල ගණනක් දක්නට ලැබෙනවා.මම සරළ උදාහරණය මගින් ඔබට මෘදුකාංග නිර්මාණයේදී අපට මතුවන ගැටලු සදාහා අපි  ඉගෙන ගන්නා සිද්දාන්තමය කරුණු යොදාගන්නා ආකාරය පිලිබදව යම්තරමක හෝ අවබෝදයක් ලැබෙන්නට ඇතැයි සිතමි.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-5528399484593318250?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/5528399484593318250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=5528399484593318250' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/5528399484593318250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/5528399484593318250'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2010/06/jms.html' title='JMS හි ප්‍රායෝගික යෙදීම්...'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_mUx17Avykm8/TBPMKus-e2I/AAAAAAAAAls/tfeEsIuGjl0/s72-c/pic1.jpg' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-7317183614167317582</id><published>2010-03-25T19:45:00.004+05:30</published><updated>2010-03-25T20:10:32.803+05:30</updated><title type='text'>JNode</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.jnode.org/"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 160px; height: 77px;" src="http://3.bp.blogspot.com/_mUx17Avykm8/S6t1eBCB2II/AAAAAAAAAjg/M-gxGg7wWFc/s400/jnodeLog.jpg" alt="" id="BLOGGER_PHOTO_ID_5452580932395587714" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;මේක අලුත් නිවුස් එකක් නොවුනත් වැදගත් නිසා බොලොග් එකට ඇඩි කරන්න හිතුවා.මේක මෙහෙයුම් පද්ධති හදන්න පුලුවන් Assembly,C වලින් විතරද කියල හිතපු අයට හොද නිවුස් එකක් වෙයි. මොකද  හැමදාම කතාකරන්නේ එක්කො ලිනක්ස් නැත්නම් වින්ඩොස් හරි මැක් හරි ගැනනෙ,ඉතින් අද වෙනමම විදිහේ මෙහෙයුම්&lt;br /&gt;පද්දතියක් ගැන තමයි ඉතාම කෙටියෙන් හදුන්වල දෙන්න හදන්නේ.මෙම මෙහෙයුම් පද්දතියට කියන්නේ &lt;a href="http://www.jnode.org/"&gt;JNode&lt;/a&gt; කියල .සමහර විට අහලත් ඇති.මෙහි විශේෂත්වය තමයි මෙය පරිගණක Java භාෂාව යොදාගෙන පරීක්ෂණ මට්ටමෙන් කරගෙන යන දෙයක් වීම .පරීක්ෂණ මට්ටමෙන් කිවුවට හොද මට්ටමක තියෙනවා දැනටමත්.ඇත්තටම සම්පුර්ණයෙන්ම Java  පරිගණක භාෂාව යොදාගෙන තමයි මේක කරලා තියෙන්නේ නමුත් මේ සදහා Kernal එක විදිහට Assembly Micro Kernal එකක් භාවිතා කරලා තිබෙනවා.මෙහි අතුරු මුහුණත් පහත රූපවල පෙනෙන ආකාරයට Java UI Component  හි ඇති  ස්වරූපය ගන්නවා.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.jnode.org/"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 329px; height: 263px;" src="http://2.bp.blogspot.com/_mUx17Avykm8/S6t0LnSSFMI/AAAAAAAAAjY/5FpY0OsOPdI/s400/jn024_5.png" alt="" id="BLOGGER_PHOTO_ID_5452579516735165634" border="0" /&gt;&lt;/a&gt;මෙය විවෘත හා නිදහස් මෘදුකාංගයක් විදිහට තමයි මෙය සංවර්ධනය  කර තිබෙන්නේ ඔබටත් මෙය සමඟ සම්බන්ධ වීමේ අවස්ථා තිබෙනවා.මෙය අත් හදා බැලීමට අවශ්‍ය නම් පහසුම ක්‍රමය වන්නේ ඔවුන් දී තිබෙන &lt;a href="http://www.jnode.org/download_latest"&gt;ISO image&lt;/a&gt; එක Virtual machine එකක් මත Run කර බැලීමයි.&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-7317183614167317582?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/7317183614167317582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=7317183614167317582' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/7317183614167317582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/7317183614167317582'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2010/03/jnode.html' title='JNode'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_mUx17Avykm8/S6t1eBCB2II/AAAAAAAAAjg/M-gxGg7wWFc/s72-c/jnodeLog.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-8215154721129639911</id><published>2010-03-02T06:47:00.002+05:30</published><updated>2010-03-02T06:55:52.595+05:30</updated><title type='text'>Google Code Jam 2010</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_mUx17Avykm8/S4xo_ppPcNI/AAAAAAAAAi0/uLhJ77mvvdo/s1600-h/code-jam.jpg"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer; width: 200px; height: 200px;" src="http://4.bp.blogspot.com/_mUx17Avykm8/S4xo_ppPcNI/AAAAAAAAAi0/uLhJ77mvvdo/s400/code-jam.jpg" alt="" id="BLOGGER_PHOTO_ID_5443841492303966418" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;ගුගල් සමාගම විසින් අවුරුදු පතා සිදු කරණු ලබන අංගයක් වන ගුගල් codejam තරග  මාලාවේ 2010 අවුරුද්ද සදහා වන තරගය &lt;a href="http://code.google.com/codejam/schedule.html"&gt;මැයි&lt;/a&gt; මස ආරම්බ කිරීමට  නියමිතයි.මේ සදහා register කර ගැනීම අප්‍රේල් මස 7 වෙනිදයින් ආරම්බවේ.මෙහිදී ගුගල් විසින් සපයනු ලබන සන්කීර්ණ ගැටලු සදහා පිලිතුරු  පරිනණක භාෂාවකින් ලිවීමට ඔබට සිදුවනු ඇත.මෙගැන වැඩි විස්තර දැන ගැනීමට  කැමතිනම් ඒ සදහා &lt;a href="http://code.google.com/codejam"&gt;මෙතනින්  පිවිසෙන්න. &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-8215154721129639911?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/8215154721129639911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=8215154721129639911' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/8215154721129639911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/8215154721129639911'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2010/03/google-code-jam-2010.html' title='Google Code Jam 2010'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_mUx17Avykm8/S4xo_ppPcNI/AAAAAAAAAi0/uLhJ77mvvdo/s72-c/code-jam.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-5957476830906305983</id><published>2010-02-26T09:46:00.004+05:30</published><updated>2010-02-26T09:51:11.429+05:30</updated><title type='text'>Ubuntu 10.04  හි 3 වන ඇල්ෆා(Lucid) නිකුතුව දැන් ලබාගත හැක.</title><content type='html'>Ubuntu 10.04  හි 3 අවසාන ඇල්ෆා නිකුතුව දැන් මේ වන විට ලබාගත හැකියි.එහි නවතම&lt;br /&gt;අන්තර්ගතයන් ගැන කතා කලොත්&lt;br /&gt;&lt;br /&gt;1.Ubuntu 10.04 සදහා 7Digital සමාගම සමඟ එක්ව Music Store පහසුකම&lt;br /&gt;ලබාදීමට මෙහිදී කටයුතු කර තිබෙනවා.මෙය නැවුම් අත්දැකීමක් වනු නිසැකයි.&lt;br /&gt;&lt;br /&gt;2.Nvidia ,Intel හා ATI වලට අවශ්‍ය Drivers මේ සමඟ එවීමට ඔවුන් තීරණය&lt;br /&gt;කොට තිබෙනවා.නමුත් ඒ සදහා ඔවුන් ලබාදෙනු ලබන Nvedia Drivers සමඟ&lt;br /&gt;3D පහසුකම් ලබාගැනීමේ හැකියාවක් නැහැ.ඒ සදහා ඔබ විසින්&lt;br /&gt;official NVidia driver ස්ථාපනය කරගත යුතුයි.&lt;br /&gt;&lt;br /&gt;3.හැමදාම වගේ මෙවරත් Boot හා Shut down වීමට ගතවන කාලය අඩු කර&lt;br /&gt;ගැනීමට මොවුන් කටයුතු කර තිබෙනවා.&lt;br /&gt;&lt;br /&gt;4.මේ සමගම Software Center එකෙහිද වෙනස්කම් කීපයක් දක්නට&lt;br /&gt;ලැබෙනවා.ඒ සදහා PPA views හා 'Featured' category එක් කර තිබෙනවා.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mUx17Avykm8/S4dLdSTDQ6I/AAAAAAAAAik/VL7gUkk0IIE/s1600-h/Selection_013_thumb%5B3%5D.png"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 326px; height: 150px;" src="http://2.bp.blogspot.com/_mUx17Avykm8/S4dLdSTDQ6I/AAAAAAAAAik/VL7gUkk0IIE/s400/Selection_013_thumb%5B3%5D.png" alt="" id="BLOGGER_PHOTO_ID_5442401641200567202" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;5.මෙහි ඇති විශේෂ වෙනස් කමක් විදිහට Notification Area එකෙහි සිදුකර&lt;br /&gt;ඇති වෙනස්කම් සැලකීමට පුලුවන්.එහිදී දී ඇති entry box මගින් ඔබගේ&lt;br /&gt;Twitter ගිණුමෙහි ඇති status යාවත්කාලීන කිරීමේ හැකියාව ලබාදී තිබේනවා.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mUx17Avykm8/S4dLomwmvQI/AAAAAAAAAis/TvO06hXYOSo/s1600-h/twitter_thumb%5B14%5D.jpg"&gt;&lt;img style="display: block; margin: 0px auto 10px; text-align: center; cursor: pointer; width: 262px; height: 281px;" src="http://2.bp.blogspot.com/_mUx17Avykm8/S4dLomwmvQI/AAAAAAAAAis/TvO06hXYOSo/s400/twitter_thumb%5B14%5D.jpg" alt="" id="BLOGGER_PHOTO_ID_5442401835671796994" border="0" /&gt;&lt;/a&gt;මෙම නිකුතුවත් සමඟම සියලුම latest bug fixes, security updates,&lt;br /&gt;application revisions සහ kernel updates ඇතුලත් කර තිබේ.මෙය&lt;br /&gt;බාගත කර ගැනීම සදහා.&lt;a href="http://www.ubuntu.com/testing/lucid/alpha3"&gt;http://www.ubuntu.com/testing/lucid/alpha3&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-5957476830906305983?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/5957476830906305983/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=5957476830906305983' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/5957476830906305983'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/5957476830906305983'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2010/02/ubuntu-1004-3-lucid.html' title='Ubuntu 10.04  හි 3 වන ඇල්ෆා(Lucid) නිකුතුව දැන් ලබාගත හැක.'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_mUx17Avykm8/S4dLdSTDQ6I/AAAAAAAAAik/VL7gUkk0IIE/s72-c/Selection_013_thumb%5B3%5D.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-6903360533309678275</id><published>2010-02-17T22:54:00.006+05:30</published><updated>2010-02-17T23:18:59.111+05:30</updated><title type='text'>Synergy සමග FUN වැඩක් ..</title><content type='html'>&lt;div style="text-align: justify;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_mUx17Avykm8/S3wofNledNI/AAAAAAAAAhQ/Wt4K5Udja8Q/s1600-h/share_logo.gif"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 216px; height: 77px;" src="http://1.bp.blogspot.com/_mUx17Avykm8/S3wofNledNI/AAAAAAAAAhQ/Wt4K5Udja8Q/s400/share_logo.gif" alt="" id="BLOGGER_PHOTO_ID_5439266966644618450" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;නියම ගජමැටික්ස් එකක් අහම්බෙන් හම්බවුනා. වැඩේ ටිකක් fun වගෙ&lt;br /&gt;ඒ හන්දා කට්ටියටම කියන්න ඕන කියල හිතුනා.&lt;a href="http://synergy2.sourceforge.net/"&gt;synergy &lt;/a&gt;කියන්නෙ&lt;br /&gt;තමන්ගේ පරිගණකය සහ ඒ හා සම්බන්ධ කරගත හැකි අනෙකුත් පරිගණක&lt;br /&gt;එකම පරිගණකයක් ආකාරයෙන් සකස්කරගත හැකි ආකාරයේ මෘදුකාංගයක්.මෙහිදී ඔබගේ පරිගණකය තුල එකිනෙකට වෙනස් මෙහෙයුම් පද්ධති තිබුනත් ගැටලුවක් වන්නේ නැහැ.මෙන්න මෙ පහත තියන ඕනම මෙහෙයුම් පද්ධතියක මේක වැඩ.හැබැයි සමහර ඒවගේ මේක සම්පුර්ණයෙන්ම වැඩ නෑ. නමුත් ඔවුන් ඒවා සම්පුර්ණ කරන්න මේ දවස්වල වැඩ කරමින්&lt;br /&gt;යනවා කියලා ඔවුන්ගෙ &lt;a href="http://synergy2.sourceforge.net/"&gt;web site&lt;/a&gt; එකෙහි සඳහන් වෙනවා.&lt;br /&gt;&lt;br /&gt;* Microsoft Windows 95, Windows 98, Windows Me (the Windows 95 family)&lt;br /&gt;* Microsoft Windows NT, Windows 2000, Windows XP (the Windows NT family)&lt;br /&gt;* Mac OS X 10.2 or higher&lt;br /&gt;* Unix&lt;br /&gt;     o X Windows version 11 revision 4 or up&lt;br /&gt;     o XTEST extension&lt;br /&gt;       (use "xdpyinfo | grep XTEST" to check for XTEST)&lt;br /&gt;&lt;br /&gt;මෙහිදී ඔබට පහත රූප ආකාරයට  mosue එක හා keyboard ඔබගේ පරිගණකය සහ  ඒ හා සම්බන්ධ පරිගණක පද්ධති අතර හැසිරවිය හැකියි එමෙන්ම ඔබට ඕනෑම තැනක copy හො cut කරන දෙයක් පද්ධතියෙහි ඕනෑම&lt;br /&gt;තැනක past කල හැකියි. මෙහිදී පද්ධතියේ වෙන වෙනමම ඇති clipboards එකක් ලෙස ක්‍රියා කිරීමයි.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mUx17Avykm8/S3wq8U8eTeI/AAAAAAAAAhg/k7hCdP8HLA0/s1600-h/warp.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 389px; height: 175px;" src="http://synergy2.sourceforge.net/images/warp.gif" alt="" id="BLOGGER_PHOTO_ID_5439269665859587554" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;තවද ඔබට මෙහිදී මුලු පද්ධතියටම එක විට වැඩ කිරීමට හැකි screen server එකක් වුවත් යෙදීමේ හැකියාව ලැබී තිබෙනවා. ඔබ ඔබගේ වැඩ කටයුතු සදහා පරිගණක කිහිපයක් යොදාගන්නවනම් මෙය ඔබට කදිම විසදුමකි.ඔබත් මෙය පිලිබදව අත් හදා බලන්න.මෙ පිලිබදව වැඩි විස්තර &lt;a href="http://synergy2.sourceforge.net/"&gt;මෙම ස්ථානයෙන්&lt;/a&gt; ලබාගත හැකියි.මෙය අත් හදා බලා ඒ පිලිබදව අදහස් මමත් සමග බෙදා හදා ගන්නා ලෙස ඉල්ලා සිටිනවා.&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;/div&gt;&lt;div style="text-align: justify;" id="refHTML"&gt;&lt;/div&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-6903360533309678275?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/6903360533309678275/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=6903360533309678275' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/6903360533309678275'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/6903360533309678275'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2010/02/synergy-fun.html' title='Synergy සමග FUN වැඩක් ..'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_mUx17Avykm8/S3wofNledNI/AAAAAAAAAhQ/Wt4K5Udja8Q/s72-c/share_logo.gif' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-7351887522290675582</id><published>2010-02-12T23:11:00.007+05:30</published><updated>2010-02-12T23:21:57.926+05:30</updated><title type='text'>Frameworks කුමක් සඳහාද?</title><content type='html'>&lt;div style="text-align: justify;"&gt;Frameworks කුමකටදැයි කතා කිරිමට පෙර Framework එකක් කියන්නෙ  කුමක්දැයි අපි හඳුනාගෙන ඉදිමු.පරිගණකයක් යනු සරලවම ගත් කල ඉලෙක්ට්‍රොනික කොටස් වලින් නිර්මාණය වුවකි.එමඟින් යම්කිසි වැඩක් කරගැනීමට සහය වන්නේ එය මත ක්‍රියාකාරි වන මෘදුකාංග මඟිනි.පරිගණක භාවිතයට පැමිණි මුල්&lt;br /&gt;කාලයේ එහි පාවිච්චියට ගැනුනෙ ඉතාමත් මූලික මට්ටමේ තිබු මෘදුකාංගය.එමඟින් කර ගත හැකි වු වැඩකටයුතු&lt;br /&gt;ප්‍රමාණය ඉතාමත් ස්වල්පය.නමුත් Transistor සොයාගැනීමත් සමඟ දෘඩාංක තාක්ෂණය කෙටි කලක් තුල සිදුවු සීග්‍ර දියුණුවත් සමඟම ඒ හා සාපේක්ෂව මෘදුකාංග වලද සීග්‍ර දියුණුවක් සිදු විය.මුලින්ම Single User(එක් වරකට එක් පරිශීලකයෙකුට පමණක් පාවිච්චි කල හැකි ආකාරයේ )හෙයුම් පද්ධතිද පසුවMulti User(එක් වර කීපදෙනෙකුට පරිශිලනය කල හැකි ආකාරයේ )පරිගණක මෙහෙයුම් පද්ධතිද පැමිණ ඇත.මේ අවදියේ මීට සමාන්තරව නොයෙකුත් ව්‍යාපාර හා අනෙකුත් සෑම ක්ශේත්‍රයකටම පාහේ පරිගණක යොදා ගැනීමට&lt;br /&gt;පටන්ගැණුනි.මේ සමඟම මෘදුකාංග නිශ්පාදනයද කර්මාන්තයක් ලෙස ලෝකය පුරා ව්‍යාප්ත වීමට පටන් ගැණිනි. මුල් කාලයේදී  assembly වැනි Low Level පරිගණක භාෂාවන් යොදා ගෙන මෘකාංග නිපද වීමටද මීළගට C,Java,.Net වැනි High Level භාෂාවන්  යොදා ගැනීමද ආරම්භ විය.මෙසේ Low Levelපරිගණක භාෂාවක සිට High Level පරිගණක භාෂාවන් නිපදවා ඒව යොද ගැනිමට හේතු වුයේ පරිගණක වැඩසටහන් නිපදවිමට ගතවන කාලය හා ඒ සඳහා දැරීමට සිදුවන පරිශ්‍රමය ඉහලවිමය.මෙය පහත රූපය මඟින් පැහැදිලිකර ගත හැක.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mUx17Avykm8/S3WUD5LzhQI/AAAAAAAAAhI/iKDsJdhUZXg/s1600-h/framwork.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px; height: 221px;" src="http://2.bp.blogspot.com/_mUx17Avykm8/S3WUD5LzhQI/AAAAAAAAAhI/iKDsJdhUZXg/s400/framwork.jpg" alt="" id="BLOGGER_PHOTO_ID_5437414919730595074" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: justify;"&gt;මෙම රූපයේ දැක්වෙන්නේ කාලයත් සමඟ දරන්නට සිදුවන පරිශ්‍රමයේ(effort)  විකාශණයයි.මෙහිදී රූපයේ දැක්වෙන ආකාරයට Framework යන සංකල්පය ඉදිරිපත්වීමට මුලික හේතුව වී ඇත්තේ මෘදුකාංග නිෂ්පාදනයේදී දැරීමට සිදුවන පරිශ්‍රමයයි.මෙහිදි ඉහත සඳහන් කල ආකාරයට high level  පරිගණක භාශාවන් යොදාගෙන ස්ංවර්දනය කර ඇති Framwork විශාල සංඛ්‍යාවක් මේ වනවිට දක්නට ලැබේ.මේවා පොදු පවිච්චිය සඳහා යොදා ගන්න එවාද(&lt;a href="http://struts.apache.org/"&gt;Struts&lt;/a&gt;,&lt;a href="http://www.springsource.org/"&gt;Spring&lt;/a&gt;,&lt;span id="main" style="visibility: visible;"&gt;&lt;span id="search" style="visibility: visible;"&gt;&lt;a href="https://www.hibernate.org/"&gt;&lt;em&gt;Hibernate&lt;/em&gt;&lt;/a&gt; &lt;/span&gt;&lt;/span&gt;) වැනි ඒවා මෙන්ම තමාගේ Framworks මෘදුකාංග කර්මාන්තයේ යෙදෙන මෘදුකාංග නිපදවන ආයතන විසින්ද නිපදවාගෙන ඇත.(SAP,IFS) මෙහිදි ඔවුන් විශේෂයෙන්ම අපේක්ෂා කරනුයේ  ඔවුන්ගෙ පහසුවයි.මෙහිදී පහසුව ලෙස සරලව හැදින්නුවත් එමඟින් ඔවුන් බොහො දේ බලාපොරොත්තුවේ.උදාහරණයක් ලෙස දැනට බහුලවම භාවිත වන Framworks යොදා ගැනිමෙන් බොහොවිට බලපොරොත්තු වන්නේ තමන් එය යොදාගෙන සංවර්දනය කරනු ලබන මෘදුකාංගය ඉහල ගුණාත්මක බාවයකින් යුතුව නිපදවාගත හැකිවීමයි.මීට හේතුවන්නේ මෙම සංවර්දනය කිරීමේදී ඒ සදහා යොදාගන්නා නිවරදි තාක්ෂණික යෙදීම් මේ සමගම අපගේ මෘදුකාංග සදහාද යොදාගැනීමට හැකීවීමයි.උදාහරණයක් ලෙස &lt;a href="http://www.springsource.org/"&gt;Spring framwork&lt;/a&gt; එක සංවර්දනය කිරීමේදී එහි තාක්ෂණික පදනම ලෙස යොදාගෙන ඇත්තේ Factory නැමති Design pattern එකයි. එය අපගේ මෘදුකාංග සදහා නිවරදි ආකාරයට යොදාගතහොත් අපට එහි ඇති යම් යම් ගුණාංග අපගේ මෘදුකාංග සදහාද ආරුඩකරගත හැකිය.බොහෝ විට  මේවා භාවිතාකිරීමේදී ලැබෙන වාසි ගැන කතාකලත් එමගින් ලැබේන අවාසිවලින්ද අඩුවක් නැත.බොහෝ විට මෘදුකාංග නිපදවන්නා නිෂ්ශිත රාමුවකට කොටු කිරීම මගින් නව ආකාරයකට සිතීමට ඇති ඉඩ ඇහීරීයාම මෙහිදී දක්නට ලැබෙන ප්‍රදාන අඩුපාඩුවකි.මේමගින් ලැබෙන වාසි සහ අවසි පිලිබදව ඉදිරියේදී ප්‍රායෝගික ක්‍රියාකාරකම් සමගම කතාකරමු.  &lt;/div&gt;&lt;p style="text-align: justify;"&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;input id="jsProxy" onclick="jsCall();" type="hidden"&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;p style="text-align: justify;"&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;input id="jsProxy" onclick="jsCall();" type="hidden"&gt;&lt;/p&gt;&lt;div style="text-align: justify;"&gt; &lt;/div&gt;&lt;p style="text-align: justify;"&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input id="jsProxy" onclick="jsCall();" type="hidden"&gt;&lt;/p&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-7351887522290675582?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/7351887522290675582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=7351887522290675582' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/7351887522290675582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/7351887522290675582'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2010/02/frameworks.html' title='Frameworks කුමක් සඳහාද?'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_mUx17Avykm8/S3WUD5LzhQI/AAAAAAAAAhI/iKDsJdhUZXg/s72-c/framwork.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-7790714167605251255</id><published>2010-02-11T21:54:00.004+05:30</published><updated>2010-02-12T18:06:49.195+05:30</updated><title type='text'>Apple App's ලබාගැනීමේදී පරිස්සමෙන්..</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_mUx17Avykm8/S3QvrY6BBQI/AAAAAAAAAgk/SC505DgmiHw/s1600-h/SpyPhone_610x420.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px; height: 138px;" src="http://1.bp.blogspot.com/_mUx17Avykm8/S3QvrY6BBQI/AAAAAAAAAgk/SC505DgmiHw/s200/SpyPhone_610x420.png" alt="" id="BLOGGER_PHOTO_ID_5437023072609699074" border="0" /&gt;&lt;/a&gt;&lt;a href="http://www.apple.com/iphone/" mce_href="http://www.apple.com/iphone/"&gt;Apple iPhone&lt;/a&gt; හට මෘදුකාංග ලබාගැනීමට ඇති &lt;a href="http://www.apple.com/iphone/apps-for-iphone/" mce_href="http://www.apple.com/iphone/apps-for-iphone/"&gt;Apple's App Store&lt;/a&gt; හි සිට ලබාගන්නා මෘදුකාංග සමග ස්පයි හෝ වයිරස් බලපෑම් පැමිණීමේ අවදානමක් පවතින බව ස්විස්ටර්ලන්තය පර්යේෂකයෙක් පසුගියදා අනතුරු ඇඟවීය.ඇපල් සමාගම මගින් එම මෘදුකාංග සදහා සිදුකරනු ලබන පරීක්ෂාව ඒවා වැලැක්වීමට තරම් ප්‍රමාණවත් නොවේයැයි ඔහු පවසයි.පසුගියදා පැවති පද්ධති ආරක්ෂාව පිලිබදව පැවති සම්මන්ත්‍රනයක් වන &lt;a href="http://www.blackhat.com/html/bh-dc-10/bh-dc-10-home.html" mce_href="http://www.blackhat.com/html/bh-dc-10/bh-dc-10-home.html"&gt;Black Hat DC&lt;/a&gt; හිදී ඔහු එම  මෘදුකාංග මගින් ලබාගන්නා දත්ත වෙනත් ස්ථාන වල ඇති ස'වර් වලට යවන ආකාරය පිලිබදව පැහැදිලි කිරීමක් සිදු කරනු ලැබූවා.මෙය සනාථ කිරීම සදහා ඔහු විසින් ආදර්ශණයක්ද මෙහිදී ඉදිරිපත්කරනු ලැබූවා.මෙම පරීක්ෂකයා පවසන ආකාරයට මෙවැනි පරිගණක වැඩසටහන් මගින් පරිගණක පරිශිලකයන්ගේ බෙහෝ පෞද්ගලික දත්ත සොරාගත හැකියැයි පවසයි.එමෙන්ම ඔහු මෙය ප්‍රායෝගිකව පෙන්වනු ලැබුවා.මෙම කාරණාව නිසා තමන් ලබාගන්නා වැඩසටහන් පිලිබදව සැලකිලිමත්වන මෙන් අපි ඔබට මතක් කර දී තිබෙනවා.&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-7790714167605251255?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/7790714167605251255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=7790714167605251255' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/7790714167605251255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/7790714167605251255'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2010/02/apple-iphone-apples-app-store.html' title='Apple App&apos;s ලබාගැනීමේදී පරිස්සමෙන්..'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_mUx17Avykm8/S3QvrY6BBQI/AAAAAAAAAgk/SC505DgmiHw/s72-c/SpyPhone_610x420.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-1908228973157917600</id><published>2010-02-11T18:46:00.005+05:30</published><updated>2010-02-11T21:48:49.105+05:30</updated><title type='text'>ඉතා පහසුවෙන් තමන්ගේම ලිනක්ස් (Suse Linux)සංස්කරනයක් සකසගැනීම.</title><content type='html'>&lt;a href="http://susestudio.com/"&gt;Suse Studio&lt;/a&gt; මඟින් සලසා දෙන ඉතාමත් ප්‍රයෝජනවත් සිත් ඇඳ ගන්නා සුලු සේවාවක්  පිළිබඳව මේ ලිපිය තුල අන්තර්ගතය.ඇත්තේන්ම පරිගණකයක් භාවිත කරන බොහෝ දෙනෙකුගේ සිහිනයක් තමයි කවදා හෝ තමාගේම කියලා පරිගණක පද්ධතියක් සකසා ගැනිම.එය එතරම් ලෙහෙසි කටයුත්තක් නොවුණත් යම් පමණ මට්ටමකට හෝ ඔබගේ සිහිනය සැබෑ කරලීමට පහසුකම  &lt;a href="http://susestudio.com/"&gt;Suse Studio&lt;/a&gt; වෙතින් සලසා දී තිබේ.මෙමඟින් ඔබට ඔබ කැමති ආකාරයට  &lt;a href="http://susestudio.com/"&gt;Suse Linux&lt;/a&gt; පද්ධතිය වෙනස් කීරීම් වලට භාජනය කර තමාගේ&lt;br /&gt;මෙහෙයුම් පද්ධතියක් ලෙස භාගත කර ගැනීමේ පහසුකම  සපයා දී තිබේ. මෙවැනි වෙනස්කම් කර ගැනීමට බොහෝ මෘදුකාංග දැනටමත් තිබුණත් මෙහි ඇති විශේෂත්වය වන්නේ මෙය ඔබට &lt;a href="http://susestudio.com/"&gt;Suse Studio web site&lt;/a&gt; එක තුලම සිටම සිදුකර ගත හැකිවිමයි.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mUx17Avykm8/S3QEECeXckI/AAAAAAAAAf8/5sACZb5UzOg/s1600-h/suseStudio1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px; height: 88px;" src="http://2.bp.blogspot.com/_mUx17Avykm8/S3QEECeXckI/AAAAAAAAAf8/5sACZb5UzOg/s200/suseStudio1.jpg" alt="" id="BLOGGER_PHOTO_ID_5436975117573255746" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;මේ සඳහා ඔබ කළයුත්තේ ඔබ සඳහ User Account එකක් ආරම්භ කීරීම පමණි.මෙහිදී ඔබට Suse 11.2 හා 10 යන සංස්කරණ භාගත කරගැනිමට&lt;br /&gt;ඉඩ සලසා දී තිබේ.මේවා 32 bit ,64 bit ලෙසටත් එමෙන්ම KDE , GNOME සමඟත් ලබාගත හැක.මෙහිදී ඔබ කැමති අකාරයට කැමති මෘදුකාංග ඇතුලත් කර ගැනිම සිදුකර ගත හැක. එමෙන්ම තමාගේම Logo,Desktop,Login Screen ,KeyBoard layout,Language(සිංහල භාෂාවත් ඇතුලත්ව),Start-up,Start-up Program  මෙන්ම තමන්ට අවශ්‍යවන දත්ත අඩංගු file හෝ වෙනත් ඕනෑම දෙයක් මේ තුලට ඇතුලත් කිරීමේ හැකියාවත් ඔවුන් ලබාදී තිබෙනවා. මේ සියලු ක්‍රියා කිරිම සඳහා ඔවුන් අපට 15GB ඉඩ ප්‍රමාණයක් ලබාදි තිබේ.සියලු වෙනස් කිරිම් අවසානයේ අපට මෙය USB stick/Hard Disk image ,Live CD/DVD iso,VMware/VirtualBox(.vmdx),XEN Virtual Machine යන ඕනෑම ආකාරයකට භාගත කිරිමට හැකියාව තිබේ.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mUx17Avykm8/S3QET5NU5vI/AAAAAAAAAgE/rKx2Kp58wd8/s1600-h/suseStudio2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px; height: 89px;" src="http://2.bp.blogspot.com/_mUx17Avykm8/S3QET5NU5vI/AAAAAAAAAgE/rKx2Kp58wd8/s200/suseStudio2.jpg" alt="" id="BLOGGER_PHOTO_ID_5436975389963773682" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;මෙහි ඇති තවත් පහසුකමක් වන්නේ ඔබ සකසා ගත් &lt;a href="http://www.novell.com/linux/" mce_href="http://www.novell.com/linux/"&gt;Suse &lt;/a&gt;සංස්කරණය භාගත කර ගැනිමට ප්‍රථම එහි Test Drive එක තුල ඔබගේ සංස්කරණය අත් හදා බැලීමට  හැකිවීමයි.මේ සඳහා ඔබගේ පරිගණකයට Flash  ස්ථාපනය කර තිබිම අනිවාර්ය්‍යය.&lt;input id="gwProxy" type="hidden"&gt;&lt;!--Session data--&gt;&lt;input onclick="jsCall();" id="jsProxy" type="hidden"&gt;&lt;div id="refHTML"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-1908228973157917600?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/1908228973157917600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=1908228973157917600' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/1908228973157917600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/1908228973157917600'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2010/02/suse-linux.html' title='ඉතා පහසුවෙන් තමන්ගේම ලිනක්ස් (Suse Linux)සංස්කරනයක් සකසගැනීම.'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_mUx17Avykm8/S3QEECeXckI/AAAAAAAAAf8/5sACZb5UzOg/s72-c/suseStudio1.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-8588853448633309156</id><published>2010-02-01T22:49:00.003+05:30</published><updated>2010-02-01T23:00:22.646+05:30</updated><title type='text'>Ubuntu 10.04 LTS හි දෙවන ඇල්ෆා නිකුතුව</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_mUx17Avykm8/S2cN6JtniWI/AAAAAAAAAfc/Im4ABxmHWZg/s1600-h/ubuntu1004.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 195px;" src="http://1.bp.blogspot.com/_mUx17Avykm8/S2cN6JtniWI/AAAAAAAAAfc/Im4ABxmHWZg/s200/ubuntu1004.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5433326768136620386" /&gt;&lt;/a&gt;&lt;br /&gt;Ubuntu 10.04 LTS හි දෙවන ඇල්ෆා නිකුතුව Lucid Lynx කේත නාමය යටතේ 2010 පළමු මස 15 වන සිකුරාදා දින නිකුත්වුණි.මෙහි අවසාන ස්ථාවර සංස්කරණය 2010 අප්‍රේල් මස 29 වන දින නිකුත් කීරීමට නියමිතය.&lt;br /&gt;මෙම සංස්කරණය සමඟ GNOMEහි නවතම සංස්කරණයත් Kubuntu සමඟ KDE SC 4.4 RC 1 ඇතුලත්ව &lt;br /&gt;ඇත.එමෙන්ම මෙම දෙවන ඇල්ෆා සංස්කරණයෙහි Linux Kernel 2.6.32 ඇතුලත් වේ.මෙහි nVidia  Graphic Drivers සඳහා සපයා ඇති පහසුකම් තව දුරටත් වර්ධනය කර තිබේ.  &lt;br /&gt;මෙම සංස්කරණය පහත ඇති වෙබ් පුරුක් වලින් ඔබට බාගත හැක.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://cdimage.ubuntu.com/releases/lucid/alpha-2/"&gt;http://cdimage.ubuntu.com/releases/lucid/alpha-2/&lt;/a&gt; (Ubuntu Desktop and Server)&lt;br /&gt;&lt;a href="http://uec-images.ubuntu.com/releases/lucid/alpha-2/"&gt;http://uec-images.ubuntu.com/releases/lucid/alpha-2/&lt;/a&gt; (Ubuntu Server for UEC and EC2)&lt;br /&gt;&lt;a href="http://cdimage.ubuntu.com/ports/releases/lucid/alpha-2/"&gt;http://cdimage.ubuntu.com/ports/releases/lucid/alpha-2/&lt;/a&gt; (Ubuntu ARM)&lt;br /&gt;&lt;a href="http://cdimage.ubuntu.com/kubuntu/releases/lucid/alpha-2/"&gt;http://cdimage.ubuntu.com/kubuntu/releases/lucid/alpha-2/&lt;/a&gt; (Kubuntu Desktop and Netbook Remix)&lt;br /&gt;&lt;a href="http://cdimage.ubuntu.com/xubuntu/releases/lucid/alpha-2/"&gt;http://cdimage.ubuntu.com/xubuntu/releases/lucid/alpha-2/&lt;/a&gt; (Xubuntu)&lt;br /&gt;&lt;a href="http://cdimage.ubuntu.com/edubuntu/releases/lucid/alpha-2/"&gt;http://cdimage.ubuntu.com/edubuntu/releases/lucid/alpha-2/&lt;/a&gt; (Edubuntu)&lt;br /&gt;&lt;a href="http://cdimage.ubuntu.com/mythbuntu/releases/lucid/alpha-2/"&gt;http://cdimage.ubuntu.com/mythbuntu/releases/lucid/alpha-2/&lt;/a&gt; (Mythbuntu)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-8588853448633309156?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/8588853448633309156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=8588853448633309156' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/8588853448633309156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/8588853448633309156'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2010/02/ubuntu-1004-lts.html' title='Ubuntu 10.04 LTS හි දෙවන ඇල්ෆා නිකුතුව'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_mUx17Avykm8/S2cN6JtniWI/AAAAAAAAAfc/Im4ABxmHWZg/s72-c/ubuntu1004.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-571799746757507142</id><published>2010-02-01T22:46:00.002+05:30</published><updated>2010-02-01T22:48:57.828+05:30</updated><title type='text'>Sun සහ Oracle දෘඩාංග වෙලදපොලට</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_mUx17Avykm8/S2cM95g2jWI/AAAAAAAAAfU/mk63ojyEVA0/s1600-h/oraclesun.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 120px; height: 90px;" src="http://3.bp.blogspot.com/_mUx17Avykm8/S2cM95g2jWI/AAAAAAAAAfU/mk63ojyEVA0/s200/oraclesun.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5433325732995960162" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.oracle.com"&gt;Oracle &lt;/a&gt;සමාගම විසින් &lt;a href="http://www.sun.com"&gt;Sun Microsystems&lt;/a&gt; සමාගම මිලදී ගැනීමේ පුවත ඔබට මතක ඇති.මේ මිලදී ගැනීම සිදුවුවත් තවමත් මෙම සමාගම් දෙකම තමන් කරගෙන ආ වැඩ පිලිවල ඒ විදිහටම ඉදිරියටත් කරගෙන යන ආකාරය අපිට පසුගිය කාලේ දැකගන්නට ලැබුනා.ඔන්න දැන් අලුත්ම ආරන්චිය තමයි ඔවුන් දෘඩාංග වෙලදපලට පිවිසෙන්නට යනව කියන ආරන්චිය.මේ ගැන ඔවුන් 2009 යේ දෙසැම්බර් 27 වෙනිද ප්‍රකාශයට පත්කලා.මෙහි වටිනාකම ඩොලර් බිලියන 7 කට වැඩි බවයි ආරන්චිය.මෘදුකාංග ලොවේ දැවැන්ත සමාගම් දෙකක් එකතුව කරන්න යන මෙ වැඩේ සාර්තක අසාර්තක බාවය පිලිබදව තොරතුරු අපි ඉදිරියේදී ම්බට ඉදිරිපත් කිරීමට බලාපොරොත්තුවෙනවා.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-571799746757507142?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/571799746757507142/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=571799746757507142' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/571799746757507142'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/571799746757507142'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2010/02/sun-oracle.html' title='Sun සහ Oracle දෘඩාංග වෙලදපොලට'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_mUx17Avykm8/S2cM95g2jWI/AAAAAAAAAfU/mk63ojyEVA0/s72-c/oraclesun.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-8252108367165101650</id><published>2010-02-01T22:43:00.002+05:30</published><updated>2010-02-01T22:46:32.922+05:30</updated><title type='text'>Enterprice Applications සංවර්දනය කිරීම 2 කොටස(MVC).</title><content type='html'>මෙම ලිපියේ අන්තර්ගතය කලින් ලිපිය හා සබැදේ .කලින් ලිපියෙහි සදහන් කල පරිදි මෘදුකාංග නිර්මාණය සදහා බහුලව භාවිතාවන ක්‍රමවේදයක් පිලිබදව සරලව පැහැදිලි කර දීමට මෙම ලිපිය මගින් බලාපොරොත්තු වෙම්.මෙය සරලව MVC යනුවෙන් හැදින්විය&lt;br /&gt;&lt;br /&gt;හැක.තවදුරටත් සරල කලහොත් Model,View,Control යනුවෙන් වෙන්කර දැක්විය හැක.නමුත් මෙය පිලිබදව පැහැදිලි අවබොදයක් ලබාගැනීමට ප්‍රායෝගික පද්දතියක ක්‍රියාකාරිත්වය අනුසාරයෙන් පැහැදිලි කලහොත් එය වඩා සුදුසුයැයි සිතම්.එ සදහා මුලින්ම ප්‍රායෝගික පද්දතියක සිදුවන ක්‍රියාකාරීත්වය පිලිබදව සලකා බලමු.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_mUx17Avykm8/S2cMEPK1H_I/AAAAAAAAAfE/ReTDpRta7Hs/s1600-h/mvc1.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 50px;" src="http://3.bp.blogspot.com/_mUx17Avykm8/S2cMEPK1H_I/AAAAAAAAAfE/ReTDpRta7Hs/s200/mvc1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5433324742376759282" /&gt;&lt;/a&gt;&lt;br /&gt;ඉහත රූපයේ පද්ධතියක ක්‍රියාකාරිත්වය පිළිබඳව ඉතාම සරළ ආකාරයේ පැහැදිලි කිරීමකි.මෙය වැඩි දුර පැහැදිලි කිරිමට අවශ්‍ය නැතැයි සිතමි.&lt;br /&gt;මිළග රූපසටහනේ දැක්වෙන්නේ MVC පිළිබඳ සරළ පැහැදිළි කිරිමකි.මෙය පැහැදිලි කිරිමට කලියෙන් එහි ක්‍රියාකාරිත්වය පිළිබඳව උදාහරනයක් මඟින් තේරුම් ගැනීමට උත්සහ ගනිමු.අපි කවුරුත් භාවිතයට ගන්නා Calculator සලකා බලමු.මෙය තුලත් ක්‍රියාත්මක&lt;br /&gt;&lt;br /&gt;වන්නේ MVC Design Patter එකයි.මුලින්ම මෙය තුලට ඇතුලත් කරනු ලබන ගණනය කිරීම් එහි ඇති පාලකය(Contoller) මඟින් උචිත Models (Add / Subtract)වෙත යොමු කරනු ලබනවා.එම Models වලින් එම කාර්ය්‍යය ඉටු වු පසු එහි පිළිතුර යොමු වන්නේ LCD පුවරුව වෙතයි(View).එමඟින් එහි පිළිතුර අපට දර්ශනය කර ගත හැක. මෙම ක්‍රියාවලියේදී,&lt;br /&gt;&lt;br /&gt;(Add / Subtract)  වැනිදේ Models ------------ M&lt;br /&gt;LCD   පුවරුවඑක View ලෙසත්        ------------- V&lt;br /&gt;පාලකය Controller එක ලෙසත්      ------------- C&lt;br /&gt;&lt;br /&gt;ක්‍රියාකරනු ලබයි.    &lt;br /&gt;මෙම සරළ උදාහරණය මඟින් ඔබට MCV පිළිබඳව සරළ අවබෝධයක් ලැබෙන්නට ඇතැයි සිතමි.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_mUx17Avykm8/S2cMOd-EpTI/AAAAAAAAAfM/kQUVJBEBx6E/s1600-h/mvc2.jpg"&gt;&lt;img style="cursor:pointer; cursor:hand;width: 200px; height: 89px;" src="http://3.bp.blogspot.com/_mUx17Avykm8/S2cMOd-EpTI/AAAAAAAAAfM/kQUVJBEBx6E/s200/mvc2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5433324918148474162" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;ඉහත රූපසටහනෙන් දැක්වෙන්නේ MCV මෘදුකාංග පද්ධතියකට යොදා ගත හැකි ආකාරයයි.&lt;br /&gt;&lt;br /&gt;    * පරිශීලකයකු විසින් යම්කිසි කාර්ය්‍යක් කර ගැනිම සඳහා පද්ධතිය වෙත යොමු කරනු ලබන Request එකකි.මෙම Request එක ලබාගනු ලබන්නේ Control එක මඟිනි.&lt;br /&gt;    * සාමන්‍ය ජාවා පරිනණක භාෂාව යොදාගෙන දියුනු කරණු ලබන Web පද්දතියක Controller ලෙස ක්‍රියා කරනුයේ Servlet එකකි.එමඟින් ලබා ගන්නා Request එක  එම කාර්ය්‍යට අදාළ Models වෙත එමඟින් යොමු කරනු ලබයි.&lt;br /&gt;&lt;br /&gt;    * Model එක මඟින් ඊට අදාළ කාර්ය්‍යන් සිදුකරනු ලබයි.සමාන්‍යයෙන් පද්ධතියෙ Logic කොටස සිදුකරනු ලබන්නේ Model  කොටස මඟිනි.එම කාර්ය්‍ය සඳහා Database එකක සහය අවශ්‍ය නම් ඒ සඳහා සහය ගනු ලබන්නේද Model මඟිනි.Model කොටසවැඩිදියුනු කිරීම සදහා අපට  Spring,EJB වැනි තාක්ෂණයක් යොදාගත හැක.&lt;br /&gt;&lt;br /&gt;    * Model ය තුල ඊට අදාළ Logic කොටස ක්‍රියාත්මක වීමෙන් පසු එමඟින් ලබාගන්නා දත්ත මීළගට අවශ්‍ය වන්නේ පරිශිලකයාට දර්ශණය කීරිමයි.මේ සඳහා View කොටස උපයෝගි වෙයි.එම නිසා මීළගට View  සඳහා දත්ත යොමු කෙරේ.&lt;br /&gt;&lt;br /&gt;    * View කොටස වැඩිදිවුනු කිරීම සදහාද අපට Jsp,Struts වැනි තාක්ෂණයක් යොදාගත හැක.එමඟින් අවසාන ප්‍රතිඵ්ය පරිශීලකයාට දර්ශණය වීමට සලස්වයි.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;මෙම සරළ සිද්ධාන්තය බොහෝ විට මෘදුකාංග සංවර්ධනයේදි Design Patter එකක් ලෙස යොදා ගැනේ.නමුත් සමහර අවස්ථා වල MVC යොදා ගන්නවායි සිතා සිටියත් එය හරි හැටි යොදා නොගැනිමේ අවස්ථාද දුබල නොවේ.අපගේ මීළග ලිපියෙන් අපි මෙහි යෙදීම් පිළිබඳව ඉදිරිපත් කිරිමට බලාපොරොත්තු වෙමු.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-8252108367165101650?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/8252108367165101650/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=8252108367165101650' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/8252108367165101650'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/8252108367165101650'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2010/02/enterprice-applications-2-mvc.html' title='Enterprice Applications සංවර්දනය කිරීම 2 කොටස(MVC).'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_mUx17Avykm8/S2cMEPK1H_I/AAAAAAAAAfE/ReTDpRta7Hs/s72-c/mvc1.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-7098729489810329231</id><published>2010-02-01T22:41:00.001+05:30</published><updated>2010-02-01T22:43:12.883+05:30</updated><title type='text'>HTML වලින් එහා</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_mUx17Avykm8/S2cLm7R-fHI/AAAAAAAAAe8/EdJ8Xa9xjPo/s1600-h/enterprise_application.gif"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 197px;" src="http://3.bp.blogspot.com/_mUx17Avykm8/S2cLm7R-fHI/AAAAAAAAAe8/EdJ8Xa9xjPo/s200/enterprise_application.gif" border="0" alt=""id="BLOGGER_PHOTO_ID_5433324238821817458" /&gt;&lt;/a&gt;&lt;br /&gt;Web Application එකක් නිර්මාණය කිරීමට භාවිතා කල හැකි තාක්ෂණයන් බොහෝ ප්‍රමාණයක් දැනට&lt;br /&gt;පරිගණක ලෝකයේ දක්නට ලැබේ.මේ අතරින් ප්‍රධාන තැනක් ගන්නෙ JSP,PHP,ASP     &lt;br /&gt;වැනි භාෂාවන්ය.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;JSP(Java Server Page)&lt;/span&gt;&lt;br /&gt;මෙය Java පරිගණක භාෂාව සමඟ පැමිණෙන Web Applications  නිර්මාණය කීරිම සඳහා&lt;br /&gt;අද ලෝකයේ බොහෝ සෙයින් භාවිතා වන පරිගණක භාෂාවක්ය.මෙය Free මෘදුකාංග ගණයට&lt;br /&gt;ගැනෙන මෘදුකාංග වර්ගයක් ලෙස හැදින්වීමට පිළිවන.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ASP(Active Server Pages)&lt;/span&gt;&lt;br /&gt;මෙය සුප්‍රසිද්ධ Microsoft සමාගමේ මෘදුකාංග නිර්මාණය  සඳහා නිපදවන ලද මෘදුකාංගයකි.&lt;br /&gt;මෙය Net භාෂාවන් ඕනෑම එකක් සමඟම භාවිතාවට ගතහැක.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;PHP&lt;/span&gt;&lt;br /&gt;දැනට ලෝකයේ වැඩිපුරමWeb Applications නිර්මාණය කිරිම සඳහා මෙම භාෂාව භාවිතා&lt;br /&gt;වේ.&lt;br /&gt;&lt;br /&gt;ඉහත සඳහන් කල පරිගණක භාෂාවන්ට අමතරව තවත් විශාල පරිගණක භාෂාවන් ප්‍රමාණයක් මෙම කාර්යයන් ඉටු කරගැනීම සඳහා පවති.ඒවා පිළිබදව වැඩි දුර පසුවට කතා කරමු.මෙම ලිපි පෙළ මගින් Enterprise Application Development පිලිබඳව තාක්ෂණික කරුණු පරිගණක භාෂාව  අනුසාරයෙන් ඉදිරිපත් කිරිමට බලපොරොත්තු වෙමි.&lt;br /&gt;මා ඉහත සදහන් කල එක එක පරිගණක භෂාවන් සදහා සුවිශේෂ වු ලක්ෂණ දක්නට ඇත.නමුත් මෙ සියලු භාෂාවන් හා තාක්ෂණයන් යොදාගෙන වැඩිදියුණු කරණ පරිගණක පද්දති වල සංෂිප්ත නිර්මාණ සැලසුම ගත්විට ඒවාගේ විශාල වෙනස් කමක් දක්නට නොලැබේ.මෙම පද්ධති වල නිර්මාණ සැලසුම් සකස් කිරීම සදහා ව්ශාල ක්‍රමවේදයන් රැසක් දක්නට ලැබේ. නමුත් ඒ අතරින් බහුලවම භාවිතාවන ක්‍රමවෙදයක් තුලින් මෙ කාර්ය සදහා අතගැසීමට සුදුසුයැයි සිතමි.මෙ පිලිබදව මීලග ලිපියෙහි වැඩිදුර කරුණු පැහැදිලි කිරීමට බලාපොරොත්තු වෙමි.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-7098729489810329231?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/7098729489810329231/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=7098729489810329231' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/7098729489810329231'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/7098729489810329231'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2010/02/html.html' title='HTML වලින් එහා'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_mUx17Avykm8/S2cLm7R-fHI/AAAAAAAAAe8/EdJ8Xa9xjPo/s72-c/enterprise_application.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-80767687724498784</id><published>2010-02-01T22:39:00.001+05:30</published><updated>2010-02-01T22:41:00.243+05:30</updated><title type='text'>Google සමාගම චීනයෙන් ඉවතට...</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_mUx17Avykm8/S2cLFvNhCkI/AAAAAAAAAe0/2H3G4-rzh7M/s1600-h/chigoogle.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 132px;" src="http://1.bp.blogspot.com/_mUx17Avykm8/S2cLFvNhCkI/AAAAAAAAAe0/2H3G4-rzh7M/s200/chigoogle.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5433323668646201922" /&gt;&lt;/a&gt;&lt;br /&gt;Google තම සියලුම මෙහෙයුම් කටයුතු පසුගියදා වලින් ඉවත් කරගන්නා ලදි. www.google.cn නමින් සමාගම 2006 දී චීන රජයත් සමග එමගින් ලබාදෙන දත්ත පිලිබද එකගතාවයකට එලබීමෙන් අනතුරුව පිහිටුවනු ලැබීය මක්නිසාත යත් තමන්ගේ රටට අන්තර්ජාලය හරහා පැමිනෙන සියලු තොරතුරු කෙරෙහි චීන රජය දැඩ් අවදානයක් යොමු කරනු ලබයි.මෙම නිසා චීන රජය මගින් තම රටට පැමිනෙන අවශ්‍යය නොවන තොරතුරු රටට ඇතුලුවීම වැලැක්වීම සදහා වීශාල අන්තර්ජාල පෙරහනයක් බාවිතා කරනු ලමයි.කෙසේ වෙතත් ලොකයේ පරිෂීලකයන් වැඩිපුරම පාවිචි කරනු ලබන ප්‍රදාන සෙවුම් යන්ත්‍රය ගුගල් වුවත් එයට චීනයේදී හිමිව තිබුනේ තෙවන ස්තානයයි.චීනයේ අංක 1 සෙවුම් යන්ත්‍රය වන්නේ &lt;a href="http://www.baidu.com/"&gt;baidu &lt;/a&gt;යි.ගුගල් සමාගමේ ප්‍රදාන නීති උපදේශක සමාගමෙ නිල බ්ලොග් අඩවියේ පෙන්වාදෙන ආකාරයට මේ සදහා පාදකවී ඇත්තේ ගුගල් සමාගම මගින් පවත්වාගෙන යනු ලබන Email සේවාව වන Gmail පද්දතියට චීන හැකර් වරුන්ගෙන් එල්ලවු හැකර් ප්‍රහාර කීපයකි.මෙම ප්‍රහාර වල මුලික අරමුන වී ඇත්තේ චීනයේ මානව හිමිකම් ක්‍රියාකාරීන් කීහිපදේනෙකුගේ Gmail account තුලට අනවසරයෙන් ඇතුල් වීමටයි.ගුගල් සමාගම පවසන ආකාරයට එයට හැකියාව ලැබී නැතත් ෆිෂින් හා මැල්වෙයා පරිනණකයට ඇතුල් කිරීම මගින් සමර Account තුලට ඔවුන් ඇතුල්වී ඇති බවයි.නමුත් මෙහිදී චීනයේ අංක 1 සෙවුම් යන්ත්‍රය වන &lt;a href="http://www.baidu.com/"&gt;baidu &lt;/a&gt;හි ප්‍රදාන තාක්ෂණික නිලදාරියා පවසන්නේ සමාගමේ මෙම තීරණයට මුල් වී ඇත්තේ හැකර් ප්‍රහාරය නොව මුල්‍යය ගැටලුවක් බවයි.ඔහු පවසන ආකාරයට google සමාගමට ඔවුන් බලාපොරොත්තු වු ආකාරයට චීනයේ සෙවුම් යන්ත්‍ර වෙලද පොල අල්ලාගැනීමට නොහැකි වීම මෙයට මුලික හෙතුව බවයි.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-80767687724498784?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/80767687724498784/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=80767687724498784' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/80767687724498784'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/80767687724498784'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2010/02/google.html' title='Google සමාගම චීනයෙන් ඉවතට...'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_mUx17Avykm8/S2cLFvNhCkI/AAAAAAAAAe0/2H3G4-rzh7M/s72-c/chigoogle.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-1147114182838201308</id><published>2010-02-01T22:37:00.001+05:30</published><updated>2010-02-01T22:39:00.418+05:30</updated><title type='text'>ඇපල් සමාගමේ නවතම හදුන්වාදීම Apple iPad</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mUx17Avykm8/S2cKmeG3bSI/AAAAAAAAAes/6tUiuWM01Bo/s1600-h/ipad-420x0.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 148px; height: 200px;" src="http://2.bp.blogspot.com/_mUx17Avykm8/S2cKmeG3bSI/AAAAAAAAAes/6tUiuWM01Bo/s200/ipad-420x0.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5433323131478961442" /&gt;&lt;/a&gt;&lt;br /&gt;ඇපල් සමාගම පසුගියදා ඔවුන්ගේ නවතම නිර්මාණය වන Apple iPad සිය පාරිබොගික ජනතාව වෙනුවෙන් ඉදිරිපත් කරණු ලැබුවා.මෙය විශේෂයෙන්ම අන්තර්ජාලයේ සැරිසැරීම සදහාම නිර්මාණය වුවක් බවට සමාගමේ ප්‍රදාන විදායක නිලදාරියාවන Steve Jobs පැවසුවා.මෙහිදී ඔවුන් අන්තර්ජාල පරිෂීලකයින් සදහා බොහොම ලෙහෙසියෙන් එම කටයුතු කරගෙන යාම සදහා විශේෂ ගුණාංග රාෂියක් මෙයට එකතුකර තිබෙනවා.මෙහිදී විශේෂම ලක්ෂණය වන්නේ හි Apple iPhone හි බාවිතාකල සියලුම මෘදුකාංග මෙයත් සමග භාවිතා කල හැකි වීමයි.දැනට වෙලදපලේ මෙය 499$ කට 2010 ජනවාරි මස සිට ලබාගැනීමේ හැකියාව තිබෙනවා.මේ සදහා වැඩි දුර විස්තර සදහා &lt;a href="http://www.apple.com/ipad/"&gt;http://www.apple.com/ipad/&lt;/a&gt; වෙත පිවිසෙන්න.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-1147114182838201308?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/1147114182838201308/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=1147114182838201308' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/1147114182838201308'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/1147114182838201308'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2010/02/apple-ipad.html' title='ඇපල් සමාගමේ නවතම හදුන්වාදීම Apple iPad'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_mUx17Avykm8/S2cKmeG3bSI/AAAAAAAAAes/6tUiuWM01Bo/s72-c/ipad-420x0.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-1035925963280204981</id><published>2009-11-10T18:28:00.008+05:30</published><updated>2010-01-21T22:04:10.322+05:30</updated><title type='text'>Cool Script</title><content type='html'>හදිසියේ පොඩි java script එකක් හම්බුනා ඔන්න ඒක හැමොටම බලාගන්නත් එක්ක මම මෙක දාන්න හිතුවා.මේක එචර දෙයක් නොවුනට පොඩ්ඩක් හිතුවොත් ගොඩක් දේවල් වලට පාවිච්චි කරන්න පුලුවන්.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;javascript: document.body.contentEditable = 'true'; document.designMode = 'on'; void 0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;1.මුලින්ම තමන්ට කැමති web site එකකට යන්න.ඔන්න මම නම් මගෙ කැමතිම එකට ගි‍යා.&lt;br /&gt;2. 2 නුව මම කලින් සදහන් කල java script එක රූපයේ ආකාරයට  address bar එක මත සටහන් කර Enter කරන්න.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_mUx17Avykm8/Svloz39e9vI/AAAAAAAAAao/iZoT1EkR468/s1600-h/pic1.jpg"&gt;&lt;img style="cursor: pointer; width: 200px; height: 112px;" src="http://1.bp.blogspot.com/_mUx17Avykm8/Svloz39e9vI/AAAAAAAAAao/iZoT1EkR468/s200/pic1.jpg" alt="" id="BLOGGER_PHOTO_ID_5402464468412069618" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;3.ඉන් පසුව ඔබට web පිටුව මත ඇති රූප හො වෙන යම් ඔනැම දෙයක් තමන්ට ඔන ආකාරයට වෙනස් කර ගත හැක.පහත රූපයේ ආකාරයට.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_mUx17Avykm8/SvlpDDDPqgI/AAAAAAAAAaw/G29JQ_BTB7M/s1600-h/pic2.jpg"&gt;&lt;img style="cursor: pointer; width: 200px; height: 110px;" src="http://3.bp.blogspot.com/_mUx17Avykm8/SvlpDDDPqgI/AAAAAAAAAaw/G29JQ_BTB7M/s200/pic2.jpg" alt="" id="BLOGGER_PHOTO_ID_5402464729087060482" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4.මෙය නැවත save කිරීම මගින් ඔබට මෙම පිටුවේ අඩන්ගු css/java script ඇතුලු සියලුදේ සමගින් ලබාගත හැක.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-1035925963280204981?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/1035925963280204981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=1035925963280204981' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/1035925963280204981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/1035925963280204981'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2009/11/cool-script.html' title='Cool Script'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_mUx17Avykm8/Svloz39e9vI/AAAAAAAAAao/iZoT1EkR468/s72-c/pic1.jpg' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-5789076800637231896</id><published>2009-10-21T11:04:00.001+05:30</published><updated>2009-10-21T11:07:39.691+05:30</updated><title type='text'>How to genarate Unique ID in Java</title><content type='html'>&lt;span style="font-weight:bold;"&gt;Style 1 - UUID&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;import java.util.UUID;&lt;br /&gt;&lt;br /&gt;public class GenerateUUID {&lt;br /&gt;  &lt;br /&gt;  public static final void main(String... aArgs){&lt;br /&gt;    //generate random UUIDs&lt;br /&gt;    UUID idOne = UUID.randomUUID();&lt;br /&gt;    UUID idTwo = UUID.randomUUID();&lt;br /&gt;    log("UUID One: " + idOne);&lt;br /&gt;    log("UUID Two: " + idTwo);&lt;br /&gt;  }&lt;br /&gt;  &lt;br /&gt;  private static void log(Object aObject){&lt;br /&gt;    System.out.println( String.valueOf(aObject) );&lt;br /&gt;  }&lt;br /&gt;} &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Example run :&lt;br /&gt;&lt;br /&gt;&gt;java -cp . GenerateUUID&lt;br /&gt;UUID One: 067e6162-3b6f-4ae2-a171-2470b63dff00 &lt;br /&gt;UUID Two: 54947df8-0e9e-4471-a2f9-9af509fb5889&lt;br /&gt;&lt;br /&gt;If Java 5 is not available, then there are other more laborious ways to generate unique ids&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Style 2 - SecureRandom and MessageDigest&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;import java.security.SecureRandom;&lt;br /&gt;import java.security.MessageDigest;&lt;br /&gt;import java.security.NoSuchAlgorithmException;&lt;br /&gt;&lt;br /&gt;public class GenerateId {&lt;br /&gt;&lt;br /&gt;  public static void main (String... arguments) {&lt;br /&gt;    try {&lt;br /&gt;      //Initialize SecureRandom&lt;br /&gt;      //This is a lengthy operation, to be done only upon&lt;br /&gt;      //initialization of the application&lt;br /&gt;      SecureRandom prng = SecureRandom.getInstance("SHA1PRNG");&lt;br /&gt;&lt;br /&gt;      //generate a random number&lt;br /&gt;      String randomNum = new Integer( prng.nextInt() ).toString();&lt;br /&gt;&lt;br /&gt;      //get its digest&lt;br /&gt;      MessageDigest sha = MessageDigest.getInstance("SHA-1");&lt;br /&gt;      byte[] result =  sha.digest( randomNum.getBytes() );&lt;br /&gt;&lt;br /&gt;      System.out.println("Random number: " + randomNum);&lt;br /&gt;      System.out.println("Message digest: " + hexEncode(result) );&lt;br /&gt;    }&lt;br /&gt;    catch ( NoSuchAlgorithmException ex ) {&lt;br /&gt;      System.err.println(ex);&lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt;&lt;br /&gt;  /**&lt;br /&gt;  * The byte[] returned by MessageDigest does not have a nice&lt;br /&gt;  * textual representation, so some form of encoding is usually performed.&lt;br /&gt;  *&lt;br /&gt;  * This implementation follows the example of David Flanagan's book&lt;br /&gt;  * "Java In A Nutshell", and converts a byte array into a String&lt;br /&gt;  * of hex characters.&lt;br /&gt;  *&lt;br /&gt;  * Another popular alternative is to use a "Base64" encoding.&lt;br /&gt;  */&lt;br /&gt;  static private String hexEncode( byte[] aInput){&lt;br /&gt;    StringBuilder result = new StringBuilder();&lt;br /&gt;    char[] digits = {'0', '1', '2', '3', '4','5','6','7','8','9','a','b','c','d','e','f'};&lt;br /&gt;    for ( int idx = 0; idx &lt; aInput.length; ++idx) {&lt;br /&gt;      byte b = aInput[idx];&lt;br /&gt;      result.append( digits[ (b&amp;0xf0) &gt;&gt; 4 ] );&lt;br /&gt;      result.append( digits[ b&amp;0x0f] );&lt;br /&gt;    }&lt;br /&gt;    return result.toString();&lt;br /&gt;  }&lt;br /&gt;} &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Example run :&lt;br /&gt;&lt;br /&gt;&gt;java -cp . GenerateId&lt;br /&gt;Random number: -1103747470&lt;br /&gt;Message digest: c8fff94ba996411079d7114e698b53bac8f7b037 &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Style 3 - UID&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Finally, here is another method, using a java.rmi.server.UID. The Serializable identifiers generated by this class are unique on the host on which they are generated, provided that&lt;br /&gt;&lt;br /&gt;    * the host takes more than one millisecond to reboot&lt;br /&gt;    * the host's clock is never set to run backwards&lt;br /&gt;&lt;br /&gt;In order to construct a UID that is globally unique, simply pair a UID with an InetAddress.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;import java.rmi.server.UID;&lt;br /&gt;&lt;br /&gt;public class UniqueId {&lt;br /&gt;&lt;br /&gt;  /**&lt;br /&gt;  * Build and display some UID objects.&lt;br /&gt;  */&lt;br /&gt;  public static void main (String... arguments) {&lt;br /&gt;    for (int idx=0; idx&lt;10; ++idx){&lt;br /&gt;      UID userId = new UID();&lt;br /&gt;      System.out.println("User Id: " + userId);&lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt;} &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Example run :&lt;br /&gt;&lt;br /&gt;User Id: 3179c3:ec6e28a7ef:-8000&lt;br /&gt;User Id: 3179c3:ec6e28a7ef:-7fff&lt;br /&gt;User Id: 3179c3:ec6e28a7ef:-7ffe&lt;br /&gt;User Id: 3179c3:ec6e28a7ef:-7ffd&lt;br /&gt;User Id: 3179c3:ec6e28a7ef:-7ffc&lt;br /&gt;User Id: 3179c3:ec6e28a7ef:-7ffb&lt;br /&gt;User Id: 3179c3:ec6e28a7ef:-7ffa&lt;br /&gt;User Id: 3179c3:ec6e28a7ef:-7ff9&lt;br /&gt;User Id: 3179c3:ec6e28a7ef:-7ff8&lt;br /&gt;User Id: 3179c3:ec6e28a7ef:-7ff7&lt;br /&gt;&lt;br /&gt;Clearly, these are not secure identifiers - knowing one, it is easy to guess another.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-5789076800637231896?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/5789076800637231896/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=5789076800637231896' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/5789076800637231896'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/5789076800637231896'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2009/10/how-to-genarate-unique-id-in-java.html' title='How to genarate Unique ID in Java'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-4052550945276553316</id><published>2009-07-29T13:45:00.003+05:30</published><updated>2009-07-29T14:05:51.436+05:30</updated><title type='text'>How to Add User to SVN? කොහොමද SVN එකට පරිෂීලකයෙක් එකතු කරන්නෙ.?</title><content type='html'>Lot of open source and commercial projects are working on the  version control system like SVN,CVS.These days i was tried to configure CVS in my company local server(Linux-Fedora Core).For that purpose, i was searched lot of article about the CVS configuration but couldn't find any good article about "How to add user to SVN" but finally i did it completely.I write down it because it may be helpful to others.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 1.&lt;/span&gt;&lt;br /&gt;check your CVS folder&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;#echo $CVSROOT&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;step 2.&lt;/span&gt;&lt;br /&gt;It is possible to have cvs users which are not part of the OS (no local users). This is actually probably wanted too from the security point of view. Simply add a file named passwd (in the CVSROOT directory) containing the users login and password in the crypt format. This is can be done with the apache htpasswd tool.&lt;br /&gt;Note: This passwd file is the only file which has to be edited directly in the CVSROOT directory. Also it won't be checked out. More info with htpasswd --help&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;# htpasswd -cb passwd prabath password1  # -c creates the file&lt;br /&gt;# htpasswd -b passwd chandima password2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Step 3.&lt;/span&gt;&lt;br /&gt;First check who is initiate you're SVN server.Ex:- cvs  &lt;br /&gt;Now add :cvs at the end of each line to tell the cvs server to change the user to cvs (or whatever your cvs server is running under). It looks like this:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;# cat passwd&lt;br /&gt;prabath:xsFjhU22u8Fuo:cvs&lt;br /&gt;chandima:vnefJOsnnvToM:cvs&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;setp4.&lt;/span&gt;&lt;br /&gt;change passwd file ownership to the svn user.&lt;br /&gt;ex:-&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;chown cvs /usr/local/cvsroot&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;step5.&lt;/span&gt;&lt;br /&gt;Test the login as normal user (for example here me)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;# cvs -d :pserver:prabath@192.168.50.254:/usr/local/cvs login&lt;br /&gt;Logging in to :pserver:prabath@192.168.50.254:2401/usr/local/cvs&lt;br /&gt;CVS password:&lt;/span&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/6914296902264504048-4052550945276553316?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/4052550945276553316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=4052550945276553316' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4052550945276553316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4052550945276553316'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2009/07/how-to-add-user-to-svn-svn.html' title='How to Add User to SVN? කොහොමද SVN එකට පරිෂීලකයෙක් එකතු කරන්නෙ.?'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-1006695537137401046</id><published>2009-07-23T18:06:00.002+05:30</published><updated>2009-07-23T18:09:55.456+05:30</updated><title type='text'>ගුගල් CodeJam</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mUx17Avykm8/SmhaCizNSQI/AAAAAAAAAZg/qNB9XoLQNGU/s1600-h/code-jam.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px; height: 200px;" src="http://2.bp.blogspot.com/_mUx17Avykm8/SmhaCizNSQI/AAAAAAAAAZg/qNB9XoLQNGU/s200/code-jam.jpg" alt="" id="BLOGGER_PHOTO_ID_5361634356132399362" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;ගුගල් සමාගම විසින් අවුරුදු පතා සිදු කරණු ලබන අංගයක් වන ගුගල් codejam තරග මාලාවේ 2009 අවුරුද්ද සදහා වන තරගය අගෝස්තු මස ආරම්බ කිරීමට නියමිතයි.මෙහිදී ගුගල් විසින් සපයනු ලබන සන්කීර්ණ ගැටලු සදහා පිලිතුරු පරිනණක භාෂාවකින් ලිවීමට ඔබට සිදුවනු ඇත.මෙගැන වැඩි විස්තර දැන ගැනීමට කැමතිනම් ඒ සදහා &lt;a href="http://code.google.com/codejam"&gt;මෙතනින් පිවිසෙන්න&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-1006695537137401046?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/1006695537137401046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=1006695537137401046' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/1006695537137401046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/1006695537137401046'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2009/07/codejam.html' title='ගුගල් CodeJam'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_mUx17Avykm8/SmhaCizNSQI/AAAAAAAAAZg/qNB9XoLQNGU/s72-c/code-jam.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-4303775295562863995</id><published>2009-07-23T16:29:00.011+05:30</published><updated>2009-07-24T10:44:25.253+05:30</updated><title type='text'>Shell Script එකක් ලියා ගැනීමේදී සැලකිලිමත්වියයුතු මුලික කරුණු.</title><content type='html'>&lt;span style="font-size:90%;"&gt;Script ඒකක් ලිවීමේදී ඔබට VI එඩිටරය හො &lt;/span&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"  style="font-size:90%;"&gt;gedit&lt;/span&gt;&lt;span style="font-size:90%;"&gt; වැනි එඩිටරයක් වැනි ඔනෑම text එඩිටරයක් මේ සදහා පාවිචියට ගත හැක.එ ඔනෑම editor මගින් ඔබට අවශ්‍ය script එක ලියා එය .sh යන file extension යටතේ save කර ගත යුතුයි.මේහිදී .sh යන extension එක යොදා ගනුයේ shell script යන වචනයේ කෙටි යෙදුමක් ලෙසයි.උදාහරණයක් ලෙස පහත සදහන් script එක ඔබගේ ඔනෑම එඩිටර් එකක් මත සටහන් කර ගන්න&lt;/span&gt;&lt;br /&gt;&lt;code style="font-weight: bold;"&gt;&lt;br /&gt;#&lt;br /&gt;# My first shell script&lt;br /&gt;#&lt;br /&gt;clear&lt;br /&gt;echo "Hell World!!"&lt;br /&gt;&lt;/code&gt;&lt;span style="font-size:100%;"&gt;&lt;code&gt;&lt;br /&gt;&lt;span style="font-size:100%;"&gt;මෙහිදී කාටතත් සුපුරුදු පරිදි hello world උදාහරණයක් මා විසින් දී ඇත.සටහන්කරගත්තාට පසුව එය ඔබට කැමති නමක් යොදා අගට .sh එක extension යොදා save කර ගන්න.උදාහරණයක් ලෙස &lt;/span&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"  style="font-size:100%;"&gt;helloworld&lt;/span&gt;&lt;span style="font-size:100%;"&gt;.sh&lt;/span&gt;&lt;span style="font-size:100%;"&gt;  .&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;code&gt;&lt;br /&gt;                            &lt;/code&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;code&gt;මෙහිදී මීලගට ඔබ ලියාගත් script එක Linux පද්දතියක් තුල run වීමට අවශ්‍ය permission නොහොත් අවසර සැකසිය යුතුය.මේ සදහා ඔබට shell යෙදුමක් බාවිතා කල හැක.&lt;/code&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;code&gt;පහත සදහන්&lt;/code&gt;&lt;code&gt; &lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;විදාන වලින් ඒකක් යොදාගෙන ඔබට මෙම කාර්යය කර ගත හැක&lt;/code&gt;&lt;code&gt;.&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;code&gt;&lt;/code&gt;&lt;/span&gt;&lt;code style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;code style="font-weight: bold;"&gt;$ &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;chmod&lt;/span&gt; +x your-script-name&lt;br /&gt;$ &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;chmod&lt;/span&gt; 755 your-script-name&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;උදාහරණයක් ලෙස&lt;br /&gt;&lt;code style="font-weight: bold;"&gt;$ &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;chmod&lt;/span&gt; +x &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;helloworld&lt;/span&gt;.sh&lt;br /&gt;&lt;/code&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;code&gt;මෙහිදී පහත සදහන් කොටස් මගින් දැක්වෙනුයේ comments සලකුනුයි මෙය එකේ ප්‍රතිපලය සදහා කිසිදු බලපෑමක් සිදු නොකරයි.&lt;/code&gt;&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;code style="font-weight: bold;"&gt;&lt;/code&gt;&lt;/span&gt;&lt;code style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/code&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;#&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;# My first shell script &lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;#&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;code style="font-weight: bold;"&gt;clear&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/code&gt;විදානය මගින් shell එකෙහි එකෙහි ඇති සියලු දේ ම්කනු ලබයි.&lt;br /&gt;&lt;br /&gt;&lt;code style="font-weight: bold;"&gt;echo "Hell World!!"&lt;/code&gt;&lt;br /&gt;මෙම විදානය මගිනි එක මත hello world!! යන වචක සටහන් කරනු ලබයි.&lt;br /&gt;&lt;br /&gt;මීලගට ලියගත් script  එකෙහි ප්‍රතිපලය බලාගැනීම සදහා එය run කරගත යුතුයි.ඒ සදහා ඔබට පහත විදානය බාවිතා කල හැක.&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$./your-shellscriptname.sh&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$bash your-shellscriptname.sh&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$sh your-shellscriptname.sh&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;උදාහරණයක් ලෙස&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-weight: bold;"&gt;$./helloworld.sh&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$bash helloworld.sh&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;$sh helloworld.sh&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;මේ ආකාරයෙන් run කරගත් විට ඔබට මේ ආකාරයට ඔබගේ screen එක තුක දිස් වේවි.&lt;br /&gt;&lt;br /&gt;Hello World!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-4303775295562863995?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/4303775295562863995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=4303775295562863995' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4303775295562863995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4303775295562863995'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2009/07/shell-script.html' title='Shell Script එකක් ලියා ගැනීමේදී සැලකිලිමත්වියයුතු මුලික කරුණු.'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-4408289191244690176</id><published>2009-07-22T20:46:00.003+05:30</published><updated>2009-07-22T21:24:10.011+05:30</updated><title type='text'>Shell Scripting යනු කුමක්ද? සහ කුමක් සදහාද?</title><content type='html'>සාමාන්‍යයෙන් shell එකකින් කරණුයේ යම්කිසි යුසර් කෙනෙක් විසින් යතුරු පුවරුව හරහ දෙනු ලබන විදාන එකින් එක ක්‍රියාත්මක කිරීමයි.shell script එකක් මගින් කරන ප්‍රදාන කාර්යය වනුයේ එම විදාන එකක් හො කිපයක් text ෆයිල් එකක් මත ලියා තබාගෙන එය එක විට ක්‍රියාත්මක කිරීමයි.එය හරියට windows මෙහෙයුම් පද්දතියේ ඇති batch file වලට සමානයි.&lt;br /&gt;                                              මෙමගින් කාලය විශාල ලෙස ඉතුරු කරගැනීමට හැකි අතරම කාර්යයන් සිවයන්ක්‍රීයවම කිරීමට හැකියාව ලැබෙනවා.මේවා බොහො විට යොදාගනු ලබන්නෙ පරිනණක පද්දති කලමණාකරනය කිරීම වැනි කටයුතු සදහායි.මීලග ලිපියේ සිට shell script එකක් ලියගන්නා ආකාරය නිදසුන් සහිතව ඉදිරිපත් කිරීමට බලාපොරොත්තු ව්මි.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-4408289191244690176?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/4408289191244690176/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=4408289191244690176' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4408289191244690176'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4408289191244690176'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2009/07/shell-scripting.html' title='Shell Scripting යනු කුමක්ද? සහ කුමක් සදහාද?'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-4283439088696273462</id><published>2009-07-22T00:57:00.006+05:30</published><updated>2009-07-22T18:11:15.354+05:30</updated><title type='text'>මොකක්ද මෙ linux shell එක කියන්නෙ?</title><content type='html'>ඇත්තටම shell එක කිඋවම ඔබේ මතකයට නැගේන්නේ කලු පාට හො සුදු පාට සහිතව command සටහන් කරමින් වැඩකරන බොහොම කම්මැලි දෙයක් හැට්යට.නමුත් ඇත්ත මීට වඩා බොහොම වෙනස්.පහත සදහන් රූපය මගින් දැක්වෙන්නේ shell එක සමග වැඩ කිරීමට පාවිච් කරන අතුරු මුහුනතයි.&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mUx17Avykm8/SmYXOcfEyeI/AAAAAAAAAZQ/fQPY74e8A9g/s1600-h/shells-interaction.png"&gt;&lt;img style="cursor: pointer; width: 220px; height: 86px;" src="http://2.bp.blogspot.com/_mUx17Avykm8/SmYXOcfEyeI/AAAAAAAAAZQ/fQPY74e8A9g/s200/shells-interaction.png" alt="" id="BLOGGER_PHOTO_ID_5360997943363291618" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;Kernel එකට අදාල කොටසක් නොඋනත් එය kernel එක හා මෘදුකාංග අතර හා පරිශීලකයන් අතර සම්බන්දතාවය ඇතිකර ගැනීමට බොහො සෙයින් උපකාරීවේ.පහත පෙනෙන රූපය මගින් එය මනාව පැහැදිලිවේ.&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mUx17Avykm8/Smb29nu_AzI/AAAAAAAAAZY/LZBHWz2p_Yc/s1600-h/Flow1.jpg"&gt;&lt;img style="cursor: pointer; width: 312px; height: 314px;" src="http://2.bp.blogspot.com/_mUx17Avykm8/Smb29nu_AzI/AAAAAAAAAZY/LZBHWz2p_Yc/s200/Flow1.jpg" alt="" id="BLOGGER_PHOTO_ID_5361243944929657650" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;div style="text-align: left;"&gt;මෙහි දැක්වෙන ආකාරයට මගින් සිදුවන කාර්යය ගැන ඔබට යම්කිසි මට්ටමකට අවබොද්යක් ලබාගැනීමට හැකිවෙයැයි සිතමි.සාමාන්‍යන් මෙහෙයුම් පද්දතියක් තුල shell එකකට වඩා වැඩි සංක්‍යාවක් දැකගත හැක.ඔබටත් ඔබගේ Linux පද්දතිය තුල ඇති shell පිලිබදව දැනගැනීමට අවශ‍යනම් මෙම යෙදුම මගින් එය ලබාගත හැක&lt;br /&gt;&lt;b&gt;$ cat /etc/shells&lt;br /&gt;&lt;/b&gt;එමෙන්ම දැනට පද්දතියතුල සක්‍රීයව ඇති එක පිලිබදව දැන ගැනීමට අවශ්‍යයනම් මෙම යෙදුම මගින් එය ලබාගත හැක&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;$ echo $SHELL&lt;br /&gt;&lt;/b&gt;දැනට මෙහෙයුම් පද්දතිතුල බහුලවම බාවිතාවන shell එක හැටියට bash නැමති shell එක හදුන් වන්න පුලුවන්.මෙය යන Brian Fox and Chet Ramey දෙදෙනා විසින් සන්වර්දනය කර ඇති අතර නිදහස් මෘදුකාංග පදනම මගින් පවත්වාගෙන යනු ලබයි.&lt;b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-4283439088696273462?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/4283439088696273462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=4283439088696273462' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4283439088696273462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4283439088696273462'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2009/07/linux-shell.html' title='මොකක්ද මෙ linux shell එක කියන්නෙ?'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_mUx17Avykm8/SmYXOcfEyeI/AAAAAAAAAZQ/fQPY74e8A9g/s72-c/shells-interaction.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-6962000905190589195</id><published>2009-07-21T21:29:00.002+05:30</published><updated>2009-07-21T21:35:55.472+05:30</updated><title type='text'>අලුත් වැඩක් අලුත් විදියට</title><content type='html'>මෙදවස් ටිකේ පොඩ්ඩක් වැඩ අඩු හන්දා ආපහු Blog ලියන ඩැඩේ පටන් ගන්න හිතුනා.ඔන්න මේ පාර අලුත් වැඩක් පටන් ගන්න හිතුනා.අද ඉදලා Linux shell Script ගැන පොඩ් tutorial එකක් සිංහලෙන් ලියන හිතුනා.ඉදිරියේදි ඒ ගැන තොරතුරු මේම blog එක හරහා ඔබට ලබාගත හැක&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-6962000905190589195?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/6962000905190589195/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=6962000905190589195' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/6962000905190589195'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/6962000905190589195'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2009/07/blog-post.html' title='අලුත් වැඩක් අලුත් විදියට'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-5262630166464790897</id><published>2009-07-20T23:59:00.009+05:30</published><updated>2009-07-21T15:46:19.000+05:30</updated><title type='text'>Portable Ubuntu</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mUx17Avykm8/SmVcmRqFQGI/AAAAAAAAAYw/qMC_msW67k8/s1600-h/title_portable_ubuntu_remix.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 193px; height: 120px;" src="http://2.bp.blogspot.com/_mUx17Avykm8/SmVcmRqFQGI/AAAAAAAAAYw/qMC_msW67k8/s200/title_portable_ubuntu_remix.png" alt="" id="BLOGGER_PHOTO_ID_5360792744099135586" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;ගොඩ කාලෙකට පස්සෙ ඔන්න ආපහු පොඩි ආරංච්යක් පිලිබදව.ආරංච්යක් කිවුවට මේක ට්කක් පරණ ආරංච්යක් නමුත් ගොඩක් අය මේ පිලිබදව නොදන්නා නිසා මේ පිලිබදව කියන්න සිතුනා.Portable Ununtu යනු Windows පද්දතිය තුල වැඩකල හැකි ආකාරයේ මෙහෙයුම් පද්දතියකි.මෙසේ කියු විටම ඔබේ සිතට එනුයේ Virtual Machine එකක් උඩ දුවන ආකාරයේ මෙහෙයුම් පද්දතියකි.නමුත් මෙහි අති විශේෂත්වය වනුයේ මෙය වනුයේ Virtual Machine එකක් උඩ නොව වෙනත් ආකාරයකටය.මෙහි ඇති තාක්ෂණික පසුබිම පිලිබධව අද්‍යනය කිරීමට අවස්තාව නොලැබුනත් මෙය යම්කිසි ම්ට්ටමට Virtual Machine සංකල්පය යොදාගෙන ඇති ආකාරය පැහැදිලිවේ.ඉදිරියේදී මෙහි ඇති තාක්ෂණික පසුබිම පිලිබදව ලිපියක පල කිරීමට බලාපොරොත්තු වෙමි.&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mUx17Avykm8/SmWT9sXYiQI/AAAAAAAAAZI/3W7py0z71w0/s1600-h/portableubuntuscreenshoch1.jpg"&gt;&lt;img style="cursor: pointer; width: 200px; height: 150px;" src="http://2.bp.blogspot.com/_mUx17Avykm8/SmWT9sXYiQI/AAAAAAAAAZI/3W7py0z71w0/s200/portableubuntuscreenshoch1.jpg" alt="" id="BLOGGER_PHOTO_ID_5360853619544983810" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;                                                                සාමාන්‍යන් Virtual Machine එකක් තුල මෙහෙයුම් පද්ධතියක් වැඩකරන අවස්ථාවේ එය වෙනමම Window එකක් තුල තමයි වැඩකරන්නෙ.නමුත් මෙහි ඇති විශේෂත්වය තමයි මෙය වැඩකරන පසුබිම තුලම ස්ථාන ගතවී එහිම අන්ගයක් ලෙස වැඩකිරීමයි.Ubuntu වල ඇති Task Bar එක රූපයේ දැක්වෙන ආකාරයට windows Desktop එක තුලම පිහිටයි.එය ම්ගින් අපට සාමාන්‍යය Ubuntu පද්ධතියක ආකාරයේන් මෘදුකාංග පාවිච්චි කර ගත හැක.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_mUx17Avykm8/SmWTNaN8uzI/AAAAAAAAAZA/lYT-a9iQSuI/s1600-h/portable1.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px; height: 85px;" src="http://1.bp.blogspot.com/_mUx17Avykm8/SmWTNaN8uzI/AAAAAAAAAZA/lYT-a9iQSuI/s200/portable1.jpg" alt="" id="BLOGGER_PHOTO_ID_5360852790039853874" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;                       &lt;br /&gt;&lt;br /&gt;උදාහරණයක් හැටියත (Linux Shell,Synaptic,Open Office,......etc)ආදී ඔනෑම වැඩක් කරගැනීමේ හැකියාව මෙයට ඇත.ඔබටත් මේ පිලිබදව වැඩි විස්තර දැන ගැනීමට අවශ්‍යනම් &lt;a href="http://portableubuntu.demonccc.cloudius.com.ar"&gt;මෙන්න  ඔබන්න&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-5262630166464790897?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/5262630166464790897/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=5262630166464790897' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/5262630166464790897'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/5262630166464790897'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2009/07/portable-ubuntu.html' title='Portable Ubuntu'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_mUx17Avykm8/SmVcmRqFQGI/AAAAAAAAAYw/qMC_msW67k8/s72-c/title_portable_ubuntu_remix.png' height='72' width='72'/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-1642106579836886030</id><published>2009-03-27T00:06:00.007+05:30</published><updated>2009-07-21T11:52:34.525+05:30</updated><title type='text'>මොකක්ද මේ Google Map API කියන්නේ?</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_mUx17Avykm8/ScySr6PGpII/AAAAAAAAAVA/ad3kqwz0d-E/s1600-h/GoogleMap2.JPG"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px; height: 200px;" src="http://4.bp.blogspot.com/_mUx17Avykm8/ScySr6PGpII/AAAAAAAAAVA/ad3kqwz0d-E/s200/GoogleMap2.JPG" alt="" id="BLOGGER_PHOTO_ID_5317786543082349698" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;ඔන්න මේ දවස් ටිකේ පොඩි වැඩකට අත ගහුවා &lt;a href="http://code.google.com/apis/maps/"&gt;Google Map API&lt;/a&gt; එක්ක.ඇත්තටම වෙනස්ම අත්දැකීමක් ඒක.මොකද සාමානයෙන් මම කරන්නෙ මුදුකාංග වල back end එක්ක වැඩ කරන එක.ඉතින් ඒක ටිකක් කම්මැලි හිතෙන වැඩක්.නමුත් මේ &lt;a href="http://code.google.com/apis/maps/"&gt;Google Map API&lt;/a&gt; එක්ක කරපු වැඩේ ටිකක් වෙනස් මොකද මේක Front end වැඩක් හන්ද.මම හිතන්නේ ඔයාලා හැමොම දැකල ඇති &lt;a href="http://code.google.com/apis/maps/"&gt;Google Map&lt;/a&gt; එක.ඉතින් මේ සේවාව ලබාදෙන්නෙ Google සමාගම.Google සමාගම මේ සේවාව ලබාදෙනවා පමනක් නෙමෙයි ඒක, අනිත් පුද්ගලයින්ටත් එම සේවාව තමන්ගේ වෙබ් පිටුවට හෝ තමන් කැමති ඔනැම තැනකට පාවිචික් කිරීමට අවස්ථාව ලබාදී තිබෙනවා.&lt;br /&gt;                           අපි බලමු කොහොමද අපිට ඔන විදියට Google Map පාවිචිකරන්නෙ සහ මොනවද තියන Facility කියලා.ඔන්න ඔතනදි තමයි &lt;a href="http://code.google.com/apis/maps/"&gt;Google Map API&lt;/a&gt; කරලියට එන්නෙ.&lt;a href="http://code.google.com/apis/maps/"&gt;Google Map API&lt;/a&gt; මගින් එය පාවිචිකරන්නාට Google Map හි ඇති Function පාවිචියට ගැනීමට මාර්ගයක් සකසා දෙනවා.එමගින් ඉතා පහසුවෙන් අපට වුවමනා ආකාරයට එය හසුරවා ගත හැක.එය Java script යොදාගෙන සංවර්දනය කර ඇත.එම නිසා ඉතා පහසුවෙන් මෙය Web තාක්ෂණයත් සමග යොදා ගත හැක.&lt;br /&gt;                     මෙය ඉතා සරල නිදසුනක් මගින් මේ ආකාරයට එය යොදාගන්නා ආකාරය පැහැදිලිකල හැක.මෙම නිදසුන මගින් මම පෙන්වීමට උත්සහ කරන්නේ.&lt;a href="http://code.google.com/apis/maps/"&gt;Google Map&lt;/a&gt; එකක් එහි ඇති Zooming facility සමගින් ඔබගේ පිටුවකට යොදාගන්නා ආකාරයයි.මේ සදහා ඔබට Java Script පිලිබදව යම් දැනුමක් තිබීම අවශයයි.මුලින්ම ඒසදහා එකක් මෙ ආකාරයට සරල Java Script එකක් ලියා ගත යුතුයි.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;function initialize() {&lt;br /&gt;if (GBrowserIsCompatible()) {&lt;br /&gt;var map = new GMap2(document.getElementById("map_canvas"));&lt;br /&gt;map.setCenter(new GLatLng(37.4419, -122.1419), 13);&lt;br /&gt;}&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;මුලින්ම if (GBrowserIsCompatible()) මගින් Web browser එක මේසදහා දක්වන සහය පිලිබදව සොයා බලයි.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;var map = new GMap2(document.getElementById("map_canvas")) මගින් පෙන්වීමට් වුවමනා පසුබිම සකස්යි.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;map.setCenter(new GLatLng(37.4419, -122.1419), 13);මගින් Map එම එක තුල පෙන්වන ස්ථානයේ මැද((37.4419, -122.1419)) සහ Zoom level(13) එක පෙන්වයි.&lt;/li&gt;&lt;/ul&gt;ඔබට මෙයට Zoom Function එක්කර ගැනීමට උවමනානම් java Script function එක මේ ආකාරයට වෙනස්කර ගන්න&lt;br /&gt;&lt;span style="font-weight: bold;" class="js-keyword"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;" class="js-keyword"&gt;&lt;span style="color: rgb(0, 0, 0);"&gt;function &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-variable"&gt;initialize&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-punctuation"&gt;() {&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="whitespace"&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-keyword"&gt;if &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-punctuation"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-variable"&gt;GBrowserIsCompatible&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-punctuation"&gt;())&lt;br /&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="whitespace"&gt;&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-keyword"&gt;var &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-variabledef"&gt;map &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-operator"&gt;= &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-keyword"&gt;new &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-variable"&gt;GMap2&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-punctuation"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-variable"&gt;document&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-punctuation"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-property"&gt;getElementById&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-punctuation"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-string"&gt;"map_canvas"&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-punctuation"&gt;))&lt;/span&gt; &lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="whitespace"&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-localvariable"&gt;map&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-punctuation"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-variable"&gt;setCenter&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-punctuation"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-keyword"&gt;new &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-variable"&gt;GLatLng&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-punctuation"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-atom"&gt;37.4419&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-punctuation"&gt;, &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-operator"&gt;-&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-atom"&gt;122.1419&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-punctuation"&gt;), &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-atom"&gt;13&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-punctuation"&gt;);&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="whitespace"&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-localvariable"&gt;map&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-punctuation"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-property"&gt;addControl&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-punctuation"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-keyword"&gt;new &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-variable"&gt;GSmallMapControl&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-punctuation"&gt;());&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="whitespace"&gt;    &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-localvariable"&gt;map&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-punctuation"&gt;.&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-property"&gt;addControl&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-punctuation"&gt;(&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-keyword"&gt;new &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-variable"&gt;GMapTypeControl&lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-punctuation"&gt;());&lt;/span&gt; &lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="whitespace"&gt;  &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-punctuation"&gt;&lt;br /&gt;}&lt;/span&gt;&lt;span style="font-weight: bold;"&gt; &lt;/span&gt;&lt;span style="color: rgb(0, 0, 0); font-weight: bold;" class="js-punctuation"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;ඔබට එය මේ ආකාරයට ඔබගේ වෙබ් පිටුවට දමාගත හැක&lt;br /&gt;&lt;span class="xml-text"&gt;&lt;br /&gt;&lt;!--&lt;/span--&gt;&lt;span class="xml-text"&gt;DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="xml-punctuation"&gt;&lt;&lt;/span&gt;&lt;span class="xml-tagname"&gt;html &lt;/span&gt;&lt;span class="xml-attname"&gt;xmlns&lt;/span&gt;&lt;span class="xml-punctuation"&gt;=&lt;/span&gt;&lt;span class="xml-attribute"&gt;"http://www.w3.org/1999/xhtml" &lt;/span&gt;&lt;span class="xml-attname"&gt;xmlns:v&lt;/span&gt;&lt;span class="xml-punctuation"&gt;=&lt;/span&gt;&lt;span class="xml-attribute"&gt;"urn:schemas-microsoft-com:vml"&lt;/span&gt;&lt;span class="xml-punctuation"&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;  &lt;/span&gt;&lt;span class="xml-punctuation"&gt;&lt;&lt;/span&gt;&lt;span class="xml-tagname"&gt;head&lt;/span&gt;&lt;span class="xml-punctuation"&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;    &lt;/span&gt;&lt;span class="xml-punctuation"&gt;&lt;&lt;/span&gt;&lt;span class="xml-tagname"&gt;meta &lt;/span&gt;&lt;span class="xml-attname"&gt;http-equiv&lt;/span&gt;&lt;span class="xml-punctuation"&gt;=&lt;/span&gt;&lt;span class="xml-attribute"&gt;"content-type" &lt;/span&gt;&lt;span class="xml-attname"&gt;content&lt;/span&gt;&lt;span class="xml-punctuation"&gt;=&lt;/span&gt;&lt;span class="xml-attribute"&gt;"text/html; charset=utf-8"&lt;/span&gt;&lt;span class="xml-punctuation"&gt;/&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;    &lt;/span&gt;&lt;span class="xml-punctuation"&gt;&lt;&lt;/span&gt;&lt;span class="xml-tagname"&gt;title&lt;/span&gt;&lt;span class="xml-punctuation"&gt;&gt;&lt;/span&gt;&lt;span class="xml-text"&gt;Google Maps API Sample&lt;/span&gt;&lt;span class="xml-punctuation"&gt;&lt;!--&lt;/span--&gt;&lt;span class="xml-tagname"&gt;title&lt;/span&gt;&lt;span class="xml-punctuation"&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;    &lt;/span&gt;&lt;span class="xml-punctuation"&gt;&lt;&lt;/span&gt;&lt;span class="xml-tagname"&gt;script &lt;/span&gt;&lt;span class="xml-attname"&gt;src&lt;/span&gt;&lt;span class="xml-punctuation"&gt;=&lt;/span&gt;&lt;span class="xml-attribute"&gt;"http://maps.google.com/maps?file=api&amp;amp;v=2&amp;amp;sensor=false&amp;amp;key=&lt;&lt;insert key=""&gt;&gt;"&lt;/insert&gt;&lt;/span&gt;&lt;span class="xml-punctuation"&gt;&gt;&lt;/span&gt;&lt;span class="xml-punctuation"&gt;&lt;!--&lt;/span--&gt;&lt;span class="xml-tagname"&gt;script&lt;/span&gt;&lt;span class="xml-punctuation"&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;    &lt;/span&gt;&lt;span class="xml-punctuation"&gt;&lt;&lt;/span&gt;&lt;span class="xml-tagname"&gt;script &lt;/span&gt;&lt;span class="xml-attname"&gt;type&lt;/span&gt;&lt;span class="xml-punctuation"&gt;=&lt;/span&gt;&lt;span class="xml-attribute"&gt;"text/javascript"&lt;/span&gt;&lt;span class="xml-punctuation"&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="whitespace"&gt; &lt;span style="color: rgb(102, 0, 0);"&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-keyword"&gt;function &lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-variable"&gt;initialize&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-punctuation"&gt;() {&lt;/span&gt;  &lt;span style="color: rgb(102, 0, 0);" class="whitespace"&gt;  &lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-keyword"&gt;if &lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-punctuation"&gt;(&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-variable"&gt;GBrowserIsCompatible&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-punctuation"&gt;()) {&lt;/span&gt;  &lt;span style="color: rgb(102, 0, 0);" class="whitespace"&gt;    &lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-keyword"&gt;var &lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-variabledef"&gt;map &lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-operator"&gt;= &lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-keyword"&gt;new &lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-variable"&gt;GMap2&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-punctuation"&gt;(&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-variable"&gt;document&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-punctuation"&gt;.&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-property"&gt;getElementById&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-punctuation"&gt;(&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-string"&gt;"map_canvas"&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-punctuation"&gt;))&lt;/span&gt;  &lt;span style="color: rgb(102, 0, 0);" class="whitespace"&gt;    &lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-localvariable"&gt;map&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-punctuation"&gt;.&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-variable"&gt;setCenter&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-punctuation"&gt;(&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-keyword"&gt;new &lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-variable"&gt;GLatLng&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-punctuation"&gt;(&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-atom"&gt;37.4419&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-punctuation"&gt;, &lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-operator"&gt;-&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-atom"&gt;122.1419&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-punctuation"&gt;), &lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-atom"&gt;13&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-punctuation"&gt;);&lt;/span&gt;  &lt;span style="color: rgb(102, 0, 0);" class="whitespace"&gt;    &lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-localvariable"&gt;map&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-punctuation"&gt;.&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-property"&gt;addControl&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-punctuation"&gt;(&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-keyword"&gt;new &lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-variable"&gt;GSmallMapControl&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-punctuation"&gt;());&lt;/span&gt;  &lt;span style="color: rgb(102, 0, 0);" class="whitespace"&gt;    &lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-localvariable"&gt;map&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-punctuation"&gt;.&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-property"&gt;addControl&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-punctuation"&gt;(&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-keyword"&gt;new &lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-variable"&gt;GMapTypeControl&lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-punctuation"&gt;());&lt;/span&gt;  &lt;span style="color: rgb(102, 0, 0);" class="whitespace"&gt;  &lt;/span&gt;&lt;span style="color: rgb(102, 0, 0);" class="js-punctuation"&gt;}&lt;/span&gt;  &lt;span style="color: rgb(102, 0, 0);" class="js-punctuation"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;    &lt;/span&gt;&lt;span class="xml-punctuation"&gt;&lt;!--&lt;/span--&gt;&lt;span class="xml-tagname"&gt;script&lt;/span&gt;&lt;span class="xml-punctuation"&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;  &lt;/span&gt;&lt;span class="xml-punctuation"&gt;&lt;!--&lt;/span--&gt;&lt;span class="xml-tagname"&gt;head&lt;/span&gt;&lt;span class="xml-punctuation"&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;  &lt;/span&gt;&lt;span class="xml-punctuation"&gt;&lt;&lt;/span&gt;&lt;span class="xml-tagname"&gt;body &lt;/span&gt;&lt;span class="xml-attname"&gt;onload&lt;/span&gt;&lt;span class="xml-punctuation"&gt;=&lt;/span&gt;&lt;span class="xml-attribute"&gt;"initialize()" &lt;/span&gt;&lt;span class="xml-attname"&gt;onunload&lt;/span&gt;&lt;span class="xml-punctuation"&gt;=&lt;/span&gt;&lt;span class="xml-attribute"&gt;"GUnload()" &lt;/span&gt;&lt;span class="xml-attname"&gt;style&lt;/span&gt;&lt;span class="xml-punctuation"&gt;=&lt;/span&gt;&lt;span class="xml-attribute"&gt;"font-family: Arial;border: 0 none;"&lt;/span&gt;&lt;span class="xml-punctuation"&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;    &lt;/span&gt;&lt;span class="xml-punctuation"&gt;&lt;&lt;/span&gt;&lt;span class="xml-tagname"&gt;div &lt;/span&gt;&lt;span class="xml-attname"&gt;id&lt;/span&gt;&lt;span class="xml-punctuation"&gt;=&lt;/span&gt;&lt;span class="xml-attribute"&gt;"map_canvas" &lt;/span&gt;&lt;span class="xml-attname"&gt;style&lt;/span&gt;&lt;span class="xml-punctuation"&gt;=&lt;/span&gt;&lt;span class="xml-attribute"&gt;"width: 500px; height: 300px"&lt;/span&gt;&lt;span class="xml-punctuation"&gt;&gt;&lt;/span&gt;&lt;span class="xml-punctuation"&gt;&lt;!--&lt;/span--&gt;&lt;span class="xml-tagname"&gt;div&lt;/span&gt;&lt;span class="xml-punctuation"&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="whitespace"&gt;  &lt;/span&gt;&lt;span class="xml-punctuation"&gt;&lt;!--&lt;/span--&gt;&lt;span class="xml-tagname"&gt;body&lt;/span&gt;&lt;span class="xml-punctuation"&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class="xml-punctuation"&gt;&lt;!--&lt;/span--&gt;&lt;span class="xml-tagname"&gt;html&lt;/span&gt;&lt;span class="xml-punctuation"&gt;&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ඔබට මෙසදහා වැඩිදුර විස්තර උවමනානමි.&lt;a href="http://code.google.com/apis/ajax/playground/?exp=maps#map_simple"&gt;http://code.google.com/apis/ajax/playground/?exp=maps#map_simple&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-1642106579836886030?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/1642106579836886030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=1642106579836886030' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/1642106579836886030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/1642106579836886030'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2009/03/google-map-api.html' title='මොකක්ද මේ Google Map API කියන්නේ?'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_mUx17Avykm8/ScySr6PGpII/AAAAAAAAAVA/ad3kqwz0d-E/s72-c/GoogleMap2.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-1310629170467873584</id><published>2009-03-24T15:15:00.003+05:30</published><updated>2009-03-24T16:37:18.079+05:30</updated><title type='text'>සහන 2009 සමුලුව</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mUx17Avykm8/Sci-hYpK6LI/AAAAAAAAAU4/okDYmBNsCOk/s1600-h/flower_bg.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 70px;" src="http://2.bp.blogspot.com/_mUx17Avykm8/Sci-hYpK6LI/AAAAAAAAAU4/okDYmBNsCOk/s200/flower_bg.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5316708840870963378" /&gt;&lt;/a&gt;&lt;br /&gt;ඔන්න ඉතින් මේ දවස් ආපහු නිදහස් මුදුකාංග වලට කැමැත්තක් දක්වන අයට ටිකක් වැඩ අදික කාලයක්.මමත් ඔන්න අද "&lt;a href="http://sahana2009.foss.lk/"&gt;සහන-2009 සමුලුවට&lt;/a&gt;"(මාර්තු 24,25) ගියා.වැඩේ හොදට තිබුනා. &lt;a href="http://sanjiva.weerawarana.org/"&gt;Dr.සංජීව වීරවර්ණ&lt;/a&gt;,&lt;a href="http://www.ucsc.cmb.ac.lk/People/rw/index.htm"&gt;Dr.රුවන් වීරසිංහ&lt;/a&gt; සහ තවත් විදේශ රටවලින් පැමිණි විද්වතුන් සහ නිදහස් මුදුකාංග සදහා ඇල්මක් දක්වන්නන් විශාල පිරිසක් මෙහි පැමින සිටියා.ඔන්න ඉතින් මමත් වැඩේට සෙට් වුනා. HNB Tower එකේ තමයි මේක තිබුනේ.එතෙන්ට ගිහින් බලනකොට මෙන්න අපේ &lt;a href="http://www.ucsc.cmb.ac.lk"&gt;Faculty&lt;/a&gt; බාගයක් විතරම එතන.අපේ වුන්ගේ FOSS ගැන මාර වුනන්දුවක් තියෙන්නේ මුනු දිහා දැකපුහාම කියන්න පුලුවන් මොකටද ආවෙ කියලා.&lt;br /&gt;  &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_mUx17Avykm8/Sci8-Fjl-dI/AAAAAAAAAUw/cwnjw8VOiEE/s1600-h/gis1.preview.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 178px;" src="http://4.bp.blogspot.com/_mUx17Avykm8/Sci8-Fjl-dI/AAAAAAAAAUw/cwnjw8VOiEE/s200/gis1.preview.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5316707134940248530" /&gt;&lt;/a&gt;      ඔන්න  Dr.සංජීව වීරවර්ණ මුලින්ම කතාවක් කරල කට්ටිය පිලි අරගෙන වැඩේ පටන්ගත්තා.ඊට පස්සේ තව කවුද කට්ටියක් "&lt;a href="http://www.sahana.lk"&gt;සහන&lt;/a&gt;" වල ඇති වටිනාකම ගැන විස්තර කරා.ඉතින් ඊට පස්සෙ ආවෙ T වෙලාව ඒකෙදි මමයි තව යාලුවෙකුයි එතනින් පැන ගත්තා මොකද අද නිවාඩුවක් දාලා නෙමෙයි ආවෙ.කොහොම වුනත් හිටපු ටික කාලය තුල ගොඩාක් දේවල් ඉගෙන ගත්තා.අපි ඉතින් එදත් අදත් කවදත් FOSS කට්ටියනෙ ඔනම FOSS වැඩකට පොඩි වෙලාවකට හරි සෙට් වෙනවා.හෙටත් වැඩේ තියනවා try එකක් දාලා බලන්න ඔන ඒකටත් සෙට් වෙන්න.&lt;br /&gt;                                                   මම &lt;a href="http://www.sahana.lk"&gt;සහන&lt;/a&gt; සමුලුව ගැන කිවුවට සහන කියන්නෙ මොකක්ද කියල කියන්න බැරිවුනානෙ.ඔන්න දැන් සහන ගැන කෙටියෙන්.&lt;br /&gt;2004 වර්ෂයේ ලංකාව ඇතුලු රටවල් කීපයක් හරහා ගිය සුනාමි කේදවාචකය තමයි මේ සදහා මුල් වුනේ.&lt;br /&gt;මොකද මේ වෙනකොට කිසිම මුදුකංගයක් තිබුනෙනැ මෙ වගේ විශාල විපතක් සිදූවූවාට පසුව ඒවා කලමනා කරනය කර ගැනීමට.ඉතින් ඊට විසදුමක් ලෙස &lt;a href="http://sanjiva.weerawarana.org/"&gt;Dr.සංජීව වීරවර්ණ&lt;/a&gt; මූලිකත්වයෙන් යුතුව &lt;a href="http://www.opensource.lk/"&gt;Lanka Software fundation&lt;/a&gt; මගින් තවත් ලංකාවේ සිටින නිදහස් මුදුකාංග සදහා සහය දක්වන්නන්ගේ සහයෙන් මේය නිර්මාණය කරණු ලැබූවා.දැනට ඒය ලොකයේ අංක 1කේ ස්භාවික ආපදා කලමණාකරණ පද්ධතියයි.මෙය ලාංකීය අපිට ආඩම්බර වීමට කාරණයක්&lt;br /&gt;මෙය මේවන විටත් රටවල් කීපයකම ස්භාවික විපත් සදහා යොදාගෙන තිබෙනවා.( ඇමරිකාව, පාකිස්තානය මින් කීපයක් ). මෙය මේ වන විටත්&lt;a href="http://www.ucsc.cmb.ac.lk"&gt; කොලඹ විශ්ව විදයාල පරිගණක අංශය&lt;/a&gt; තුල ඇති සහන Lab එක තුල නොයෙකුත් නව අංග ඇතුලත් වෙමින් ඉදිරියට යමින් තිබෙනවා.ඔන්න ඉතින් ඔහොමයි සහන ගැන.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-1310629170467873584?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/1310629170467873584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=1310629170467873584' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/1310629170467873584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/1310629170467873584'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2009/03/2009.html' title='සහන 2009 සමුලුව'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_mUx17Avykm8/Sci-hYpK6LI/AAAAAAAAAU4/okDYmBNsCOk/s72-c/flower_bg.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-2710814898099139283</id><published>2009-03-21T23:15:00.006+05:30</published><updated>2009-03-22T00:58:37.399+05:30</updated><title type='text'>Damn Small Linux ඔබගේ USB තුල ස්ථාපනය කරගන්නේ කෙසේද?</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_mUx17Avykm8/ScU9VjBJjAI/AAAAAAAAAUo/h8AvbgA9GAM/s1600-h/dsl.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;width: 200px; height: 75px;" src="http://3.bp.blogspot.com/_mUx17Avykm8/ScU9VjBJjAI/AAAAAAAAAUo/h8AvbgA9GAM/s200/dsl.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5315722375567346690" /&gt;&lt;/a&gt;&lt;br /&gt;මේ දවස්ටිකේ වැඩි වැඩක් නැතුව ඉන්න අතරතුරේ නිකමට වගේ USB එකත Damn Small Linux දාල බලන්න හිතුනා.ඔන්න ඒක සිථාපනය කරගන්නා ආකාරය ඔයලටත් කියන්න හිතුනා.&lt;br /&gt;ලොකයේ ඇති කුඩාම මෙහෙයුම් පද්ධති අතර එකක් වන Damn Small Linux මෙහෙයුම් පද්ධතිය ඔබගේ පරිගණකයෙ වෙනත් මෙහෙයුම් පද්ධතියක් තුල මෙන්ම USB එක මතද ස්ථාපනය කරගත හැක.මේ සදහා 64MB පමණ සෑහේ.නමුත් දැනට වෙලදපොලේ ඇති සියලුම වාගේ මීට වඩා ධාරිතාවකින් යුක්ත නිසා ඒගැන ප්‍රස්නයක්නෑ.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;ඔන්න වැඩේ කරන්නේ මෙහෙමයි.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;*.මුලින්ම &lt;a href="http://distro.ibiblio.org/pub/linux/distributions/damnsmall/archive/dsl-4.4-embedded.zip"&gt;dsl-embedded.zip&lt;/a&gt; ගොනුව මෙම සිථානයෙන් බාගත කර ගත හැක.&lt;br /&gt;&lt;br /&gt;*.ඉන්පසුව &lt;a href="http://distro.ibiblio.org/pub/linux/distributions/damnsmall/archive/dsl-4.4-embedded.zip"&gt;dsl-embedded.zip&lt;/a&gt; ගොනුව ඔබගේ USB තුලට දිගහැරගන්න.&lt;br /&gt;&lt;br /&gt;*.ඉන්පසුව &lt;a href="http://www.kernel.org/pub/linux/utils/boot/syslinux/Old/syslinux-3.36.zip"&gt;syslinux-3.36.zip&lt;/a&gt; මෙම ගොනුව ඔබගේ පරිගණකය තුලට බාගතකරගෙන.ඒය තුල syslinux නමින් බහාලුමක් සාදා එය තුලට දිගහැරගන්න.&lt;br /&gt;&lt;br /&gt;*.start තුල ඇති run තුල cmd නමින් සටහන් කර කරගන්න&lt;br /&gt;&lt;br /&gt;*.ඉන්පසුව ලැබෙන command box එක තුල cd \syslinux\win32  සටහන්කර එම බහලුම තුලට ගොස්  syslinux.exe -ma X:මෙම විදානය කරගන්න.&lt;br /&gt;&lt;br /&gt;*.මෙහි X වෙනුවට ඔබගේ USB එකට ලැබෙන අක්ෂරය ලබාදෙන්න.&lt;br /&gt;&lt;br /&gt;*.ඉන්පසු ඔබගෙ පරිගණකය reboot කර එය usb boot අකාරයට සකසන්න.මේ සදහා ඔබගේ පරිගණකයෙ BIOS settings වෙනස්කර ගතයුතුයි&lt;br /&gt;&lt;br /&gt;දැන් ඔබට දැකගත හැකි Damn Small Linux මෙහෙයුම් පද්ධති ඔබගේ USB  ආදාරයෙන් වැඩ කරන ආකාරය.මේක බොහෝම රසවත් අත්දැකීමක්.ඔබත් මෙය උත්සහ කරබලන්න.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-2710814898099139283?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/2710814898099139283/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=2710814898099139283' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/2710814898099139283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/2710814898099139283'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2009/03/damn-small-linux-usb.html' title='Damn Small Linux ඔබගේ USB තුල ස්ථාපනය කරගන්නේ කෙසේද?'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_mUx17Avykm8/ScU9VjBJjAI/AAAAAAAAAUo/h8AvbgA9GAM/s72-c/dsl.jpg' height='72' width='72'/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-8688185632095992424</id><published>2009-03-17T15:09:00.009+05:30</published><updated>2009-07-22T21:28:24.586+05:30</updated><title type='text'>Ubuntu  සිංහල කරණය</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mUx17Avykm8/ScC-xl6RORI/AAAAAAAAAUY/vof40eLC0D0/s1600-h/%E0%B6%AD%E0%B7%92%E0%B6%BB%E0%B6%B4%E0%B7%92%E0%B6%A7%E0%B6%B4%E0%B6%AD-1.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 200px; height: 125px;" src="http://2.bp.blogspot.com/_mUx17Avykm8/ScC-xl6RORI/AAAAAAAAAUY/vof40eLC0D0/s200/%E0%B6%AD%E0%B7%92%E0%B6%BB%E0%B6%B4%E0%B7%92%E0%B6%A7%E0%B6%B4%E0%B6%AD-1.png" alt="" id="BLOGGER_PHOTO_ID_5314457319496562962" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;ඔන්න ඉතින් පොඩි වැඩක් සෙට් වුනා මෙ මාසෙ 24 වෙනිද "නිදහස් මෘදුකාංග සහ මෘදුකාංග දෙශීය කරනය" ගැන lecture එකක් කරන්න. ඉතින් මේදවස්වල මම එකට උවමනා දේවල් ට්කක් කරමින් ඉන්න අතරේ Ubuntu  සිංහලට පරිවර්තනය කරන හටි ගැන ටිකක් ලියන්න හිතුන.&lt;br /&gt;&lt;br /&gt;මෙන්න වැඩෙ කරන හැටි&lt;br /&gt;1.මුලින්ම ඔබගේ Ubuntu මෙහෙයුම් පද්දතිය ඇතුලත සිංහල Fonts ස්ථාපිත කරගත යුතුයි.&lt;br /&gt;&lt;br /&gt;1.1 මුලින්ම මෙය ස්ථාපිත කරනනීමට කලින් ඔබගේ Ubuntu තුල ඒ සදහා අවශය පසුබිම සකසා ගත යුතුයි.මේ සදහා   Universe repository, Enable කරගත යුතුයි.මේ සදහා ඔබට වැඩි විස්තර උවමනානම් (&lt;a href="http://wiki.ubuntu.com/AlwaysEnableUniverseMultiverse"&gt;wiki.ubuntu.com/AlwaysEnableUniverseMultiverse)&lt;/a&gt;.&lt;br /&gt;සාමානියෙන් Ubuntu ස්ථාපනය කරන අවස්ථාවේදීම මෙය enable වී ඇත.&lt;br /&gt;&lt;br /&gt;1.2 ඉන්පසුව පහත සදහන් විදානය ඔබගේ Shell එක මත Run කරගන්න.&lt;br /&gt;sudo apt-get install ttf-sinhala-lklug scim scim-gtk2-immodule im-switch scim-m17n m17n-db m17n-contrib language-pack-si-base&lt;br /&gt;                       &lt;br /&gt;1.3 ඉන්පසුව පහත සදහන් විදානයත් ඔබගේ Shell එක මත Run කරගන්න&lt;br /&gt;rm -f ~/.xinput.d/* ; im-switch -z all_ALL -s scim-immodule&lt;br /&gt;&lt;br /&gt;2.ඉන්පසුව මෙය &lt;a href="http://ucsc-sinhala.googlegroups.com/web/si.tar.gz"&gt;si.tar.gz&lt;/a&gt; ඔබගේ පරිඝණකය මතට බාගථ කරගන්න.&lt;br /&gt;&lt;br /&gt;3.මෙය ඔබගේ Ubuntu තුල /usr/share/locale-langpack යන ස්ථානයට extract කරගන්න.&lt;br /&gt;&lt;br /&gt;4. ඉන්පසුව /etc/default/locale යන ස්ථනයේ අති ගොනුව තුල අති LANG="en_US.UTF-8"පේලිය LANG="si_LK.UTF-8"මෙ අකාරයට වෙනස්කරගන්න.මේ සදහා ඔබට මෙම විදාන කීපයෙන් එකක් යොදාගත හැක.&lt;br /&gt;sudo gedit /etc/default/locale&lt;br /&gt;sudo vi /etc/default/locale&lt;br /&gt;&lt;br /&gt;5.ඉන්පසුව ඔබගේ පරිඝණකය Reboot කරන්න.&lt;br /&gt;&lt;br /&gt;6.දැන් ඔබට ඉහත රූපයේ ආකාරයට ඔබගේ පරිඝණකය සිංහල බසට හැරී ඇති ආකාරය දැක ගත හැකි.&lt;br /&gt;&lt;br /&gt;7.ඔබට නැවතත් පෙර තිබු තත්වයට පරිඝණකය පත්කරගැනීමට උවමනානම්.කලින් ඔබ වෙනස්කරගත් පේලිය නැවත තිබු තත්වයට පත්කරගෙන Reboot කිරීම සෑහේ.&lt;br /&gt;&lt;br /&gt;ඔන්න එහෙනම් වැඩේ ගොඩ.හැබැයි මේකේ සමහර වච්න මම English වලින් ලියලා තියෙන්නෙ, සමහර වච්නවල අකුරු වරදී.ඒ ඉතින් මම තාම සිංහල Blog වලට අලුත් හන්ද.පස්සෙ හරියයි.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-8688185632095992424?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/8688185632095992424/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=8688185632095992424' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/8688185632095992424'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/8688185632095992424'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2009/03/ubuntu-810.html' title='Ubuntu  සිංහල කරණය'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_mUx17Avykm8/ScC-xl6RORI/AAAAAAAAAUY/vof40eLC0D0/s72-c/%E0%B6%AD%E0%B7%92%E0%B6%BB%E0%B6%B4%E0%B7%92%E0%B6%A7%E0%B6%B4%E0%B6%AD-1.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-6699073358479231600</id><published>2009-03-16T10:11:00.005+05:30</published><updated>2009-03-16T10:30:17.556+05:30</updated><title type='text'>නව ආරම්භයක්</title><content type='html'>ඔන්න මමත් හුගාක් කලෙක පස්සෙ ආපහු ලියන්න set උනා සිංහලෙන්.සිංහල එතරම් දුරට ලියන්න අපහසු හන්දා වැඩෙ අත ඇරල දාලයි හිටියෙ,නමුත් UCSC සිංහල එසෙණින් පරිවර්තකය නිසා වැඩේ ගොඩාක් ලේසි උනා.අපේම Faculty කරපු වැඩක් හන්ඩ ගොඩක් ආඩම්බරයි.එහෙනම් ඉතින් ඉක්මනටම සෙට් වෙමු වඩෙට.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-6699073358479231600?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/6699073358479231600/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=6699073358479231600' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/6699073358479231600'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/6699073358479231600'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2009/03/blog-post.html' title='නව ආරම්භයක්'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-3641287252824761537</id><published>2009-01-08T21:54:00.009+05:30</published><updated>2009-01-09T12:46:04.787+05:30</updated><title type='text'>Web Crawler API</title><content type='html'>Japanese Crawler project is a research and development project was done by me in my company.It was a really challenge to me.My host is a Japanese patent site and want to crawling data from it.Normally web host protocols are base on www but amazing this one is www7 and www8.When i saw it first time, I'm confusing.However It was not impotent to my works.&lt;br /&gt;                                 First I was did some research about crawlers and bots before start the project design.First time I thought this is a common type web Crawler project and then i was download some sample crawler source code from sorceforge.After I was been running sample crawler source code giving my host(www7.xxxx.com).Ohhhhh There was a no out put only show one page called www7.xxx.ipdl.I can't believe that because it is working with other site like www.google.com.... etc.After I was understood, this is not a common type of web crawler project..&lt;br /&gt;                                      Then I want to work hard.First I was installed Firebug Mozilla Firefox plugging for my browser.Firebug was very helpful to me to success my project.Next I started my code review.Mmmmmmmmmmmmmmm there are lot of Java script playing big role.In my host(www7.xxx.com),have thousand of out put pages but rally it has only one page.All other pages are generating dynamically in runtime.Big problem because normally web crawler want to static link to crawling data but my host site haven't any static links all are dynamically generating.&lt;br /&gt;                                      Then I want to find links which generating in runtime.These all links are generating by Java script using special algorithms.These algorithm want to lot of parameters to give output link.I was choose Web Browser virtual methods to my project.Give page inputs and make http request manually and bind cookies to it.you can got idea from picture1.Some times you may feel it is very easy task but it is not easy because crawler web site developer put lot of security.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-3641287252824761537?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/3641287252824761537/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=3641287252824761537' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/3641287252824761537'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/3641287252824761537'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2009/01/web-crawler-api.html' title='Web Crawler API'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-6411314693127740049</id><published>2008-10-17T16:21:00.000+05:30</published><updated>2008-10-17T16:29:17.325+05:30</updated><title type='text'>How to mount iso Image in Linux</title><content type='html'>To mount the ISO image file.iso to the mount point /mnt/test use this command:&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;mount -o loop -t iso9660 file.iso /mnt/test&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-6411314693127740049?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/6411314693127740049/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=6411314693127740049' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/6411314693127740049'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/6411314693127740049'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/10/how-to-mount-iso-image-in-linux.html' title='How to mount iso Image in Linux'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-6588225275540756438</id><published>2008-10-08T11:57:00.001+05:30</published><updated>2008-10-08T11:59:29.957+05:30</updated><title type='text'>Java Source Code to Change Local IP Address</title><content type='html'>Hi guys..&lt;br /&gt;&lt;br /&gt;Try This code to change your Local IP address.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;import java.io.IOException;&lt;br /&gt;import java.lang.Runtime;&lt;br /&gt;public class Chang_Ip {&lt;br /&gt; &lt;br /&gt; &lt;br /&gt; &lt;br /&gt; public static void main(String args[]) throws IOException&lt;br /&gt; {&lt;br /&gt;  &lt;br /&gt;  String str1="192.168.0.201";&lt;br /&gt;  String str2="255.255.255.0";&lt;br /&gt;  String[] command1 = { "netsh", "interface", "ip", "set", "address",&lt;br /&gt;    "name=", "Local Area Connection" ,"source=static", "addr=",str1,&lt;br /&gt;    "mask=", str2};&lt;br /&gt;    Process pp = java.lang.Runtime.getRuntime().exec(command1);&lt;br /&gt;  &lt;br /&gt; }&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;}&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-6588225275540756438?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/6588225275540756438/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=6588225275540756438' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/6588225275540756438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/6588225275540756438'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/10/java-source-code-to-change-local-ip.html' title='Java Source Code to Change Local IP Address'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-8591427379185606957</id><published>2008-10-02T15:01:00.004+05:30</published><updated>2008-10-02T15:07:41.032+05:30</updated><title type='text'>How to Add User to Samba Server</title><content type='html'>There are two steps to creating a user. First we'll run the smbpasswd utility to create a samba password for the user.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;sudo smbpasswd -a username&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Next, we'll add that username to the smbusers file.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;sudo gedit /etc/samba/smbusers&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Add in the following line, substituting the username with the one you want to give access to. The format is &lt;ubuntuusername&gt; = "&lt;samba username&gt;". You can use a different samba user name to map to an ubuntu account, but that's not really necessary right now.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;username = "username"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now you can create samba shares and give access to the users that you listed here&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-8591427379185606957?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/8591427379185606957/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=8591427379185606957' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/8591427379185606957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/8591427379185606957'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/10/how-to-add-user-to-samba-server.html' title='How to Add User to Samba Server'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-5695095877034723558</id><published>2008-09-18T10:01:00.002+05:30</published><updated>2008-09-18T10:06:50.789+05:30</updated><title type='text'>How to change Grub menu background image</title><content type='html'>Grub is a Linux boot manager that is used to switch between two or more operating systems installed on your machines. By default, Grub's background is plain black with white text. In this article, we will change Grub's default background to any image of your choice.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;1 Create the background image&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Using your favorite image editing software, create a logo or an image that will look good even with very few colors. Save your image as a PNG with only 14 colors and resize it to 640x480 pixels.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2 Convert the PNG to XPM&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you use GimpShop or The GIMP, you can directly save your image as XPM. But for Photoshop users, you'll have to use ImageMagick's convert utility to convert your image to the format that GRUB uses (make sure the you have ImageMagick installed). To start converting, open your terminal and issue the following command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ convert splash.png -resize 640x480 -colors 14 splash.xpm&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;3 Compress the image file&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Now that we have our image ready, we will need to compress it to make it suitable for GRUB and copy it to GRUB's directory.&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;$ gzip splash.xpm&lt;br /&gt;$ su -&lt;br /&gt;(Type your root password)&lt;br /&gt;# cp splash.xpm.gz /boot/grub/&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;4 Configure GRUB to use the new image&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;All we need to do now is to configure GRUB to use the image that we created. To edit GRUB's configuration, issue the command:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;$ vi /boot/grub/menu.lst&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Add the following line at the beginning of the configuration file (if it doesn't exists):&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;splashimage=(hd0,0)/boot/grub/splash.xpm.gz&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Change (hd0,0) to the partition where GRUB resides then save the changes you've made and restart your machine. GRUB should use your image now.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-5695095877034723558?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/5695095877034723558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=5695095877034723558' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/5695095877034723558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/5695095877034723558'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/09/how-to-change-grub-menu-background.html' title='How to change Grub menu background image'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-4390251803202434958</id><published>2008-07-22T15:07:00.009+05:30</published><updated>2010-08-18T12:28:09.469+05:30</updated><title type='text'>SlChart Open source Jsp Tag Library for Creating Data Grids</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_mUx17Avykm8/SIWw7ku78OI/AAAAAAAAANI/IJSnrjEar_o/s1600-h/taglib.bmp"&gt;&lt;img style="float: left; margin: 0pt 10px 10px 0pt; cursor: pointer;" src="http://bp0.blogger.com/_mUx17Avykm8/SIWw7ku78OI/AAAAAAAAANI/IJSnrjEar_o/s200/taglib.bmp" alt="" id="BLOGGER_PHOTO_ID_5225777480152641762" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;About SlChart&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Author: - Chandima prabath ariyarathna&lt;br /&gt;                &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;SlChart &lt;/span&gt;is a Jsp Tag Library for creating data tables in different format. SlChart table can use any jsp project. It is very easy to use.&lt;br /&gt;This tag library contains main two attribute.&lt;br /&gt;&lt;br /&gt; 1. id         :-  Bean id name&lt;br /&gt; 2. viewMode   :- Data grid view mode (ex:- html,htmlGrid,xml)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;jsp:usebean id="pageViews" class="test.test"&gt;&lt;br /&gt;&lt;art:quaryexcute viewmode="htmlPlain" id="pageViews"&gt;&lt;/art:quaryexcute&gt;&lt;/jsp:usebean&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bcsc.lk/index.php?option=com_content&amp;amp;task=view&amp;amp;id=30&amp;amp;Itemid=13"&gt;More Details &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bcsc.lk/index.php?option=com_docman&amp;amp;task=doc_download&amp;amp;gid=16&amp;amp;Itemid=2"&gt;Download Tag library with Documentation&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-4390251803202434958?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/4390251803202434958/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=4390251803202434958' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4390251803202434958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4390251803202434958'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/07/slchart-tag-library.html' title='SlChart Open source Jsp Tag Library for Creating Data Grids'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_mUx17Avykm8/SIWw7ku78OI/AAAAAAAAANI/IJSnrjEar_o/s72-c/taglib.bmp' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-3719526053747224670</id><published>2008-07-15T11:51:00.006+05:30</published><updated>2008-07-16T10:19:16.959+05:30</updated><title type='text'>English Sinhala Dictionary for the Firefox</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_mUx17Avykm8/SHxFTiDpfaI/AAAAAAAAANA/80Ts5gsc_jQ/s1600-h/2.jpg"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://bp1.blogger.com/_mUx17Avykm8/SHxFTiDpfaI/AAAAAAAAANA/80Ts5gsc_jQ/s200/2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5223125869704871330" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.ucsc.cmb.ac.lk/ltrl"&gt;University of Colombo School of Computing Language research lab&lt;/a&gt; lunched the &lt;br /&gt;English-Sinhala dictionary for the Firefox. New release lunch for the firfox3. It is very help full project to all and &lt;a href="http://www.ucsc.cmb.ac.lk"&gt;UCSC&lt;/a&gt; language research lab done by other great project for the localize software. It is one of the best language research lab in the Asia. UCSC is the one of the main Foss contributor in the Sri Lanka. There are other lot of open source research are currently doing by the &lt;a href="http://www.ucsc.cmb.ac.lk"&gt;UCSC&lt;/a&gt;.&lt;br /&gt;                   This Firefox plug-in is very easy to install.&lt;br /&gt;For more Information Visit:-   &lt;a href="http://www.ucsc.cmb.ac.lk/ltrl"&gt;UCSC language reseurch lab&lt;/a&gt;&lt;br /&gt;&lt;a href="http://www.ucsc.cmb.ac.lk/ltrl/projects/EnSiTip/"&gt;Download plug in &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-3719526053747224670?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/3719526053747224670/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=3719526053747224670' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/3719526053747224670'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/3719526053747224670'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/07/university-of-colombo-school-of.html' title='English Sinhala Dictionary for the Firefox'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_mUx17Avykm8/SHxFTiDpfaI/AAAAAAAAANA/80Ts5gsc_jQ/s72-c/2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-4651715414683129975</id><published>2008-07-03T10:10:00.006+05:30</published><updated>2008-10-08T11:23:07.670+05:30</updated><title type='text'>Java Source code  to print Hello world without semicolon</title><content type='html'>Try to this code&lt;br /&gt;&lt;span style="font-weight:bold;"&gt; if(System.out.printf("Hello world")==System.out.printf(""))&lt;br /&gt;{&lt;br /&gt;                 &lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Try to this code&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;  if (System.out.append("hello world ") instanceof Object) &lt;br /&gt;{&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Try to this code&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;&lt;br /&gt;  try {&lt;br /&gt;            if (System.out.getClass().getDeclaredMethod("println",&lt;br /&gt;&lt;br /&gt;            Class.forName("java.lang.String")).invoke(System.out,&lt;br /&gt;                    "HelloWorld ") ==null) {&lt;br /&gt;            }&lt;br /&gt;        } catch (Exception e) {&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Try to This Code&lt;br /&gt;This code wrote by Asanka Priyanjith&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;public class MainClass {&lt;br /&gt;&lt;br /&gt;public static void main(String[] args) {&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if(System.out.printf("%s", "Hello world") != null){&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-4651715414683129975?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/4651715414683129975/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=4651715414683129975' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4651715414683129975'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4651715414683129975'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/07/how-to-print-hello-world-without.html' title='Java Source code  to print Hello world without semicolon'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-5627336258439395578</id><published>2008-06-23T12:36:00.006+05:30</published><updated>2008-07-09T18:13:30.278+05:30</updated><title type='text'>Web Server Load Balancing Survey Paper</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Abstract&lt;/span&gt;&lt;br /&gt;&lt;meta equiv="Content-Type" content="text/html; charset=utf-8"&gt;&lt;meta name="ProgId" content="Word.Document"&gt;&lt;meta name="Generator" content="Microsoft Word 11"&gt;&lt;meta name="Originator" content="Microsoft Word 11"&gt;&lt;link rel="File-List" href="file:///C:%5CDOCUME%7E1%5CCARIYA%7E1%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C02%5Cclip_filelist.xml"&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate="false" latentstylecount="156"&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;p class="MsoNormal"&gt;The popularity of the WWW has made web traffic the fastest growing component of Internet traffic. Cashing and replication is becoming a most popular method to reduce Network traffic. While caching could efficiently reduce the network traffic, only replication could be helpful for reducing web server’s response latency and increasing document availability for most popular web sites, the replication of information across independent or coordinated Mirrored servers is becoming a common choice, and among various solutions, a distributed web server system is the most promising one. The distributed web server system becomes a most famous because user doesn’t need to do anything manually. The concept of load balancing is very simple one:” Spreading the work across the several machines”. Implementation of this idea is quit complex.&lt;/p&gt;  &lt;p class="MsoNormal"&gt;An intuitive approach for load balancing among web servers is the IP-dispatcher approach. The main idea of this approach is to use a front-end dispatcher to distribute incoming requests among a set of clustered servers. Peoples are tried to upgrade hardware to increase there processing power but it’s not a cost effective solution. Load balancing is good solution for this problem. There are lots of areas in Load balancing. Load balancing in Web Server is one of the main areas.&lt;/p&gt;&lt;br /&gt;Author :- Chandima Prabath Ariyarathna(prabathmail@yahoo.com)&lt;br /&gt;University of Colombo School of Computing&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bcsc.lk/index.php?option=com_docman&amp;task=doc_download&amp;gid=11&amp;Itemid=2"&gt;Download Full Survey paper&lt;/a&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-5627336258439395578?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/5627336258439395578/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=5627336258439395578' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/5627336258439395578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/5627336258439395578'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/06/web-server-load-balancing-survay-paper.html' title='Web Server Load Balancing Survey Paper'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-3131930636954794861</id><published>2008-06-11T13:23:00.002+05:30</published><updated>2008-06-11T13:27:39.682+05:30</updated><title type='text'>Liferay Portal</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_mUx17Avykm8/SE-E924WmvI/AAAAAAAAAMw/_dpBYlB6tHQ/s1600-h/article.gif"&gt;&lt;img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer;" src="http://3.bp.blogspot.com/_mUx17Avykm8/SE-E924WmvI/AAAAAAAAAMw/_dpBYlB6tHQ/s200/article.gif" alt="" id="BLOGGER_PHOTO_ID_5210529492129716978" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Liferay Portal is the world's leading open source enterprise portal solution using the latest in Java and Web 2.0 technologies.&lt;br /&gt;&lt;br /&gt;   * Built in Content Management System (CMS) &amp;amp; Collaboration Suite&lt;br /&gt;   * Out-of-the-box usablility—choose from over 60 portlets&lt;br /&gt;   * Out-of-the-box development tools&lt;br /&gt;   * Out-of-the-box localization to 22 languages!&lt;br /&gt;   * Runs on all major application servers, databases and operating systems&lt;br /&gt;   *     Benchmarked among the  most secure portal platforms&lt;br /&gt;   *  Business-friendly MIT License  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Created for the enterprise, Liferay Portal provides a virtual space where you can centralize, share and collaborate.&lt;br /&gt;&lt;br /&gt;Built with the end user in mind, Liferay Portal's award winning user interface is easy enough to master by even the least technical of users.&lt;br /&gt;&lt;br /&gt;Liferay Portal also remains one of the most popular portal technologies within the developer community with an ever-growing list of features that help your IT team deploy business solutions with minimal time and effort.&lt;br /&gt;&lt;br /&gt;Fore More Details:----   &lt;a href="https://www.liferay.com"&gt;https://www.liferay.com&lt;/a&gt;&lt;br /&gt;Tutorial:----  &lt;a href="https://www.liferay.com/web/guest/documentation/4_4"&gt;https://www.liferay.com/web/guest/documentation/4_4&lt;/a&gt;&lt;br /&gt;Download:--&lt;a href="http://www.liferay.com/web/guest/downloads/portal"&gt; http://www.liferay.com/web/guest/downloads/portal&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-3131930636954794861?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/3131930636954794861/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=3131930636954794861' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/3131930636954794861'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/3131930636954794861'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/06/liferay-portal.html' title='Liferay Portal'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_mUx17Avykm8/SE-E924WmvI/AAAAAAAAAMw/_dpBYlB6tHQ/s72-c/article.gif' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-4689782093525121093</id><published>2008-05-30T14:08:00.005+05:30</published><updated>2008-06-04T19:56:54.435+05:30</updated><title type='text'>Java Library to get Folder Content</title><content type='html'>&lt;span style="font-weight:bold;"&gt;FolderContentLib&lt;/span&gt; is the java library published under GPL license written by &lt;span style="font-weight:bold;"&gt;Chandima prabath ariyarathna&lt;/span&gt;. Using this library, you can check all file and file path inside the folder include the file which are include in the subfolders .&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Features:-&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;File content(String folderPath)&lt;/span&gt;&lt;br /&gt;Using this method you can get file names which are inside the folder.This method return String Array.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;PathContent(String folderPath)&lt;/span&gt;&lt;br /&gt;Using this method you can get file names and path which are inside the folder.This method return String Array.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;How to access:-&lt;/span&gt;&lt;br /&gt;Example source code to access library.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_mUx17Avykm8/SD_CSYB-ATI/AAAAAAAAAK4/ArH4jBw4rdE/s1600-h/code.JPG"&gt;&lt;img style="display:block; margin:0px auto 30px; text-align:center;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_mUx17Avykm8/SD_CSYB-ATI/AAAAAAAAAK4/ArH4jBw4rdE/s200/code.JPG" border="0" alt=""id="BLOGGER_PHOTO_ID_5206093315207725362" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;If you want to get source code Click on the picture&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://nuwanonline.com/download/FolderContentLib.jar"&gt;Download Lib&lt;/a&gt;                                    &lt;a href="http://nuwanonline.com/download/FolderConte.java"&gt;Download Source&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-4689782093525121093?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/4689782093525121093/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=4689782093525121093' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4689782093525121093'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4689782093525121093'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/05/java-library-to-get-folder-content.html' title='Java Library to get Folder Content'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_mUx17Avykm8/SD_CSYB-ATI/AAAAAAAAAK4/ArH4jBw4rdE/s72-c/code.JPG' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-85192147218667935</id><published>2008-05-28T09:12:00.003+05:30</published><updated>2008-05-29T19:41:02.083+05:30</updated><title type='text'>Open source license</title><content type='html'>&lt;span style="font-weight:bold;"&gt;software licensing&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Allowing an individual or group to use a piece of software. Nearly all applications are licensed rather than sold. There are a variety of different types of software licenses. Some are based on the number machines on which the licensed program can run whereas others are based on the number of users that can use the program. Most personal computer software licenses allow you to run the program on only one machine and to make copies of the software only for backup purposes. Some licenses also allow you to run the program on different computers as long as you don't use the copies simultaneously&lt;br /&gt;&lt;br /&gt;Reference:-webopedia&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;GNU LESSER GENERAL PUBLIC LICENSE&lt;/span&gt;&lt;br /&gt;Copyright (C) 2007 Free Software Foundation, Inc. &lt;http://fsf.org/&gt;&lt;br /&gt;&lt;br /&gt;Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed.&lt;br /&gt;&lt;br /&gt;This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Additional Definitions.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;As used herein, “this License” refers to version 3 of the GNU Lesser General Public License, and the “GNU GPL” refers to version 3 of the GNU General Public License.&lt;br /&gt;&lt;br /&gt;“The Library” refers to a covered work governed by this License, other than an Application or a Combined Work as defined below.&lt;br /&gt;&lt;br /&gt;An “Application” is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library.&lt;br /&gt;&lt;br /&gt;A “Combined Work” is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the “Linked Version”.&lt;br /&gt;&lt;br /&gt;The “Minimal Corresponding Source” for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version.&lt;br /&gt;&lt;br /&gt;The “Corresponding Application Code” for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work.&lt;br /&gt;&lt;br /&gt;Referense :-http://www.gnu.org&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-85192147218667935?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/85192147218667935/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=85192147218667935' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/85192147218667935'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/85192147218667935'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/05/open-source-license.html' title='Open source license'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-4937195787135642411</id><published>2008-05-22T10:03:00.001+05:30</published><updated>2008-05-22T10:05:23.504+05:30</updated><title type='text'>Get Local Ip address using java</title><content type='html'>Its very simple ,for the testing you want to import "java.net.InetAddress" package&lt;br /&gt;       &lt;br /&gt;//Get an instance of InetAddress for the local computer&lt;br /&gt; InetAddress inetAddress = InetAddress.getLocalHost();&lt;br /&gt;  &lt;br /&gt;//Get a string representation of the ip address&lt;br /&gt; String ipAddress = inetAddress.getHostAddress();&lt;br /&gt;  &lt;br /&gt;//Print the ip address&lt;br /&gt; System.out.println(ipAddress);&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-4937195787135642411?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/4937195787135642411/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=4937195787135642411' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4937195787135642411'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4937195787135642411'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/05/get-local-ip-address-using-java.html' title='Get Local Ip address using java'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-6982838258862645567</id><published>2008-05-09T09:32:00.002+05:30</published><updated>2008-05-22T09:08:35.102+05:30</updated><title type='text'>Java Source code to check patition free space in Linux &amp; Windows</title><content type='html'>this is java code for check free space in partition..  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;private static final Pattern NON_DIGIT = Pattern.compile("(([^0-9]*))");&lt;br /&gt;     private static final Pattern WORDS = Pattern.compile("(\\s*(\\S+)\\s*)");&lt;br /&gt;  &lt;br /&gt;     public static long getFreeSpace(File file) {&lt;br /&gt;         final String osName = System.getProperty("os.name");&lt;br /&gt;         try {&lt;br /&gt;             if (osName.indexOf("Windows") != -1) {&lt;br /&gt;                 return freeSpaceWindow(file);&lt;br /&gt;             } else if (osName.equals("Linux")) {&lt;br /&gt;                 return freeSpaceUnix(file);&lt;br /&gt;             } else {&lt;br /&gt;                 System.err.println("Unknown os=" + osName);&lt;br /&gt;                 return freeSpaceUnix(file);&lt;br /&gt;             }&lt;br /&gt;         } catch (IOException ex) {&lt;br /&gt;             ex.printStackTrace(System.err);&lt;br /&gt;             return -1;&lt;br /&gt;         }&lt;br /&gt;     } // end getFreeSpace&lt;br /&gt;  &lt;br /&gt;     private static long freeSpaceUnix(File file) throws IOException {&lt;br /&gt;         Process process = Runtime.getRuntime().exec("df");&lt;br /&gt;         BufferedReader reader = new BufferedReader(new InputStreamReader(process.getInputStream()));&lt;br /&gt;         String line;&lt;br /&gt;         List vectorinfos = new ArrayList(8);&lt;br /&gt;         while ((line = reader.readLine()) != null) {&lt;br /&gt;             if (line.charAt(0) == '/') {&lt;br /&gt;                 vectorinfos.add(WORDS.split(line));&lt;br /&gt;             } // end if line.startwith("/")&lt;br /&gt;         } // end while&lt;br /&gt;         for (int i = vectorinfos.size() - 1; i &gt;= 0; i--) {&lt;br /&gt;             String[] info = (String[]) vectorinfos.get(i);&lt;br /&gt;             if (file.getAbsolutePath().indexOf(info[5]) != -1) {&lt;br /&gt;                 return Long.parseLong(info[3]);&lt;br /&gt;             } // end if&lt;br /&gt;         } // end for&lt;br /&gt;         return -1;&lt;br /&gt;     }&lt;br /&gt;  &lt;br /&gt;     private static long freeSpaceWindow(File file) throws IOException {&lt;br /&gt;     &lt;br /&gt;         Process process = Runtime.getRuntime().exec("cmd /c dir /-c " + file.getAbsolutePath());&lt;br /&gt;         BufferedReader reader = new BufferedReader(new InputStreamReader(process.getInputStream()));&lt;br /&gt;         String line;&lt;br /&gt;         while ((line = reader.readLine()) != null &amp;&amp; !line.endsWith("libres") &amp;&amp; !line.endsWith("free")) { }&lt;br /&gt;         if (line == null) {&lt;br /&gt;             return -1;&lt;br /&gt;         }&lt;br /&gt;         line = line.substring(line.lastIndexOf(")") + 1);&lt;br /&gt;         Matcher matcher = NON_DIGIT.matcher(line);&lt;br /&gt;         line = matcher.replaceAll("");&lt;br /&gt;         return Long.parseLong(line);&lt;br /&gt;     }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-6982838258862645567?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/6982838258862645567/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=6982838258862645567' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/6982838258862645567'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/6982838258862645567'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/05/source-code-to-check-patition-free.html' title='Java Source code to check patition free space in Linux &amp; Windows'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-1250170382792938365</id><published>2008-05-02T18:09:00.003+05:30</published><updated>2008-05-02T18:13:11.291+05:30</updated><title type='text'>How to write Port Scaner using Java</title><content type='html'>This is source code for port scanner.Very easy to implement.If port is available return true.If port is unavailable return false.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;public static boolean PortScanner(String host,int port) throws UnknownHostException&lt;br /&gt;{&lt;br /&gt; &lt;br /&gt; Socket worker = null; //makes all the connections&lt;br /&gt; int Port =port;  //make port&lt;br /&gt; InetAddress hostAddress;   //stores the IP address of the target&lt;br /&gt;  boolean status=false; &lt;br /&gt;  String Host=host;&lt;br /&gt;&lt;br /&gt;  hostAddress=InetAddress.getByName(Host);&lt;br /&gt;  &lt;br /&gt;  try&lt;br /&gt;        {               &lt;br /&gt;            worker= new Socket(hostAddress,Port);                  &lt;br /&gt;            status=true;                          &lt;br /&gt;        }&lt;br /&gt;        catch(java.io.IOException e)&lt;br /&gt;        {&lt;br /&gt;            status=false;                &lt;br /&gt;        }&lt;br /&gt;  &lt;br /&gt;        finally&lt;br /&gt;        {&lt;br /&gt;            try&lt;br /&gt;            {&lt;br /&gt;             worker.close();&lt;br /&gt;            }&lt;br /&gt;            catch(java.io.IOException e){}      &lt;br /&gt;            catch(NullPointerException e){}&lt;br /&gt;        }&lt;br /&gt;        &lt;br /&gt;       return status;       &lt;br /&gt;    }&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-1250170382792938365?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/1250170382792938365/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=1250170382792938365' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/1250170382792938365'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/1250170382792938365'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/05/how-to-write-port-scaner-using-java.html' title='How to write Port Scaner using Java'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-2860436078583191473</id><published>2008-04-25T14:13:00.002+05:30</published><updated>2008-04-25T14:19:38.809+05:30</updated><title type='text'>Best Open Source  Reporting Engine</title><content type='html'>Jasper is open source java base reporting engine.I used jasper for report generated for   &lt;br /&gt;my project.wow it's very nice.I,m used ireport visual tool for Report designing.There are lot of features for designing report.It's very easy and can generate very nicely.Ireport tool provide some nice templates.We can use this templates also.&lt;br /&gt;You can try it for the more details &lt;span style="font-weight:bold;"&gt;&lt;a href="http://www.jasperforge.org/"&gt;click here&lt;/a&gt; &lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-2860436078583191473?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/2860436078583191473/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=2860436078583191473' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/2860436078583191473'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/2860436078583191473'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/04/best-open-source-reporting-engine.html' title='Best Open Source  Reporting Engine'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-462317896327860520</id><published>2008-04-25T13:07:00.001+05:30</published><updated>2008-04-25T13:09:38.458+05:30</updated><title type='text'>Download Ubuntu 8.04 here</title><content type='html'>The fastest way for most people to get Ubuntu is by downloading the CD Installer. The CD Installer is nearly 700MB. If you don't have a fast internet connection you may want to consider requesting a CD.&lt;br /&gt;&lt;a href="http://www.ubuntu.com/getubuntu/download"&gt;&lt;span style="font-weight:bold;"&gt;Download&lt;/span&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-462317896327860520?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/462317896327860520/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=462317896327860520' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/462317896327860520'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/462317896327860520'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/04/download-ubuntu-804-here.html' title='Download Ubuntu 8.04 here'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-702691712537887652</id><published>2008-04-22T10:33:00.004+05:30</published><updated>2008-04-22T12:27:53.297+05:30</updated><title type='text'>Ubuntu Mobile Edition</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_mUx17Avykm8/SA1ywbXTZvI/AAAAAAAAAKM/cf1lJSV3_Q0/s1600-h/html-small.jpg"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_mUx17Avykm8/SA1ywbXTZvI/AAAAAAAAAKM/cf1lJSV3_Q0/s200/html-small.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5191932121732835058" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ubuntu Mobile is an Ubuntu edition that targets an exciting new class of computers called Mobile Internet Devices.&lt;br /&gt;Ubuntu Mobile, based on the world's most popular Linux distribution, and MID hardware from OEMs and ODMs, are redefining what can be done in mobile computing.&lt;br /&gt;&lt;br /&gt;Ubuntu Mobile, a fully open source project, gives full Internet, with no compromise. Custom options may include licensed codecs and popular third-party applications.&lt;br /&gt;&lt;br /&gt;    * Full Web 2.0/AJAX fidelity, with custom options of Adobe Flash®, Java, and more&lt;br /&gt;    * Outstanding media playback so you can enjoy videos, music and photos with superior quality and easy navigation&lt;br /&gt;    * A suite of applications that work seamlessly to meet every need of a digital parent, student or anyone who is on-the-go&lt;br /&gt;    * Facebook®, MySpace®, YouTube®, Dailymotion®, 3D games, GPS, maps, in short, the full Web 2.0 experience delivered into your hands as a compact and powerful device that's easy and fun to use&lt;br /&gt;&lt;br /&gt;The product of Canonical collaboration with Intel® and the open source community, Ubuntu Mobile is the software that makes it all possible.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Just the right stuff&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Ubuntu Mobile just works, and it works just right.&lt;br /&gt;&lt;br /&gt;Just the right applications provide an uncompromised Web 2.0 experience: Web browsing, email, media, camera, VoIP, instant messaging, GPS, blogging, digital TV, games, contacts, dates/calendar, simple software updates... and lots more.&lt;br /&gt;&lt;br /&gt;All unnecessary complexity in the user experience is eliminated.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Finger friendly, touch driven&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;Ubuntu Mobile is finger friendly, with no stylus needed. You drive Ubuntu Mobile with touch. Simply tap the screen or drag a finger to make gestures for intuitive navigation and control.&lt;br /&gt;&lt;br /&gt;    * Tap an application with your finger to launch it, and tap menus and buttons to use them.&lt;br /&gt;    * Swipe a web page to pan up, down or sideways.&lt;br /&gt;    * Swipe a video, photo, song or thumbnail page to move to the next or the previous one.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Leveraging the MID&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;MIDs typically have the following features and attributes:&lt;br /&gt;&lt;br /&gt;    * Small size/form factor&lt;br /&gt;    * 4 to 7 inch touch screen&lt;br /&gt;    * Physical and/or virtual keyboard&lt;br /&gt;    * Wi-Fi, 3G, Bluetooth, GPS, WiMAX&lt;br /&gt;    * 2GB to 8GB Flash or disk storage, 256MB+ memory/512MB+ recommended&lt;br /&gt;    * OpenGL 3D&lt;br /&gt;    * USB, camera, head phone jack, speakers, microphone&lt;br /&gt;&lt;br /&gt;Customizable&lt;br /&gt;Clutter User Interface&lt;br /&gt;&lt;br /&gt;Clutter UI&lt;br /&gt;Flash User Interface&lt;br /&gt;&lt;br /&gt;Flash UI&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Ubuntu Mobile is highly flexible and customizable. It is an ideal platform for the kind of product differentiation that reaches target users and penetrates key markets.&lt;br /&gt;&lt;br /&gt;    * User interface in HTML, Flash, Clutter, Python with GTK, C/C++ with GTK and Java&lt;br /&gt;    * Different application sets for different products or configurations&lt;br /&gt;    * Integration with popular Web 2.0 sites&lt;br /&gt;    * Internationalization and translation support to meet market requirements&lt;br /&gt;    * Custom sets of licensed media codecs and third-party proprietary software for commercial partners&lt;br /&gt;    * Custom engineering&lt;br /&gt;&lt;br /&gt;OEMs, ODMs, operators and developers can customize Ubuntu Mobile to their desired look and feel and offer just the right capabilities to meet their specific requirements. Canonical can assist through its Custom Engineering program.&lt;br /&gt;For information about Canonical custom engineering services, email mobile@canonical.com.&lt;br /&gt;Community&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_mUx17Avykm8/SA1ybrXTZuI/AAAAAAAAAKE/uVrTA8Tktls/s1600-h/clutter-small.jpg"&gt;&lt;img style="float:right; margin:0 0 10px 10px;cursor:pointer; cursor:hand;" src="http://1.bp.blogspot.com/_mUx17Avykm8/SA1ybrXTZuI/AAAAAAAAAKE/uVrTA8Tktls/s200/clutter-small.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5191931765250549474" /&gt;&lt;/a&gt;&lt;br /&gt;The Ubuntu Mobile community includes many individuals and organizations and always welcomes new participants and partners.&lt;br /&gt;&lt;br /&gt;Places to get started:&lt;br /&gt;&lt;br /&gt;    * For information about Ubuntu Mobile, see http://wiki.ubuntu.com/MobileAndEmbedded&lt;br /&gt;    * For information about Intel's MID Linux Moblin project, see http://moblin.org&lt;br /&gt;&lt;br /&gt;More information&lt;br /&gt;&lt;br /&gt;    * For more information about Ubuntu Mobile, download the datasheet.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-702691712537887652?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/702691712537887652/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=702691712537887652' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/702691712537887652'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/702691712537887652'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/04/ubuntu-mobile-edition.html' title='Ubuntu Mobile Edition'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_mUx17Avykm8/SA1ywbXTZvI/AAAAAAAAAKM/cf1lJSV3_Q0/s72-c/html-small.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-1466572968834787063</id><published>2008-04-16T12:19:00.004+05:30</published><updated>2008-04-16T12:26:49.727+05:30</updated><title type='text'>Run Windows and Linux without virtualization</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_mUx17Avykm8/SAWiHrQuuGI/AAAAAAAAAJ0/yJHfA_99gD8/s1600-h/131753-1-thumb.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://4.bp.blogspot.com/_mUx17Avykm8/SAWiHrQuuGI/AAAAAAAAAJ0/yJHfA_99gD8/s200/131753-1-thumb.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5189732398370044002" /&gt;&lt;/a&gt;&lt;br /&gt;Linux does everything that many users want it to, but some people have tasks that require Windows applications. You can dual-boot both operating systems, or run Windows in a virtualized environment on Linux. Alas, virtualization makes the guest OS almost useless for processor- and RAM-intensive tasks like editing videos and playing games. Now, a Ubuntu-based distro called andLinux takes cooperation with Windows to a whole new level.&lt;br /&gt;The miracle ingredient in andLinux is its coLinux kernel. The coLinux project takes a stable release of the Linux kernel and ports it to run on Windows. That means that, unlike virtualization software, andLinux installs on Windows like any other application. &lt;br /&gt;          But there's more to andLinux than just sticking the coLinux kernel in a stock Ubuntu. According to Joachim Gehweiler, one of the developers of andLinux, the project also had to roll in the Xming X server and PulseAudio sound server and make sure these components work together.&lt;br /&gt;&lt;a href="http://www.linux.com/feature/131753"&gt;Read more..........&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-1466572968834787063?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/1466572968834787063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=1466572968834787063' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/1466572968834787063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/1466572968834787063'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/04/run-windows-and-linux-without.html' title='Run Windows and Linux without virtualization'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_mUx17Avykm8/SAWiHrQuuGI/AAAAAAAAAJ0/yJHfA_99gD8/s72-c/131753-1-thumb.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-2258486499777373911</id><published>2008-04-09T15:45:00.004+05:30</published><updated>2008-04-09T15:53:10.872+05:30</updated><title type='text'>How to Customize Ubuntu</title><content type='html'>&lt;a href="http://reconstructor.aperantis.com/"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mUx17Avykm8/R_yYlsWJOuI/AAAAAAAAAJs/Kr5K5vof3WA/s1600-h/reconstructor.png"&gt;&lt;img style="float:left; margin:0 10px 10px 0;cursor:pointer; cursor:hand;" src="http://2.bp.blogspot.com/_mUx17Avykm8/R_yYlsWJOuI/AAAAAAAAAJs/Kr5K5vof3WA/s200/reconstructor.png" border="0" alt=""id="BLOGGER_PHOTO_ID_5187188644150590178" /&gt;&lt;/a&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://reconstructor.aperantis.com/"&gt;Reconstructor is an Ubuntu GNU/Linux CD Creator.&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It uses the Desktop(Live), Alternate(Install), or Server disc as a base, and then allows for user customization.&lt;br /&gt;For the Ubuntu Desktop base, you can customize the entire environment.  For instance, you can add/remove software, change the default look (splash, themes, fonts, wallpaper, etc.), add desktop links, etc. &lt;br /&gt;For the Alternate and Server bases, you can add any additional software to the disc that you would like installed.&lt;br /&gt;Reconstructor is written in python and is licensed under the GNU General Public License (GPL).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-2258486499777373911?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/2258486499777373911/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=2258486499777373911' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/2258486499777373911'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/2258486499777373911'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/04/how-to-customize-ubuntu.html' title='How to Customize Ubuntu'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_mUx17Avykm8/R_yYlsWJOuI/AAAAAAAAAJs/Kr5K5vof3WA/s72-c/reconstructor.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-4217610191616054128</id><published>2008-04-09T10:58:00.001+05:30</published><updated>2008-04-10T13:24:43.846+05:30</updated><title type='text'>My Free and Open Source Project</title><content type='html'>I desired to start a FOSS project because Sri Lanka is one of the main Foss contributors in the world. But we haven’t enough Foss projects. There are very good project like “Sahana” but it’s not sufficient.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;About “&lt;a href="https://sourceforge.net/projects/alokayasl/"&gt;ALOKAYA&lt;/a&gt;” project&lt;/span&gt;&lt;br /&gt;This is neural network framework for Linux. Any AI base software can build on this framework. Very easy to develop software on this framework. This is not traditional framework. This framework provide framework + libries for the development project&lt;br /&gt;&lt;br /&gt;Join with this project......&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-4217610191616054128?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/4217610191616054128/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=4217610191616054128' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4217610191616054128'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4217610191616054128'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/04/my-free-and-open-source-project.html' title='My Free and Open Source Project'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-6727396028651186304</id><published>2008-04-09T09:04:00.000+05:30</published><updated>2008-04-09T09:06:05.404+05:30</updated><title type='text'>How to creat an iso image in Linux</title><content type='html'>it is very easy.&lt;br /&gt;Go to the terminal screen&lt;br /&gt;type this command&lt;br /&gt;&lt;br /&gt;dd if=/dev/cdrom of=/image.iso&lt;br /&gt;&lt;br /&gt;using this command you can creat iso image ver&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-6727396028651186304?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/6727396028651186304/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=6727396028651186304' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/6727396028651186304'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/6727396028651186304'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/04/how-to-creat-iso-image-in-linux.html' title='How to creat an iso image in Linux'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-4986319537219974255</id><published>2008-04-08T16:09:00.000+05:30</published><updated>2008-04-08T16:13:40.088+05:30</updated><title type='text'>Introduction to Ubuntu 8.04 Beta</title><content type='html'>The Ubuntu developers are moving very quickly to bring you the absolute latest and greatest software the open source community has to offer. This is the Ubuntu 8.04 beta release, which brings a host of excellent new features.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Note&lt;/span&gt;: This is still a beta release. Do not install it on production machines. The final stable version will be released in April 2008. &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Download&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Get it while it's hot. ISOs and torrents are available at:&lt;br /&gt;&lt;br /&gt;      http://releases.ubuntu.com/releases/8.04 (Ubuntu)&lt;br /&gt;      http://releases.ubuntu.com/releases/edubuntu/8.04 (Edubuntu add-on)&lt;br /&gt;      http://releases.ubuntu.com/releases/kubuntu/8.04 (Kubuntu)&lt;br /&gt;      http://cdimage.ubuntu.com/kubuntu-kde4/releases/8.04/beta (Kubuntu with KDE4)&lt;br /&gt;      http://cdimage.ubuntu.com/jeos/releases/8.04/beta (Ubuntu JeOS)&lt;br /&gt;      http://cdimage.ubuntu.com/xubuntu/releases/8.04/beta (Xubuntu)&lt;br /&gt;      http://cdimage.ubuntu.com/ubuntustudio/releases/8.04/beta (UbuntuStudio)&lt;br /&gt;      http://cdimage.ubuntu.com/mythbuntu/releases/8.04/beta (Mythbuntu)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-4986319537219974255?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/4986319537219974255/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=4986319537219974255' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4986319537219974255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4986319537219974255'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/04/introduction-to-ubuntu-804-beta.html' title='Introduction to Ubuntu 8.04 Beta'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-7140240536366642229</id><published>2008-04-08T15:51:00.000+05:30</published><updated>2008-04-08T15:57:12.037+05:30</updated><title type='text'>Ubuntu Networking Configuration Using Command Line</title><content type='html'>You can configure a network interface from the command line using the networking utilities. You configure your network client hosts with the command line by using commands to change your current settings or by editing a number of system files.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Configuring DHCP(Dynamic Host Configuration Protocol ) address for your network card&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you want to configure DHCP address you need to edit the /etc/network/interfaces and you need to enter the following lines replace eth0 with your network interface card&lt;br /&gt;&lt;br /&gt;sudo vi /etc/network/interfaces&lt;br /&gt;&lt;br /&gt;# The primary network interface - use DHCP to find our address&lt;br /&gt;auto eth0&lt;br /&gt;iface eth0 inet dhcp&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Configuring Static IP address for your network card&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;If you want to configure Static IP address you need to edit the /etc/network/interfaces and you need to enter the following lines replace eth0 with your network interface card&lt;br /&gt;&lt;br /&gt;sudo vi /etc/network/interfaces&lt;br /&gt;&lt;br /&gt;# The primary network interface&lt;br /&gt;auto eth0&lt;br /&gt;iface eth0 inet static&lt;br /&gt;address 192.168.3.90&lt;br /&gt;gateway 192.168.3.1&lt;br /&gt;netmask 255.255.255.0&lt;br /&gt;network 192.168.3.0&lt;br /&gt;broadcast 192.168.3.255&lt;br /&gt;&lt;br /&gt;After entering all the details you need to restart networking services using the following command&lt;br /&gt;&lt;br /&gt;sudo /etc/init.d/networking restart&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Setting your ubuntu stytem hostname&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Setting up your hostname upon a ubuntu installation is very straightforward. You can directly query, or set, the hostname with the hostname command.&lt;br /&gt;&lt;br /&gt;As an user you can see your current hostname with&lt;br /&gt;&lt;br /&gt;sudo /bin/hostname&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Example&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;To set the hostname directly you can become root and run&lt;br /&gt;&lt;br /&gt;sudo /bin/hostname newname&lt;br /&gt;&lt;br /&gt;When your system boots it will automatically read the hostname from the file /etc/hostname&lt;br /&gt;&lt;br /&gt;If you want to know more about how to setup host name check here&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Setting up DNS&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;When it comes to DNS setup Ubuntu doesn’t differ from other distributions. You can add hostname and IP addresses to the file /etc/hosts for static lookups.&lt;br /&gt;&lt;br /&gt;To cause your machine to consult with a particular server for name lookups you simply add their addresses to /etc/resolv.conf.&lt;br /&gt;&lt;br /&gt;For example a machine which should perform lookups from the DNS server at IP address 192.168.3.2 would have a resolv.conf file looking like this&lt;br /&gt;&lt;br /&gt;sudo vi /etc/resolv.conf&lt;br /&gt;&lt;br /&gt;enter the following details&lt;br /&gt;&lt;br /&gt;search test.com&lt;br /&gt;nameserver 192.168.3.2&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-7140240536366642229?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/7140240536366642229/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=7140240536366642229' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/7140240536366642229'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/7140240536366642229'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/04/ubuntu-networking-configuration-using.html' title='Ubuntu Networking Configuration Using Command Line'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-3569317016253436364</id><published>2008-04-07T11:41:00.000+05:30</published><updated>2008-04-07T11:46:35.847+05:30</updated><title type='text'>How to find File in Linux</title><content type='html'>For that we can use "find" command.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;EXAMPLES&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;find /home -user joe&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Find every file under the directory /home owned by the user joe.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;find /usr -name *stat&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Find every file under the directory /usr ending in ".stat".&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;find /var/spool -mtime +60&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Find every file under the directory /var/spool that was modified more than 60 days ago.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;find /tmp -name core -type f -print | xargs /bin/rm -f&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Find files named core in or below the directory /tmp and delete them. Note that this will work incorrectly if there are any filenames containing newlines, single or double quotes, or spaces.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;find /tmp -name core -type f -print0 | xargs -0 /bin/rm -f&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Find files named core in or below the directory /tmp and delete them, processing filenames in such a way that file or directory names containing single or double quotes, spaces or newlines are correctly handled. The -name test comes before the -type test in order to avoid having to call stat(2) on every file.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;find . -type f -exec file '{}' \;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Runs `file' on every file in or below the current directory. Notice that the braces are enclosed in single quote marks to protect them from interpretation as shell script punctuation. The semicolon is similarly protected by the use of a backslash, though ';' could have been used in that case also.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;find /       \( -perm -4000 -fprintf /root/suid.txt '%#m %u %p\n' \) , \&lt;br /&gt;             \( -size +100M -fprintf /root/big.txt  '%-10s %p\n' \)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Traverse the filesystem just once, listing setuid files and directories into /root/suid.txt and large files into /root/big.txt.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;find $HOME  -mtime 0&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Search for files in your home directory which have been modified in the last twenty-four hours. This command works this way because the time since each file was last modified is divided by 24 hours and any remainder is discarded. That means that to match -mtime&lt;br /&gt;&lt;br /&gt;0, a file will have to have a modification in the past which is less than 24 hours ago.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;find . -perm 664&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Search for files which have read and write permission for their owner, and group, but which other users can read but not write to. Files which meet these criteria but have other permissions bits set (for example if someone can execute the file) will not be matched.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;find . -perm -664&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Search for files which have read and write permission for their owner and group, and which other users can read, without regard to the presence of any extra permission bits (for example the executable bit). This will match a file which has mode 0777, for example.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;find . -perm /222&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Search for files which are writable by somebody (their owner, or their group, or anybody else).&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;find . -perm /220&lt;br /&gt;find . -perm /u+w,g+w&lt;br /&gt;find . -perm /u=w,g=w&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;All three of these commands do the same thing, but the first one uses the octal representation of the file mode, and the other two use the symbolic form. These commands all search for files which are writable by either their owner or their group. The files don't have to be writable by both the owner and group to be matched; either will do.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;find . -perm -220&lt;br /&gt;find . -perm -g+w,u+w&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Both these commands do the same thing; search for files which are writable by both their owner and their group.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;find . -perm -444 -perm /222 ! -perm /111&lt;br /&gt;find . -perm -a+r -perm /a+w ! -perm /a+x&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;These two commands both search for files that are readable for everybody (-perm -444 or -perm -a+r), have at least on write bit set (-perm /222 or -perm /a+w) but are not executable for anybody (! -perm /111 and ! -perm /a+x respectively)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-3569317016253436364?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/3569317016253436364/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=3569317016253436364' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/3569317016253436364'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/3569317016253436364'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/04/how-to-find-file-in-linux.html' title='How to find File in Linux'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-6692609444798209628</id><published>2008-04-01T15:37:00.000+05:30</published><updated>2008-04-01T15:38:11.800+05:30</updated><title type='text'>Repo Linux Command for Ubuntu</title><content type='html'>1. Created /opt/repo directory (could be the home directory)&lt;br /&gt;2. Created the directory /opt/repo/binary (copied from Debian specs)&lt;br /&gt;3. Copied all debs from my update from /var/cache/apt/archives to /opt/repo/binary&lt;br /&gt;4. Executed dpkg-scanpackages like this:&lt;br /&gt;# pwd&lt;br /&gt;/opt/repo&lt;br /&gt;# dpkg-scanpackages binary /dev/null | gzip -9c &gt; binary/Packages.gz&lt;br /&gt;5. Burned a CD with its contents&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-6692609444798209628?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/6692609444798209628/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=6692609444798209628' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/6692609444798209628'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/6692609444798209628'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/04/repo-linux-command-for-ubuntu.html' title='Repo Linux Command for Ubuntu'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-5006385327479667510</id><published>2008-03-10T15:59:00.000+05:30</published><updated>2008-03-11T14:04:44.393+05:30</updated><title type='text'>Best Site for Tutorial</title><content type='html'>Using this link you can find best tutorial for these fields--&gt;&lt;br /&gt;Java ,JSP ,EJB ,Delphi ,C++ ,Ajax ,UML ,JavaScript ,PHP ,Web Design ,Web Hosting ,SQL Server ,Oracle,.NET, ASP.NET ,C# ,ASP ,Visual Basic&lt;br /&gt;&lt;br /&gt;Click:-&lt;a href="http://www.visualbuilder.com"&gt;visualbuilder&lt;/a&gt;,&lt;a href="http://www.java2s.com"&gt;java2s&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-5006385327479667510?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/5006385327479667510/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=5006385327479667510' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/5006385327479667510'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/5006385327479667510'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/03/best-site-for-tutorial.html' title='Best Site for Tutorial'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-9020341745490551498</id><published>2008-03-07T23:16:00.000+05:30</published><updated>2008-03-10T16:54:31.994+05:30</updated><title type='text'>Madura Dictionary on Linux</title><content type='html'>I,m try to install ubuntu on the Linux.First i,m instal wine and next install Madura english sinhala Dictionary on the wine.it is very easy.these are the steps you want to follow.&lt;br /&gt;&lt;div&gt;&lt;div&gt;&lt;ul&gt;&lt;br /&gt;&lt;li&gt;First you want to install wine.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Doble click the madura setup icon&lt;br /&gt;&lt;/li&gt;&lt;img id="BLOGGER_PHOTO_ID_5175058912084719586" style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://4.bp.blogspot.com/_mUx17Avykm8/R9GAqXKHd-I/AAAAAAAAAJE/FEW_yw-pCrQ/s200/Screenshot-2.png" border="0" height="180" width="251" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;Select the installation path&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Following setup instruction.&lt;br /&gt;&lt;img id="BLOGGER_PHOTO_ID_5175059350171383794" style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://2.bp.blogspot.com/_mUx17Avykm8/R9GBD3KHd_I/AAAAAAAAAJM/wnTzncFBPuM/s200/Screenshot-3.png" border="0" /&gt;&lt;/li&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;li&gt;Then you want to install Madura font to linux.I'm try to this in Ubuntu 7.10.In this OS there is folder call "share" --&gt;usr/share&lt;br /&gt;&lt;/li&gt;&lt;li&gt;There are font called "Madura.ttf".this font file move to the "share" folder.&lt;br /&gt;&lt;br /&gt;This is the final view of Madura dictionary. &lt;/li&gt;&lt;/ul&gt;&lt;img id="BLOGGER_PHOTO_ID_5175059882747328514" style="margin: 0px auto 10px; display: block; text-align: center;" alt="" src="http://2.bp.blogspot.com/_mUx17Avykm8/R9GBi3KHeAI/AAAAAAAAAJU/ei82s8eW7Rs/s200/Screenshot.png" border="0" /&gt;&lt;br /&gt;&lt;a href="http://www.madhura.lk"&gt;Download Madura&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-9020341745490551498?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/9020341745490551498/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=9020341745490551498' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/9020341745490551498'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/9020341745490551498'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/03/madura-dictionary-on-linux.html' title='Madura Dictionary on Linux'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_mUx17Avykm8/R9GAqXKHd-I/AAAAAAAAAJE/FEW_yw-pCrQ/s72-c/Screenshot-2.png' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-4879881185283461078</id><published>2008-03-07T14:53:00.000+05:30</published><updated>2008-03-07T16:13:39.434+05:30</updated><title type='text'>J2ee Architecture</title><content type='html'>J2ee is a java core architecture.It is a famous technology for the enterprise application.Consider about j2ee there are lot of technology.&lt;ul&gt;&lt;li&gt;Jsp&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;ejb&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Servlet&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Jms&lt;/li&gt;&lt;/ul&gt;These are the main technologies in J2ee.These are introduced by Sun micro system.There are lot of design patterns in j2ee.I,m familiar with MVC design pattern.Lot of application developed using MVC architecture.M-model, V-view, C-control .&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://java.sun.com/developer/technicalArticles/J2EE/despat/gen-interactions.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 409px; height: 291px;" src="http://java.sun.com/developer/technicalArticles/J2EE/despat/gen-interactions.gif" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="color: rgb(204, 0, 0);"&gt;jsp&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;jsp is the&lt;/span&gt;&lt;span&gt; main client side component in j2ee. There are two way to design jsp pages&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;Scriplets&lt;/li&gt;&lt;li&gt;&lt;span&gt;Tag libraries&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;Scriplets&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;span style="color: rgb(51, 204, 0);"&gt; &lt;span style="color: rgb(0, 0, 0);"&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;Scriplet mean we can write java code in HTML page using &lt;%         %&gt;,&lt;%=       %&gt;  tags. Using this pattern we can design very easily.But not efficient. Because  if we are using scriplet code in  jsp page.This code execute on the client side that is the reason.&lt;/span&gt;&lt;br /&gt;&lt;span style="color: rgb(51, 255, 51);"&gt;Tag libraries&lt;br /&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;Tag Libraries mean we can write jsp page using tags.There are standard tag libraries in j2ee and we can define our own tag libraries.It is efficient war to developing jsp pages&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span style="color: rgb(255, 255, 255);"&gt;&lt;br /&gt;Link:-&lt;a style="color: rgb(51, 102, 255);" href="http://java.sun.com/j2ee/1.4/docs/tutorial/doc/index.html"&gt;Java sever page&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-4879881185283461078?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/4879881185283461078/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=4879881185283461078' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4879881185283461078'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4879881185283461078'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/03/j2ee-architecture.html' title='J2ee Architecture'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-2945253234115201993</id><published>2008-02-08T17:48:00.000+05:30</published><updated>2008-02-08T18:21:03.786+05:30</updated><title type='text'>Java IDE in Linux</title><content type='html'>There are lot of IDE to develop java in Linux.NetBeans and Eclipse is the most famous.Both of are open source .you can download and test it very easily.You can check enterprise application also in Linux environment.There are lot of  open source application server available in internet.i using and testing both normal application and enterprise level application  in Linux environment.It's very easy and very fast.I did my project in netbeans in Linux environment.it is very easy. Try&lt;br /&gt;it..................&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mUx17Avykm8/R6xNWQs-xPI/AAAAAAAAAIQ/ZflmkKmcyK4/s1600-h/LiuxNetbeans.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://2.bp.blogspot.com/_mUx17Avykm8/R6xNWQs-xPI/AAAAAAAAAIQ/ZflmkKmcyK4/s200/LiuxNetbeans.png" alt="" id="BLOGGER_PHOTO_ID_5164587917523207410" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_mUx17Avykm8/R6xNeQs-xQI/AAAAAAAAAIY/52aaQ72Kycs/s1600-h/linuxEclips.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 200px; height: 151px;" src="http://2.bp.blogspot.com/_mUx17Avykm8/R6xNeQs-xQI/AAAAAAAAAIY/52aaQ72Kycs/s200/linuxEclips.jpg" alt="" id="BLOGGER_PHOTO_ID_5164588054962160898" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;This is the screen shot of NetBeans                                                                                                    , Eclips IDE&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-2945253234115201993?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/2945253234115201993/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=2945253234115201993' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/2945253234115201993'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/2945253234115201993'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/02/java-in-linux.html' title='Java IDE in Linux'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_mUx17Avykm8/R6xNWQs-xPI/AAAAAAAAAIQ/ZflmkKmcyK4/s72-c/LiuxNetbeans.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-4178790383114151392</id><published>2008-01-15T13:39:00.005+05:30</published><updated>2008-01-15T13:58:52.902+05:30</updated><title type='text'>Enabling Sinhala in Linux</title><content type='html'>&lt;h4 class="SECT3"&gt;&lt;a name="AEN167"&gt;How to install&lt;/a&gt;&lt;/h4&gt;&lt;ol type="1"&gt;&lt;li&gt;&lt;p&gt;Add to /etc/apt/sources.list&lt;/p&gt;&lt;ol type="a"&gt;&lt;li&gt;&lt;p&gt;On Debian 4.0 (Etch)&lt;/p&gt;&lt;span style="font-size:85%;"&gt;deb http://sinhala.sourceforge.net/debian/i386/etch/ ./&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;On Debian testing (Lenny)&lt;span style="font-family:monospace;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;deb http://sinhala.sourceforge.net/debian/i386/lenny/ ./&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;On Ubuntu 7.10 (Gutsy) i386&lt;span style="font-family:monospace;"&gt;&lt;span style="font-family:Georgia,serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;deb http://sinhala.sourceforge.net/ubuntu/i386/gutsy/ ./&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;On Ubuntu 7.10 (Gutsy) amd64&lt;span style="font-family:monospace;"&gt;&lt;span style="font-family:Georgia,serif;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;deb http://sinhala.sourceforge.net/ubuntu/amd64/gutsy/ ./&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Update repository metadata:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;apt-get update&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Install Sinhala packages:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;apt-get install sinhala-gnu-linux&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Upgrade relevant packages:&lt;br /&gt;&lt;span style="font-size:85%;"&gt;apt-get upgrade&lt;/span&gt;&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Logout and login again. Environment variables need to be set/updated (NO NEED TO REBOOT)&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;a style="font-weight: bold;" name="AEN189"&gt;How to test&lt;/a&gt;&lt;ol type="1"&gt;&lt;li&gt;&lt;p&gt;Visit http://si.wikipedia.org/ and see if the Sinhala letters render correctly.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;Copy and paste some of the content from Sinhala wikipedia to Open Office Writer. Then highlight the Sinhala text and choose the LKLUG font to display them.&lt;/p&gt;&lt;/li&gt;&lt;li&gt;&lt;p&gt;To test SCIM, press Control-space whilst you are running a GNOME application. Then select one of the Sinhala input methods&lt;/p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;br /&gt;&lt;a href="http://sinhala.sourceforge.net/"&gt;Read More&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-4178790383114151392?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/4178790383114151392/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=4178790383114151392' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4178790383114151392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4178790383114151392'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/01/enabling-sinhala-in-linux_1603.html' title='Enabling Sinhala in Linux'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-3075976450580506875</id><published>2008-01-15T11:47:00.000+05:30</published><updated>2008-01-15T12:06:34.687+05:30</updated><title type='text'>A First Look at the Final Release of KDE 4.0</title><content type='html'>&lt;span style="font-weight: normal; color: rgb(108, 122, 161);font-family:Verdana;font-size:85%;"  &gt;&lt;span&gt;After five long months of development, the most expected project of 2007, &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;KDE&lt;/span&gt; 4, has finally seen the light today! &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;KDE&lt;/span&gt; 4 is the next generation of the popular K Desktop Environment, which seeks to fulfill the need for a powerful yet easy-to-use desktop, for both personal and enterprise computing. &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;KDE&lt;/span&gt; project's goal for the 4.0 release is to put the foundations in place for future innovations on the FREE desktop.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style="text-align: center;"&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_mUx17Avykm8/R4xQZzsqgEI/AAAAAAAAAA4/nRCj0_7nxEQ/s1600-h/kdefouroverview-small_001.png"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_mUx17Avykm8/R4xQZzsqgEI/AAAAAAAAAA4/nRCj0_7nxEQ/s320/kdefouroverview-small_001.png" alt="" id="BLOGGER_PHOTO_ID_5155584077736869954" border="0" /&gt;&lt;/a&gt;                                            &lt;span class="p" style="color: rgb(204, 0, 0);"&gt;                 &lt;/span&gt;Screenshot  &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;KDE&lt;/span&gt; 4.0&lt;br /&gt;&lt;/div&gt;&lt;span style="font-weight: normal; color: rgb(108, 122, 161);font-family:Verdana;font-size:10;"  &gt;&lt;span&gt;&lt;span style="font-size:85%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-weight: normal; color: rgb(108, 122, 161);font-family:Verdana;font-size:10;"  &gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-3075976450580506875?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/3075976450580506875/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=3075976450580506875' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/3075976450580506875'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/3075976450580506875'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/01/first-look-at-final-release-of-kde-40.html' title='A First Look at the Final Release of KDE 4.0'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_mUx17Avykm8/R4xQZzsqgEI/AAAAAAAAAA4/nRCj0_7nxEQ/s72-c/kdefouroverview-small_001.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-4699885421699580922</id><published>2008-01-14T12:35:00.000+05:30</published><updated>2008-01-14T12:36:33.197+05:30</updated><title type='text'>How to Change splash in Ubuntu</title><content type='html'>there's a symbolic link in /usr/share/pixmaps/splash pointing to the ubuntu splash image.&lt;br /&gt;&lt;br /&gt;Just recreate it pointing to YOUR png file like this:&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;  &lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 82px; text-align: left;"&gt;cd /usr/share/pixmaps/splash&lt;br /&gt;sudo mv path_to_your_splash.png ./mysplash.png&lt;br /&gt;sudo rm ubuntu-splash.png       =&gt; we're just deleting a link, not the png&lt;br /&gt;sudo ln -s mysplash.png ubuntu-splash.png&lt;/pre&gt; &lt;/div&gt;Done! Fast and easy!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To cancel changes, just  delete the link again and rebuilt it pointing to the original png:&lt;br /&gt;&lt;br /&gt;&lt;div style="margin: 5px 20px 20px;"&gt;  &lt;div class="smallfont" style="margin-bottom: 2px;"&gt;Code:&lt;/div&gt;  &lt;pre class="alt2" dir="ltr" style="border: 1px inset ; margin: 0px; padding: 6px; overflow: auto; width: 640px; height: 66px; text-align: left;"&gt;cd /usr/share/pixmaps/splash&lt;br /&gt;sudo rm ubuntu-splash.png&lt;br /&gt;sudo ln -s ubuntu-slick.png ubuntu-splash.png&lt;/pre&gt; &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-4699885421699580922?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/4699885421699580922/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=4699885421699580922' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4699885421699580922'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/4699885421699580922'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/01/how-to-change-splash-in-ubuntu.html' title='How to Change splash in Ubuntu'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6914296902264504048.post-1543915948580347481</id><published>2008-01-14T12:28:00.000+05:30</published><updated>2008-01-14T12:32:29.503+05:30</updated><title type='text'>Setting up Compiz/Fusion 3D Desktop in Ubuntu</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_mUx17Avykm8/R4sIwTsqgDI/AAAAAAAAAAw/3wWRW2y_EeI/s1600-h/compiz_cube_tiny.png"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://1.bp.blogspot.com/_mUx17Avykm8/R4sIwTsqgDI/AAAAAAAAAAw/3wWRW2y_EeI/s320/compiz_cube_tiny.png" alt="" id="BLOGGER_PHOTO_ID_5155223824470016050" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;Compiz/Fusion is a 3D desktop environment for your Linux system. Its objective is to make the various elements that are visible on your computer look more physical. It aims to make your work less tiring and increase productivity through more natural visual perception. &lt;/span&gt;&lt;p style="font-family: arial;"&gt;One way to do that is by placing the windows and icons on a three-dimensional looking cube, that can be rotated. Another way is to keep the windows or menus in motion after you move or expand them, sort of like a piece of paper floating on the desk. This makes is easier to track which window or menu has just been activated. &lt;/p&gt;&lt;span style="font-family: arial;"&gt;Compiz/Fusion provides many settings and parameters to customize these effects, and the results depend each user's preferences and work habits. In my own experience I found that these features pretty much work as intended&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: arial;"&gt;The wobbly behavior may seem unsettling at first, but after getting used to it, it does make for a less tiring work experience. &lt;/span&gt;&lt;p style="font-family: arial;"&gt; In order to be able to use Compiz/Fusion in Ubuntu 7.10, you need to install the "Advanced Desktop Effects Settings (ccsm)" package. Here is how you set it up:&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;ol style="font-family: arial;"&gt;&lt;li&gt; Click on "Applications" on the task bar to bring up the Applications menu.&lt;br /&gt;&lt;/li&gt;&lt;li&gt; From the Applications menu select "Add/Remove" to show the "Add/Remove Applications" window.&lt;br /&gt;&lt;/li&gt;&lt;li&gt; Click on the "Show" selection box and select "All available applications".&lt;br /&gt;&lt;/li&gt;&lt;li&gt; In the "Search" box type: "compiz". This should bring up a listing of the software along with a description.&lt;br /&gt;&lt;/li&gt;&lt;li&gt; Click the check box next the "Advanced Desktop Effects Settings (ccsm)" line.&lt;br /&gt;&lt;/li&gt;&lt;li&gt; Push button "Apply Changes".&lt;br /&gt;&lt;/li&gt;&lt;li&gt; Click "OK" in confirmation dialog window.&lt;br /&gt;&lt;/li&gt;&lt;li&gt; Click on "Apply" on summary dialog window.&lt;br /&gt;&lt;/li&gt;&lt;li&gt; In dialog window "New application has been installed" click "Close" button.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;  &lt;p style="font-family: arial;"&gt; Now you can run the the CompizConfig Settings Manager as follows: &lt;/p&gt;&lt;p style="font-family: arial;"&gt; &lt;/p&gt;&lt;ol style="font-family: arial;"&gt;&lt;li&gt; Click on "Systems" on the task bar to bring up the System menu.&lt;br /&gt;&lt;/li&gt;&lt;li&gt; From the System menu select "Preferences".&lt;br /&gt;&lt;/li&gt;&lt;li&gt; From the Preference menu select "Advanced Desktop Effects Settings.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;  &lt;p style="font-family: arial;"&gt; This should bring up a window with the title "CompizConfig Settings Manager". The user interface has several sections, starting with "General", "Accessibility", "Desktop", and "Effects". To set up the cube, you should start by setting the number of desktops to four as follows:  &lt;/p&gt;&lt;p style="font-family: arial;"&gt; &lt;/p&gt;&lt;ol style="font-family: arial;"&gt;&lt;li&gt; Click on "General Options" in the section "General" to bring up a screen with several tabs.&lt;br /&gt;&lt;/li&gt;&lt;li&gt; Click on the "Desktop Size" tab to show three sliders.&lt;br /&gt;&lt;/li&gt;&lt;li&gt; Set the slider "Horizontal Virtual Size" to "4" (this will give the cube four sides to rotate to).&lt;br /&gt;&lt;/li&gt;&lt;li&gt; Click on the "Back" button in the lower left hand corner to return to be previous screen.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;  &lt;p style="font-family: arial;"&gt; Then you need to mark the check boxes of "Desktop Cube" and "Rotate Cube" in the "Desktop" section. Now you can rotate the cube by dragging the the middle mouse button on the background.  &lt;/p&gt;&lt;p style="font-family: arial;"&gt; To enable wobbly windows, mark the corresponding check box under "Effects". To make the menus wobbly as well, click on the "Wobbly Windows" button, select the "General" tab, and change "Map Effect" to "Shiver".&lt;/p&gt;&lt;p style="font-family: arial;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/6914296902264504048-1543915948580347481?l=prabu-lk.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prabu-lk.blogspot.com/feeds/1543915948580347481/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=6914296902264504048&amp;postID=1543915948580347481' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/1543915948580347481'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6914296902264504048/posts/default/1543915948580347481'/><link rel='alternate' type='text/html' href='http://prabu-lk.blogspot.com/2008/01/setting-up-compizfusion-3d-desktop-in.html' title='Setting up Compiz/Fusion 3D Desktop in Ubuntu'/><author><name>Prabath Ariyarathna</name><uri>http://www.blogger.com/profile/08637649413427933984</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/_mUx17Avykm8/R4sIwTsqgDI/AAAAAAAAAAw/3wWRW2y_EeI/s72-c/compiz_cube_tiny.png' height='72' width='72'/><thr:total>1</thr:total></entry></feed>
