<?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-2359002249313379007</id><updated>2011-11-27T16:57:27.758-08:00</updated><category term='Ubuntu'/><category term='JavaScript'/><title type='text'>Soum Sareuon's Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sareuon.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2359002249313379007/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sareuon.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Sareuon</name><uri>http://www.blogger.com/profile/16595902970852843597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://4.bp.blogspot.com/_bhfh0Yw10bk/TT_z5xxv7PI/AAAAAAAAAAM/0FqJ7natCGE/s220/xman.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>8</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2359002249313379007.post-809098922331738474</id><published>2011-03-14T20:31:00.000-07:00</published><updated>2011-03-14T20:31:54.705-07:00</updated><title type='text'>How to check your ubuntu distribution</title><content type='html'>Knowing your distribution is help to install package that is suitable for your box. This command will help you to find out what is your Ubuntu distribution.&lt;br /&gt;&lt;br /&gt;cat /etc/*-release&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2359002249313379007-809098922331738474?l=sareuon.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sareuon.blogspot.com/feeds/809098922331738474/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2359002249313379007&amp;postID=809098922331738474' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2359002249313379007/posts/default/809098922331738474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2359002249313379007/posts/default/809098922331738474'/><link rel='alternate' type='text/html' href='http://sareuon.blogspot.com/2011/03/how-to-check-your-ubuntu-distribution.html' title='How to check your ubuntu distribution'/><author><name>Sareuon</name><uri>http://www.blogger.com/profile/16595902970852843597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://4.bp.blogspot.com/_bhfh0Yw10bk/TT_z5xxv7PI/AAAAAAAAAAM/0FqJ7natCGE/s220/xman.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2359002249313379007.post-3144777792581902951</id><published>2011-01-27T19:01:00.000-08:00</published><updated>2011-01-27T19:09:30.190-08:00</updated><title type='text'>Find Process Id in Ubutu</title><content type='html'>Many times that I have problem with how can I stop the background process of some app like tomcat, geoserver, ruby....&lt;br /&gt;&lt;br /&gt;Ok, I found that we can use command $ps aux | grep tomcat&lt;br /&gt;&lt;br /&gt;the returning result is here.&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;1000      2957  0.0  0.0   3044   800 pts/1    S+   10:05   0:00 grep --color=auto tomcat&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;so on the return result I realize that the process is of tomcat is "2957".&lt;br /&gt;&lt;br /&gt;then I can kill it by run $sudo kill 2957&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2359002249313379007-3144777792581902951?l=sareuon.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sareuon.blogspot.com/feeds/3144777792581902951/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2359002249313379007&amp;postID=3144777792581902951' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2359002249313379007/posts/default/3144777792581902951'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2359002249313379007/posts/default/3144777792581902951'/><link rel='alternate' type='text/html' href='http://sareuon.blogspot.com/2011/01/find-process-id-in-ubutu.html' title='Find Process Id in Ubutu'/><author><name>Sareuon</name><uri>http://www.blogger.com/profile/16595902970852843597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://4.bp.blogspot.com/_bhfh0Yw10bk/TT_z5xxv7PI/AAAAAAAAAAM/0FqJ7natCGE/s220/xman.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2359002249313379007.post-3354943287824074854</id><published>2011-01-27T18:52:00.000-08:00</published><updated>2011-01-27T18:57:56.523-08:00</updated><title type='text'>Kills Backgroud Process On Ubuntu</title><content type='html'>I run Geoserver on port 8080 in background process, I wish to stop it so I have to run command:&lt;br /&gt;1-$sudo netstat -lpn | grep :8080&lt;br /&gt;then it will reply some think like here.&lt;br /&gt;&lt;br /&gt;tcp        0      0 0.0.0.0:8080            0.0.0.0:*               LISTEN      1847/java&lt;br /&gt;&lt;br /&gt;2.then I found that geoserver on my box have process id 1847 so. I can kill it by run&lt;br /&gt;$sudo kill 1847.&lt;br /&gt;&lt;br /&gt;it done.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2359002249313379007-3354943287824074854?l=sareuon.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sareuon.blogspot.com/feeds/3354943287824074854/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2359002249313379007&amp;postID=3354943287824074854' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2359002249313379007/posts/default/3354943287824074854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2359002249313379007/posts/default/3354943287824074854'/><link rel='alternate' type='text/html' href='http://sareuon.blogspot.com/2011/01/kills-backgroud-process-on-ubuntu.html' title='Kills Backgroud Process On Ubuntu'/><author><name>Sareuon</name><uri>http://www.blogger.com/profile/16595902970852843597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://4.bp.blogspot.com/_bhfh0Yw10bk/TT_z5xxv7PI/AAAAAAAAAAM/0FqJ7natCGE/s220/xman.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2359002249313379007.post-4303807542932175041</id><published>2011-01-26T02:23:00.000-08:00</published><updated>2011-01-26T02:29:35.656-08:00</updated><title type='text'>ShareVisoin: Web Mapping</title><content type='html'>Hi there this is my slide at &lt;a href="http://www.hackerspacepp.org/"&gt;HackerSpacePP&lt;/a&gt;, on 22 jan 2011.&lt;br /&gt;&lt;div style="width:425px" id="__ss_6707675"&gt;&lt;strong style="display:block;margin:12px 0 4px"&gt;&lt;a href="http://www.slideshare.net/sareuon/web-mapping-6707675" title="Web mapping"&gt;Web mapping&lt;/a&gt;&lt;/strong&gt;&lt;object id="__sse6707675" width="425" height="355"&gt;&lt;param name="movie" value="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=webmapping-110126041734-phpapp01&amp;stripped_title=web-mapping-6707675&amp;userName=sareuon" /&gt;&lt;param name="allowFullScreen" value="true"/&gt;&lt;param name="allowScriptAccess" value="always"/&gt;&lt;embed name="__sse6707675" src="http://static.slidesharecdn.com/swf/ssplayer2.swf?doc=webmapping-110126041734-phpapp01&amp;stripped_title=web-mapping-6707675&amp;userName=sareuon" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="425" height="355"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div style="padding:5px 0 12px"&gt;View more &lt;a href="http://www.slideshare.net/"&gt;presentations&lt;/a&gt; from &lt;a href="http://www.slideshare.net/sareuon"&gt;Sareuon Soum&lt;/a&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/2359002249313379007-4303807542932175041?l=sareuon.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sareuon.blogspot.com/feeds/4303807542932175041/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2359002249313379007&amp;postID=4303807542932175041' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2359002249313379007/posts/default/4303807542932175041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2359002249313379007/posts/default/4303807542932175041'/><link rel='alternate' type='text/html' href='http://sareuon.blogspot.com/2011/01/sharevisoin-web-mapping.html' title='ShareVisoin: Web Mapping'/><author><name>Sareuon</name><uri>http://www.blogger.com/profile/16595902970852843597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://4.bp.blogspot.com/_bhfh0Yw10bk/TT_z5xxv7PI/AAAAAAAAAAM/0FqJ7natCGE/s220/xman.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2359002249313379007.post-2596907762513940985</id><published>2011-01-17T05:33:00.000-08:00</published><updated>2011-01-17T05:35:34.102-08:00</updated><title type='text'>Open Tech-Talk on Web Mapping</title><content type='html'>There are a lot of people using they browsers to suff information on the net, also today technology you can use web map to show the location of restaurants, museums, and art venues. A business can post a map for reaching its offices. The state government can present a map showing average income by area.&lt;br /&gt;&lt;br /&gt;Most of you already use web map but don't really know the process and accompanying tools for creating and publishing on-line maps. Ok, on 22 January 2011, at HackerSpacePP we have Open Tech-Talk organize by ShareVisoin Team Iḿ going to have a talk on the process of designing, implementing, generating and delivering maps to www.&lt;br /&gt;&lt;br /&gt;So see you there!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2359002249313379007-2596907762513940985?l=sareuon.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sareuon.blogspot.com/feeds/2596907762513940985/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2359002249313379007&amp;postID=2596907762513940985' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2359002249313379007/posts/default/2596907762513940985'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2359002249313379007/posts/default/2596907762513940985'/><link rel='alternate' type='text/html' href='http://sareuon.blogspot.com/2011/01/open-tech-talk-on-web-mapping.html' title='Open Tech-Talk on Web Mapping'/><author><name>Sareuon</name><uri>http://www.blogger.com/profile/16595902970852843597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://4.bp.blogspot.com/_bhfh0Yw10bk/TT_z5xxv7PI/AAAAAAAAAAM/0FqJ7natCGE/s220/xman.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2359002249313379007.post-20485044689730562</id><published>2009-09-08T18:18:00.000-07:00</published><updated>2009-09-08T18:21:35.468-07:00</updated><title type='text'>Sacla Function Literal</title><content type='html'>Scala is programming language for who have skill with java and ruby. With Scala you write small script to build larges system. Scala support full Functional Programming and pure OOP.&lt;br /&gt;Scala you can write down functions as unnamed literals and then pass them around as values(runtime).&lt;br /&gt;&lt;br /&gt;(x: Int, y: Int) =&gt; x + y&lt;br /&gt;&lt;br /&gt;The =&gt; designates that this function converts the thing on the left (any integer x,y) to the thing on the right (x + y).&lt;br /&gt;&lt;br /&gt;List(1,2,3).filter(x =&gt; x % 2 == 1)&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/2359002249313379007-20485044689730562?l=sareuon.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sareuon.blogspot.com/feeds/20485044689730562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2359002249313379007&amp;postID=20485044689730562' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2359002249313379007/posts/default/20485044689730562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2359002249313379007/posts/default/20485044689730562'/><link rel='alternate' type='text/html' href='http://sareuon.blogspot.com/2009/09/sacla-function-literal.html' title='Sacla Function Literal'/><author><name>Sareuon</name><uri>http://www.blogger.com/profile/16595902970852843597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://4.bp.blogspot.com/_bhfh0Yw10bk/TT_z5xxv7PI/AAAAAAAAAAM/0FqJ7natCGE/s220/xman.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2359002249313379007.post-5712356165798470401</id><published>2008-10-16T20:22:00.000-07:00</published><updated>2008-10-16T20:27:11.648-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JavaScript'/><title type='text'>Inheritance</title><content type='html'>In Oop languages, Inheritance can help you to reduce the duplicate code and make objects as loosely coupled.&lt;br /&gt;So this is how to do Inheritance in javascript. Let see the code below:&lt;br /&gt;&lt;br /&gt;//Supper Class&lt;br /&gt;Input = function(a, b){&lt;br /&gt;     var _a = a;&lt;br /&gt;     var _b =b;&lt;br /&gt;     &lt;br /&gt;            this.getA = function(){&lt;br /&gt;                    return _a;&lt;br /&gt;           };&lt;br /&gt;     &lt;br /&gt;           this.getB = function(){&lt;br /&gt;                 return _b;&lt;br /&gt;           };&lt;br /&gt;     }&lt;br /&gt;   &lt;br /&gt;     //Concrete Class&lt;br /&gt;     Sum = function(a, b){&lt;br /&gt;           Input.apply(this,[a,b]);&lt;br /&gt;     &lt;br /&gt;          this.getSum = function(){&lt;br /&gt;                 return (this.getA() + this.getB());&lt;br /&gt;          }&lt;br /&gt;     }&lt;br /&gt;   &lt;br /&gt;   &lt;br /&gt;     //Implementation&lt;br /&gt;   &lt;br /&gt;     var mySum = new Sum(2,3);&lt;br /&gt;     alert(mySum.getSum();&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2359002249313379007-5712356165798470401?l=sareuon.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sareuon.blogspot.com/feeds/5712356165798470401/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2359002249313379007&amp;postID=5712356165798470401' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2359002249313379007/posts/default/5712356165798470401'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2359002249313379007/posts/default/5712356165798470401'/><link rel='alternate' type='text/html' href='http://sareuon.blogspot.com/2008/10/inheritance.html' title='Inheritance'/><author><name>Sareuon</name><uri>http://www.blogger.com/profile/16595902970852843597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://4.bp.blogspot.com/_bhfh0Yw10bk/TT_z5xxv7PI/AAAAAAAAAAM/0FqJ7natCGE/s220/xman.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2359002249313379007.post-6554818490878419590</id><published>2008-09-16T03:29:00.000-07:00</published><updated>2008-10-16T20:20:06.833-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Ubuntu'/><title type='text'>Set up Khmer fonts</title><content type='html'>Hi, this is my first article for my blog. This is about how to setup khmer fornts on ubuntu both true type fonts and unicode. To install khmer fonts you can do following :&lt;br /&gt;&lt;ol&gt;&lt;li&gt;Copy the fonts files from Microsoft Windows (C:\Windows\Fonts) or you can download it from internet by searching on google, yahoo or the other search engine.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Create new folder to store new fonts in " /usr/local/share " Ex. &lt;span style="font-weight: bold;"&gt;cambodia&lt;/span&gt; and place all copy's fonts you wish to install on this new folder.&lt;/li&gt;&lt;li&gt;Open terminal ( Application -&gt; Accessories -&gt; Terminal) the type &lt;span style="font-weight: bold;"&gt;$sudo fc-cache -fv &lt;/span&gt;to clear cache.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;To be able to type unicode in ubuntu go to (System -&gt; Preferences -&gt; Keyboard -&gt; Layouts -&gt;Add ) from Layouts select cambodia and click Add&lt;/li&gt;&lt;li&gt;After you Add cambodia keyboard you can set Layout Options and chose you favorite Layout switching&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2359002249313379007-6554818490878419590?l=sareuon.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sareuon.blogspot.com/feeds/6554818490878419590/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=2359002249313379007&amp;postID=6554818490878419590' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2359002249313379007/posts/default/6554818490878419590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2359002249313379007/posts/default/6554818490878419590'/><link rel='alternate' type='text/html' href='http://sareuon.blogspot.com/2008/09/khkhj.html' title='Set up Khmer fonts'/><author><name>Sareuon</name><uri>http://www.blogger.com/profile/16595902970852843597</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='30' src='http://4.bp.blogspot.com/_bhfh0Yw10bk/TT_z5xxv7PI/AAAAAAAAAAM/0FqJ7natCGE/s220/xman.jpg'/></author><thr:total>5</thr:total></entry></feed>
