<?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:blogger='http://schemas.google.com/blogger/2008' 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-5993834343714280351</id><updated>2024-11-06T08:32:49.361+05:30</updated><category term="Ubuntu"/><category term="Android"/><category term="Bower"/><category term="Eclipse"/><category term="Grunti"/><category term="Image Magic"/><category term="Java"/><category term="NodeJs"/><category term="Spring"/><category term="Yoeman"/><category term="sts"/><title type='text'>Randika&#39;s Blog</title><subtitle type='html'>Somethings out of my mind</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://hrandika.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default'/><link rel='alternate' type='text/html' href='http://hrandika.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5993834343714280351.post-4439336080293420848</id><published>2017-09-09T21:30:00.001+05:30</published><updated>2017-09-09T21:30:45.355+05:30</updated><title type='text'>07.Angular routing and lazy loading</title><content type='html'>&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/O1cxAMu-FbQ&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://hrandika.blogspot.com/feeds/4439336080293420848/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hrandika.blogspot.com/2017/09/07angular-routing-and-lazy-loading.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/4439336080293420848'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/4439336080293420848'/><link rel='alternate' type='text/html' href='http://hrandika.blogspot.com/2017/09/07angular-routing-and-lazy-loading.html' title='07.Angular routing and lazy loading'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/O1cxAMu-FbQ/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5993834343714280351.post-6241221100241199380</id><published>2017-09-09T14:47:00.003+05:30</published><updated>2017-09-09T14:47:38.499+05:30</updated><title type='text'>06.Install Angular material</title><content type='html'>&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/bOIJhgRa58Y&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://hrandika.blogspot.com/feeds/6241221100241199380/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hrandika.blogspot.com/2017/09/06install-angular-material.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/6241221100241199380'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/6241221100241199380'/><link rel='alternate' type='text/html' href='http://hrandika.blogspot.com/2017/09/06install-angular-material.html' title='06.Install Angular material'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/bOIJhgRa58Y/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5993834343714280351.post-5769998374309770828</id><published>2017-09-09T14:47:00.001+05:30</published><updated>2017-09-09T14:47:30.800+05:30</updated><title type='text'>05.Angular CLI proxying to the Spring boot backed.</title><content type='html'>&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/nqMdchoWitQ&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://hrandika.blogspot.com/feeds/5769998374309770828/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hrandika.blogspot.com/2017/09/05angular-cli-proxying-to-spring-boot.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/5769998374309770828'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/5769998374309770828'/><link rel='alternate' type='text/html' href='http://hrandika.blogspot.com/2017/09/05angular-cli-proxying-to-spring-boot.html' title='05.Angular CLI proxying to the Spring boot backed.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/nqMdchoWitQ/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5993834343714280351.post-2029973768865717709</id><published>2017-09-09T10:42:00.001+05:30</published><updated>2017-09-09T10:42:36.295+05:30</updated><title type='text'>04 New Project with Angualr cli</title><content type='html'>&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/-bXTwMgR7RI&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://hrandika.blogspot.com/feeds/2029973768865717709/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hrandika.blogspot.com/2017/09/04-new-project-with-angualr-cli.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/2029973768865717709'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/2029973768865717709'/><link rel='alternate' type='text/html' href='http://hrandika.blogspot.com/2017/09/04-new-project-with-angualr-cli.html' title='04 New Project with Angualr cli'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/-bXTwMgR7RI/default.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5993834343714280351.post-6179459758289006588</id><published>2017-09-09T10:26:00.001+05:30</published><updated>2017-09-09T10:26:05.854+05:30</updated><title type='text'>03Spring boot Setup github project</title><content type='html'>&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/PHluQSrVgDI&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://hrandika.blogspot.com/feeds/6179459758289006588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hrandika.blogspot.com/2017/09/03spring-boot-setup-github-project.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/6179459758289006588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/6179459758289006588'/><link rel='alternate' type='text/html' href='http://hrandika.blogspot.com/2017/09/03spring-boot-setup-github-project.html' title='03Spring boot Setup github project'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/PHluQSrVgDI/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5993834343714280351.post-8078578721567976127</id><published>2017-09-09T09:29:00.001+05:30</published><updated>2017-09-09T09:29:51.779+05:30</updated><title type='text'>02.REST API with Spring Data Rest</title><content type='html'>&lt;iframe allowfullscreen=&quot;&quot; frameborder=&quot;0&quot; height=&quot;270&quot; src=&quot;https://www.youtube.com/embed/NdorOTjXZhw&quot; width=&quot;480&quot;&gt;&lt;/iframe&gt;</content><link rel='replies' type='application/atom+xml' href='http://hrandika.blogspot.com/feeds/8078578721567976127/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hrandika.blogspot.com/2017/09/02rest-api-with-spring-data-rest.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/8078578721567976127'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/8078578721567976127'/><link rel='alternate' type='text/html' href='http://hrandika.blogspot.com/2017/09/02rest-api-with-spring-data-rest.html' title='02.REST API with Spring Data Rest'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/NdorOTjXZhw/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5993834343714280351.post-7462284520750174540</id><published>2014-09-16T21:06:00.002+05:30</published><updated>2014-09-16T21:11:14.565+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Android"/><category scheme="http://www.blogger.com/atom/ns#" term="Image Magic"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Android icon Resizer.</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEiKJH5BNmL9HH16Hcac4MacPgtuyd_YUmUnlN4IXs9b3b8SvypdQOEGzSJuwrTWuXJ58xNB-M4GoEDSJxJT-oYrUAHXR4x6RSGod7nkyfGo2-BqJU-P3UXbtnntTpX-59swdTFZaHIFI/s1600/new.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEiKJH5BNmL9HH16Hcac4MacPgtuyd_YUmUnlN4IXs9b3b8SvypdQOEGzSJuwrTWuXJ58xNB-M4GoEDSJxJT-oYrUAHXR4x6RSGod7nkyfGo2-BqJU-P3UXbtnntTpX-59swdTFZaHIFI/s1600/new.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
When you want to develop android applications,you need images in different sizes for different device display densities. By using this script you can create all those at one single execution.Place the images and in a directory where you place the script and then run the script.You need to have image magic installed to work this script.&lt;br /&gt;
&lt;br /&gt;
You can install Image Magic by,&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;sudo apt-get install imagemagick&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Sometimes you may not have the permission to&amp;nbsp; execute the script.In that case use&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;chmod +X converter.sh&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Then simply execute by,&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;sh converter.sh &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
The images are placed under relevant directories and you can replace them with the&amp;nbsp; to replace the directories which you will find under, res directory in an Android application.&lt;br /&gt;
Get the &lt;a href=&quot;https://drive.google.com/file/d/0ByhZnwP2MfZ7dDE5Q1pfekRLc2s/edit?usp=sharing&quot; target=&quot;_blank&quot;&gt;Shell Script &lt;/a&gt;From here.</content><link rel='replies' type='application/atom+xml' href='http://hrandika.blogspot.com/feeds/7462284520750174540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hrandika.blogspot.com/2014/09/android-icon-resizer.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/7462284520750174540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/7462284520750174540'/><link rel='alternate' type='text/html' href='http://hrandika.blogspot.com/2014/09/android-icon-resizer.html' title='Android icon Resizer.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEiKJH5BNmL9HH16Hcac4MacPgtuyd_YUmUnlN4IXs9b3b8SvypdQOEGzSJuwrTWuXJ58xNB-M4GoEDSJxJT-oYrUAHXR4x6RSGod7nkyfGo2-BqJU-P3UXbtnntTpX-59swdTFZaHIFI/s72-c/new.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5993834343714280351.post-7456372209415745237</id><published>2014-09-08T01:08:00.000+05:30</published><updated>2014-09-08T01:08:33.785+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="Java"/><category scheme="http://www.blogger.com/atom/ns#" term="sts"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>Eclipse (or any other derive IDE) unable to start.</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl1dhyphenhyphenoS0UqZViq2S051zgoHTaHGwoz_H3vB5uVGttojoJjhe8KI8sPc04SNTBuNG__wKc5TXFRMM9wzjjWpGZ4ok3iiKoV1uhB0lp4qU_4nsJRaVVfLt9EAs4M58IpUDKltrFSeJhHsM/s1600/Screenshot+from+2014-09-08+00:57:11.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl1dhyphenhyphenoS0UqZViq2S051zgoHTaHGwoz_H3vB5uVGttojoJjhe8KI8sPc04SNTBuNG__wKc5TXFRMM9wzjjWpGZ4ok3iiKoV1uhB0lp4qU_4nsJRaVVfLt9EAs4M58IpUDKltrFSeJhHsM/s1600/Screenshot+from+2014-09-08+00:57:11.png&quot; height=&quot;134&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
When I wanted to start my development in Spring Suite Tools, I got this message saying that I have not installed my JDK. But when I run,&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;$ java -version&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
in my terminal it gives me the current JDK installed in my computer. Even JDK is there I can&#39;t use my Eclipse or any derive IDE from it.&lt;br /&gt;
&lt;br /&gt;
A way of getting around this problem is to give argument to the Eclipse at the start. That is by editing the eclipse.ini (STS.in my case) and the following line,&lt;br /&gt;
&lt;br /&gt;
-vm&lt;br /&gt;/path/to/jdk/bin&lt;br /&gt;
&lt;br /&gt;
Ex :&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;-vm&lt;br /&gt;/home/randika/Programming/jdk1.8.0_11/bin &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
before the line, &lt;br /&gt;
-vmargs&lt;br /&gt;
&lt;br /&gt;
Thats it. Now Eclipse works and back to coding.... WE CODE HARD !! &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&amp;nbsp; </content><link rel='replies' type='application/atom+xml' href='http://hrandika.blogspot.com/feeds/7456372209415745237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hrandika.blogspot.com/2014/09/eclipse-or-any-other-derive-ide-unable.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/7456372209415745237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/7456372209415745237'/><link rel='alternate' type='text/html' href='http://hrandika.blogspot.com/2014/09/eclipse-or-any-other-derive-ide-unable.html' title='Eclipse (or any other derive IDE) unable to start.'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgl1dhyphenhyphenoS0UqZViq2S051zgoHTaHGwoz_H3vB5uVGttojoJjhe8KI8sPc04SNTBuNG__wKc5TXFRMM9wzjjWpGZ4ok3iiKoV1uhB0lp4qU_4nsJRaVVfLt9EAs4M58IpUDKltrFSeJhHsM/s72-c/Screenshot+from+2014-09-08+00:57:11.png" height="72" width="72"/><thr:total>0</thr:total><georss:featurename>Sabaragamuwa University, Aluthnuwara, Sri Lanka</georss:featurename><georss:point>6.6879656999999986 80.744190200000048</georss:point><georss:box>-24.0406108 39.435596200000049 37.416542199999995 122.05278420000005</georss:box></entry><entry><id>tag:blogger.com,1999:blog-5993834343714280351.post-8409973590278328816</id><published>2014-08-23T20:22:00.002+05:30</published><updated>2014-08-23T22:07:00.781+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Bower"/><category scheme="http://www.blogger.com/atom/ns#" term="Grunti"/><category scheme="http://www.blogger.com/atom/ns#" term="NodeJs"/><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><category scheme="http://www.blogger.com/atom/ns#" term="Yoeman"/><title type='text'>Install NodeJs,npm,bower,yoeman,grunt without sudo</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;background-color: #303030; clear: both; padding: 10px; text-align: center;&quot;&gt;
&lt;a href=&quot;http://nodejs.org/images/logo.svg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://nodejs.org/images/logo.svg&quot; height=&quot;86&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Node.js® is a platform built on &lt;a href=&quot;http://code.google.com/p/v8/&quot;&gt;Chrome&#39;s JavaScript runtime&lt;/a&gt;
        for easily building fast, scalable network applications.  Node.js
        uses an event-driven, non-blocking I/O model that makes it
        lightweight and efficient, perfect for data-intensive real-time
        applications that run across distributed devices. - http://nodejs.org/&lt;br /&gt;
&lt;br /&gt;
Nodejs comes with a package manger call npm (Node package manger). This command line tool is used to install other tools like bower,yoeman,grunt-cli etc. Nodejs can be easily installed using the Ubuntu package manger apt-get. One of my friend has a short but good post of it (&lt;a href=&quot;http://nkasun.blogspot.com/2014/08/install-bower-in-linux.html&quot; target=&quot;_blank&quot;&gt;Install bower.&lt;/a&gt;).&lt;br /&gt;
&lt;br /&gt;
In my post I will show how to install nodejs and some other tools like bower install in your Ubuntu without &#39;sudo&#39;.&lt;br /&gt;
&lt;br /&gt;
1. Get the latest nodejs from &lt;a href=&quot;http://nodejs.org/download/&quot; target=&quot;_blank&quot;&gt;this&lt;/a&gt; site.Make sure you get the Linux version here and select the proper arch type,32bit or 64bit.&lt;br /&gt;
&lt;br /&gt;
2.Extract the content to a directory that you have access.Ex. In my case I use&lt;br /&gt;
&lt;br /&gt;
~/Programming/node-v0.10.31-linux-x64&lt;br /&gt;
&lt;br /&gt;
The node directory name may change according to the version and archtype you are getting.By the time I write this its version 0.10.31.&lt;br /&gt;
here the directory name is important as we want it later to install other tools.&lt;br /&gt;
&lt;br /&gt;
3.Now we need to add the node and nmp to the system environment.Edit&amp;nbsp; .bashrc (which is hidden by default in ~/.bashrc). Add the following line to the code.&lt;br /&gt;
&lt;br /&gt;
#NodeJs&lt;br /&gt;
export PATH=&lt;path nodejs=&quot;&quot; to=&quot;&quot;&gt;/bin:$PATH&lt;/path&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;path nodejs=&quot;&quot; to=&quot;&quot;&gt; is where you have put your nodejs. Remember you need to point to the &#39;bin&#39; directory.&lt;/path&gt;&lt;br /&gt;
&lt;br /&gt;
In my case this is.&lt;br /&gt;
&lt;br /&gt;
#NodeJs&lt;br /&gt;
export PATH=/home/randika/Programming/node-v0.10.31-linux-x64/bin:$PATH&lt;br /&gt;
&lt;br /&gt;
4. Save the file. Launch a terminal and type&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;i&gt;npm -v&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
you should get the version number of the node that you have installed.&lt;br /&gt;
&lt;br /&gt;
5. To install other tools using npm we can use,&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;nmp install [package name] &lt;/span&gt;&lt;package name=&quot;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt; -g --prefix [path/to/nodejs]&lt;/span&gt;&lt;path nodejs=&quot;&quot; to=&quot;&quot;&gt;&lt;br /&gt;&lt;/path&gt;&lt;/package&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;package name=&quot;&quot;&gt;[package name]&amp;nbsp; and &lt;path nodejs=&quot;&quot; to=&quot;&quot;&gt; &lt;/path&gt;&lt;/package&gt;&lt;package name=&quot;&quot;&gt;&lt;path nodejs=&quot;&quot; to=&quot;&quot;&gt;[path/to/nodejs] are corresponding package name you want to install and the path to the nodejs directory.&lt;/path&gt;&lt;/package&gt;&lt;br /&gt;
&lt;br /&gt;
For example if I want to install bower using npm,&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;i&gt;npm install bower -g --prefix ~/Programming/node-v0.10.31-linux-x64/&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
6. Check for installed version of bower using&lt;br /&gt;
&lt;i&gt; &lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;i&gt;bower -v&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
7. Likewise you can install&amp;nbsp;&lt;a href=&quot;http://yeoman.io/&quot; target=&quot;_blank&quot;&gt;Yeoman&lt;/a&gt; and &lt;a href=&quot;http://gruntjs.com/&quot; target=&quot;_blank&quot;&gt;Grunt &lt;/a&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; target=&quot;_blank&quot;&gt;using nmp.&lt;/a&gt;&lt;i&gt;&lt;/i&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;i&gt;&lt;a href=&quot;https://www.blogger.com/null&quot; target=&quot;_blank&quot;&gt;&lt;br /&gt;&lt;/a&gt;&lt;/i&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;i&gt; &lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;i&gt;npm install yo -g --prefix ~/Programming/node-v0.10.31-linux-x64/&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;i&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;i&gt;npm install grunt-cli -g --prefix ~/Programming/node-v0.10.31-linux-x64/&lt;/i&gt;&lt;/span&gt; &lt;/i&gt;&lt;br /&gt;
&lt;i&gt; &lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Update:&lt;br /&gt;
You can set the prefix path in npm by&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;pln&quot;&gt;npm config &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;set&lt;/span&gt; prefix &lt;path nodejs=&quot;&quot; to=&quot;&quot;&gt;&lt;/path&gt;&lt;/span&gt;&lt;br /&gt;
&lt;code&gt;&lt;span class=&quot;pln&quot;&gt;&lt;/span&gt;&lt;/code&gt;&lt;br /&gt;
in my case its&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;i&gt;&lt;i&gt;&lt;span class=&quot;pln&quot;&gt;npm config &lt;/span&gt;&lt;span class=&quot;kwd&quot;&gt;set&lt;/span&gt; prefix&amp;nbsp; ~/Programming/node-v0.10.31-linux-x64/&lt;/i&gt;&lt;/i&gt;&lt;/span&gt;&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
</content><link rel='replies' type='application/atom+xml' href='http://hrandika.blogspot.com/feeds/8409973590278328816/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hrandika.blogspot.com/2014/08/intall-nodejs-and-npm-without-sudo.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/8409973590278328816'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/8409973590278328816'/><link rel='alternate' type='text/html' href='http://hrandika.blogspot.com/2014/08/intall-nodejs-and-npm-without-sudo.html' title='Install NodeJs,npm,bower,yoeman,grunt without sudo'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5993834343714280351.post-5609935749164498542</id><published>2014-08-20T23:26:00.001+05:30</published><updated>2014-08-23T21:15:20.572+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Spring"/><title type='text'>Spring Boot</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.greenmoonsoftware.com/images/spring-boot-project-logo.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://www.greenmoonsoftware.com/images/spring-boot-project-logo.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
Spring is a web framework that we can build enterprise grade applications with Java, Groovy,Grails etc. But Starting to work with it not that easy as there are more configurations to be done before dive in to real coding.&lt;br /&gt;
&lt;br /&gt;
Now that heavy configurations are simplified with Spring Boot Project. You can go to &lt;a href=&quot;http://projects.spring.io/spring-boot/&quot;&gt;Spring Boot&lt;/a&gt; website and get more information about it. But I will work on a full application develop with this project and cover more interesting parts in a series of posts later. Till that you can follow the sample guides that in the website. I highly recommend to download and install Spring Suite Tools witch is very easy to develop Spring applications.&lt;br /&gt;
&lt;br /&gt;
Update:&lt;br /&gt;
Check my&amp;nbsp;&lt;a href=&quot;https://www.youtube.com/user/hrandika&quot; target=&quot;_blank&quot;&gt;Youtube chanel&lt;/a&gt; for the video guide lines. </content><link rel='replies' type='application/atom+xml' href='http://hrandika.blogspot.com/feeds/5609935749164498542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hrandika.blogspot.com/2014/08/spring-boot.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/5609935749164498542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/5609935749164498542'/><link rel='alternate' type='text/html' href='http://hrandika.blogspot.com/2014/08/spring-boot.html' title='Spring Boot'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5993834343714280351.post-528803320346207676</id><published>2011-01-06T17:44:00.002+05:30</published><updated>2014-03-05T09:43:09.250+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>NTFS Configaration Tool</title><content type='html'>&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://flomertens.free.fr/ntfs-config/icone64.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://flomertens.free.fr/ntfs-config/icone64.png&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Ntfs-config&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&amp;nbsp;When you install your Ubuntu you will need to mount your NTFS formatted drives in Ubuntu automatically.This small but powerful software help to do so.You can use Synaptic Package Manager to install.Search for &quot;ntsf-config&quot;.(For Ubuntu 10.10 also install &quot;hal&quot; from the list).&lt;br /&gt;
Then go to System&amp;gt;Administration&amp;gt; NTFS Configure Tool.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://flomertens.free.fr/ntfs-config/image1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://flomertens.free.fr/ntfs-config/image1.png&quot; height=&quot;239&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
A window will pop up saying that New partitions detected.&lt;br /&gt;
I select my NTFS drives manually and click OK.&lt;br /&gt;
But If you want your all NTFS drives to mount select Auto Configure.&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://flomertens.free.fr/ntfs-config/image2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://flomertens.free.fr/ntfs-config/image2.png&quot; height=&quot;228&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Tick the two options give to read and write.Then close after you done.&lt;br /&gt;
Now when you start your computer your drives will be automatically mounted.&lt;br /&gt;
&lt;br /&gt;
Why we need this to happen?&lt;br /&gt;
01.The main advantage is that we don&#39;t have to mount your drivers every time you log in to the system.This may seem easy but think if you have 10 NTFS drives??&lt;br /&gt;
&lt;br /&gt;
02.If you have selected a wall paper from a unmounted drive it will not show.(Most of the time).Do you want to look empty desktop when you log in ?(Me No way).&lt;br /&gt;
Same will happen to audio files you play.They will not play from a play list till you mount them.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now for a problem I have faced my self is that when we change the name of the Drive,there will be a problem when we start the OS.That they say to mount the drives as they are no longer in the same name they are now.&lt;br /&gt;
The solution is the remove the entry.To do so we must log in to the system.(Manually mount the drive for now at the start).Then go to the terminal and type&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;code&gt;sudo gedit /etc/fstab&lt;/code&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Enter your password and this will open a Text file that with all the entries.&lt;br /&gt;
It will have lines like&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;code&gt;&lt;span style=&quot;color: #444444;&quot;&gt;#Entry for /dev/sda1 :&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;br /&gt;
and anther line below it.This may change from the numbers of drives you have mounted.Find your old drive name in such line followed by /media/&lt;name&gt;&lt;/name&gt;&lt;br /&gt;
Then comment that entire line by adding a # in-front of the line.Save and close.Next time you restart that message will no longer show to you.If you want to mount it on start, use the NTFS Configuration Tools Again as above.</content><link rel='replies' type='application/atom+xml' href='http://hrandika.blogspot.com/feeds/528803320346207676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hrandika.blogspot.com/2011/01/ntfs-configaration-tool.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/528803320346207676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/528803320346207676'/><link rel='alternate' type='text/html' href='http://hrandika.blogspot.com/2011/01/ntfs-configaration-tool.html' title='NTFS Configaration Tool'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5993834343714280351.post-2557632828884437611</id><published>2010-07-21T19:54:00.001+05:30</published><updated>2014-06-11T00:07:02.387+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ubuntu"/><title type='text'>How to install LAMP and configure phpMyadmin</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirooeUkjEvtRsx2HQUeU-HyvOQLtD5YD8m0KiNSWi6UuS5gYWMCgVC712fvKfLrXjkWBeSOx5IeyFO2A_KOFer6UB7TKB7LwHuGKUEceiGK3F9sU6IDx9JiL73Io5q4burHwWmiA-fobA/s1600/lamp.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirooeUkjEvtRsx2HQUeU-HyvOQLtD5YD8m0KiNSWi6UuS5gYWMCgVC712fvKfLrXjkWBeSOx5IeyFO2A_KOFer6UB7TKB7LwHuGKUEceiGK3F9sU6IDx9JiL73Io5q4burHwWmiA-fobA/s400/lamp.gif&quot; height=&quot;202&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
LAMP is a collection of software collection that can be used to make a Server inside your PC.This is a one way to check you website before you go on-line.&lt;br /&gt;
&lt;br /&gt;
1)Go to terminal and type&lt;br /&gt;
&lt;code&gt;$ sudo apt-get install lamp-server^&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Enter the password for the user.&lt;br /&gt;
It will ask a password for mysql.Give a password you desire.&lt;br /&gt;
&lt;br /&gt;
2)Then install phpyyadmin;&lt;br /&gt;
&lt;code&gt;$ sudo apt-get install phpmyadmin&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
It will asked for automatic configure in the install but most of the time this is not working perfectly.So to do this manually,follow this&lt;br /&gt;
&lt;code&gt;$ gksudo gedit /etc/apache2/apache2.conf&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
Enter the password for the user.&lt;br /&gt;
&lt;br /&gt;
Add the following line to the text file that will come.&lt;br /&gt;
&lt;br /&gt;
Include /etc/phpmyadmin/apache.conf&lt;br /&gt;
&lt;br /&gt;
3)Restart apache by ;&lt;br /&gt;
&lt;code&gt;$ sudo /etc/init.d/apache2 restart&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
or (works for Ubuntu 10.04)&lt;br /&gt;
&lt;code&gt;$ sudo service apache2 restart &lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
You can access phpmyadmin via a web browser;&lt;br /&gt;
http://localhost/phpmyadmin</content><link rel='replies' type='application/atom+xml' href='http://hrandika.blogspot.com/feeds/2557632828884437611/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://hrandika.blogspot.com/2010/07/how-to-install-lamp-and-configure.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/2557632828884437611'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5993834343714280351/posts/default/2557632828884437611'/><link rel='alternate' type='text/html' href='http://hrandika.blogspot.com/2010/07/how-to-install-lamp-and-configure.html' title='How to install LAMP and configure phpMyadmin'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirooeUkjEvtRsx2HQUeU-HyvOQLtD5YD8m0KiNSWi6UuS5gYWMCgVC712fvKfLrXjkWBeSOx5IeyFO2A_KOFer6UB7TKB7LwHuGKUEceiGK3F9sU6IDx9JiL73Io5q4burHwWmiA-fobA/s72-c/lamp.gif" height="72" width="72"/><thr:total>0</thr:total></entry></feed>