Tuesday, January 22, 2013

Download Images and Videos from phone

Samsung Phones :

Download samsung kies software and install. You can import / export / back-up music, images, videos, contacts...

http://www.samsung.com/us/kies/

Export contacts with file extension .csv to open the contacts in excel

Nokia Phone

Download Nokia PC Suite software and install. You can import / export / back-up music, images, videos contacts...

http://www.nokia.com/global/support/nokia-pc-suite/

In File -> Store images will store images and videos in your desired location.
Nokia Video manager is also available to download only videos and import the same.


Thursday, January 10, 2013

eclipse tomcat cannot enter server name

Deleting below 2 files worked perfectly. paths are relative to the directory of your workspace:


./.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.jst.server.tomcat.core.prefs
./.metadata/.plugins/org.eclipse.core.runtime/.settings/org.eclipse.wst.server.core.prefs

eclipse.ini Settings to make it work perfect. Update based on your memory. At-least 6GB on your system is good.
 
Update your eclipse.ini. Xms (memory small to memory max, Parrallel Garbage Collector..)
-XX:MaxPermSize=512m -Xms1024m -Xmx2048m
-XX:-UseParallelGC  -XX:+AggressiveOpts  -XX:-UseConcMarkSweepGC  -XX:+UseFastAccessorMethods
For svn
Just install subclipse
*) Tomcat opens the port and allows the user to access the WAR container services in the Web browser based on $CATALINA_HOME/conf/server.xml only 
*) Ex : In server.xml if you open the connector port 443 and 88 then you can access the WAR containers you placed in webapps using this both the port
*) The default url accessing port is 80. In default port 80 you can redirect port to 443 if you want user to access the portal in https.
*) ROOT/index.html - We can mention the url with name if you want user to redirect to specific url name when they access the webservice using specific system ip url. Below added in index.html.

Tuesday, January 8, 2013

Create a ShortCut to Ubuntu Desktop or Unity Dock

1) Install gnome-panel

sudo apt-get install gnome-panel

2) Open the Terminal and run below command to get a create launcher


   gnome-desktop-item-edit --create-new ~/.local/share/applications/

3) Provide the name, In command browse and select the "application" ex : eclipse (/home/gubs/eclipse/eclipse) executable. Click the icon and load the icon.

4) Browse folder ~/.local/share/applications

5) Drag and drop the created app into desktop or Unity Dock.
// Below script tag for SyntaxHighLighter