Do not limit your challenges.. Challenge your limits

BTemplates.com

Search This Blog

Powered by Blogger.

About Me

My photo
kathmandu, Bagmati, Nepal
I am Software developer based on Nepal.I have started coding since mid of 1995 with QBasic.My interest in software development covers a broad range of technologies from assembly to the Microsoft .NET platform to Java, Linux to Windows, Windows Mobile to Android, desktop to web to mobile, and many others. But from 2007 I am just working on Java mainly working on Java EE platform and decided just to go with it. I really like to learn new stuff and share things with others which is my main objective in creating this blog.

ArchUnit : Java architecture test library

Finally I have found the required library which will enforce architecture patterns . ArchUnit  . Currently I am exploring it and will upd...

Tuesday, April 7, 2015

Some useful commands for Ubuntu


To Remove Package:

1. To see list of installed packages in chronological order 


 grep install /var/log/dpkg.log  

2. Pick what you wish to uninstall and execute 


 sudo apt-get remove package-name  

3. Clean up package from archives

 sudo apt-get clean  

To Install Gnome Classic:


sudo apt-get update; sudo apt-get install gnome-session-fallback

Tuesday, March 24, 2015

Version management with multi module maven project


In order to manage version in maven multi module project , need to do following step :

1. Add version plugin Maven Version Plugin

 <plugin>  
         <groupId>org.codehaus.mojo</groupId>  
         <artifactId>versions-maven-plugin</artifactId>  
         <version>2.1</version>  
  </plugin>  
2. From terminal use below command to set version


mvn versions:set -DnewVersion=2.1.1



3. Save Changes using below command



    mvn versions:commit




Wednesday, August 27, 2014

Sunday, August 24, 2014

Monday, August 18, 2014

Opening terminal Options


While using Linux we have to use terminal various times. KDE has option to open terminal at current path ,when we right click on any folder to open terminal at current path which make us very productive. Same Option is available on GNOME( ubuntu ) and Windows 7 which are as follows :

Ubuntu 
====


  1. sudo apt-get install nautilus-open-terminal
  2. nautilus -q
Setup done. Now if You right click you will get option to "Open Terminal Here "



Windows
===========

Shift + Right Click ( mouse )


That all . Hope this will save a lot of time and effort as mine :)

Thursday, July 24, 2014

Setting up Maven in Linux



  1. Download maven from http://maven.apache.org/download.cgi
  2. Extract in any location say /opt
  3. Append following lines in .bashrc and save it.
          export M2_HOME=/opt/apache-maven-3.1.1/
          PATH=$M2_HOME/bin:$PATH
  
  4. open terminal and below command execute 
        source ~/.bashrc

  5. in terminal type mvn --version if every thing fine it will  display information like below 
    
        Apache Maven 3.1.1
       Maven home: /opt/apache-maven-3.1.1


Happy Coding
   
    

Friday, July 26, 2013