Archive for the ‘Technical Stuffs’ Category

I work in a place where we use Concurrent Version System (we still use them :P) . We had our code base with us. We wanted to submit the entire code structure to CVS. It almost had 15 – 20 directories and each containing number of files in it. Instead of checking in the code folder by folder , we tried hitting it in a single shot.

It was an import command that i googled up. I tested in local .. It worked fine.. Then i issued the following command

    cvs import -m "message" code_dir rtag vtag

It got imported. We were happy with it.. But when we tried checking out the code, we found an interesting thing.. Code got checked in the wrong path. Apparently , CVS Import statement doesnt need a commit. It has an auto commit. We ended up in a mess.

Now, we wanted to delete the codes that we have checked in. But, The great CVS system wont allow the code directory to be deleted using a command. Atlast , we ended up with the following command which will erase all the files ( but the folders will remain as such ).

    cvs remove -Rf code_dir
    cvs commit

The directory skeleton remained till the end and we had to convince our admin regarding the trouble that we have created.

Summary : Analyse the negatives parts of the command before issuing it and be careful while using those systems where we don’t have admin rights.

Here i gonna explain about the steps through which tomcat server is configured in eclipse. I assume that you have downloaded Tomcat and eclipse in your system. If not, please visit the below link and get it. One good thing about Eclipse and tomcat is that there are no such installation procedures. Just download the files, extract and put it in a folder (say java).

Eclipse – Click Here

Tomcat – Click Here

Now follow the installation steps:

1. Lets open eclipse IDE. It will look like this.
Eclipse IDE

2. People who were not having server tab by default , follow step 2 and step 3 . If by default, Servers tab is not there, we need to pull it from windows->Show View->other

Add Server Tab

3. Type “Servers” . you will get servers menu and click okay.

Add Server Tab

4. Once you click okay, Servers tab will get added at the bottom

Add Server Tab

5. Now, we need to add a tomcat server. For that , right click on the server menu and select New -> Server.

Adding new Server

6. By clicking on new servers you will get list of servers as shown below

Adding new Server

7. Based on your tomcat version download , select your version. i have tomcat 6.0.32 and hence i am choosing Tomcat 6.0.

Adding new Server

8. Once you click next you will get a screen where in you need enter the location of tomcat

Adding new Server

9. Here we are locating the path

Adding new Server

10. The next thing that we need to change is JRE. By default its workbench JRE. if you have installed any JRE you can choose that from drop down

Adding new Server

11. Thats it click finish and you can see an entry in package explorer and Servers tab

Adding new Server

12. Config is done. Lets start the server. For that we need to right click on the tomcat server in servers tab and select start

Adding new Server

13. Once the tomcat server starts we will get a message like this

Adding new Server

14. Thats it .. We are done.. just check it through web by giving the url localhost:8080. you need to get this page

Adding new Server

But sometimes, we wont be getting the tomcat up and running. People who face this issue continue with the follow steps. You may get like

Adding new Server

15. Right click on the tomcat server in server menu and click properties

Adding new Server

16. By default workspace location will be “Workspace Metadata”.

Adding new Server

17. We need to change that by clicking on switch location

Adding new Server

18. Now , we have go a new entry in package explorer column

Adding new Server

19. Double click on the Tomcat Server to load its configs

Adding new Server

20. Change the Radio button from “Use Workspace metadata” to “use tomcat installation”.

Adding new Server

21 . Dont forget to restart the server. you can right click on servers and go to properties -> restart

Adding new Server

22. Now, check with url http://localhost:8080. you will get this page. Its done

Adding new Server

Hi friends,

i just wanna share some difficulties that i faced when using browsers in my lap… I have Internet Explorer, mozilla, chrome  installed in my lap..First i used Internet explorer , all we know its a very slow takes some seconds after the click to get opened.. but really the compatibility is good and ie 8 is much faster than the previous one.

Then i moved on to mozilla… i was having mozilla 3.6… and it worked quite well compared to ie.. managing the bookmarks and addons are very easy in mozilla..but i did an update 2 days before…i upgraded to mozilla 4.0 …its the big mistake i did..u know mozilla 4.0 doesnt support idm and few other add ons..i strucked a lot for downloading files from net…hey guys be aware while storing your passwords..for my lazyness i stored each n every password for the last someone hacked my gmail account..since my password was strong i recovered it back…so dont store passwords..

google chrome! relatively fast when compared to principle advantage is we can do the search easier as the default search engine is google. the download manager in google chrome is much faster when compared to mozilla and ie..But it too has a serious bug.. one is we cant close the window when download is going on … and if we are downloading a 100mb file and disconnectivity occurs when 22 mb is downloaded. . chrome ll show it as “file completed”…u cant resume the download.. u have to do from beginning..Hence dont download bigger files in google chrome.

Mozilla 3.6 worked better for me than any other browsers…if u have any opinion about this pls do comment!

25 worst and commonly used passwords of the year 2011 has been released. If you are using these passwords, its the time to change.

1. password
2. 123456
3. 12345678
4. qwerty
5. abc123
6. monkey
7. letmein
8. 1234567
9. trustno1
10. dragon
11. baseball
12. 111111
13. iloveyou
14. master
15. sunshine
16. ashley
17. bailey
18. passw0rd
19. shadow
20. 123123
21. 654321
22. superman
23. qazwsx
24. micheal
25. football

As insisted by most of the sites it would be good if we include a symbol, a number with, characters in both upper and lower case while choosing passwords.

While searching for serial numbers and cracks by visiting several sites we are getting affected by virus. we have to be aware of google keywords to make the search efficient.Here is an easy way to search serial keys in google.

In the search bar type

“the name of the software” 94FBR

For example

“windows xp sp3” 94FBR

This type of search dramatically reduces the amount of fake sites that trick you.

Follow the following steps to change your ip

1. click start button
2. Go to control panel
3. click on network connections
4. Right click on “local area connection” and click on properties
5. Double click on “internet protocol(TCP/IP)” from general tab
6. Click on “use the following ip address” under general tab
7. Create your own ip address. Just type 1s and 2s no matter what it is.
8. Press tab. It should automatically fill up the subnet mask
9. hit ok
10. hit ok
Now you should be back to local area connection screen

11. Right click on “local area connection” and click on properties again
12. Go back to TCP/IP settings
13. This time select “obtain an ip address automatically”
14. Hit ok
15. Hit ok
16. You got a new ip address

Note: This only changes your dynamic IP address, not your ISP/IP address. If you plan on hacking a website with this trick be extremely careful, because if they try a little, they can trace it back

Searching for games, movies and applications in google eats a lot of time. Here is an easy way to perform search in google.

1) If you want to download an mp3 from google

just type the following in google

?intitle:index.of? mp3

You need to add the name of the song/artist/singer

for example: ?intitle:index.of? mp3 hariharan

2) For downloading movies,games,applications etc. type as below

“parent directory ” /appz/ -xxx -html -htm -php -shtml -opendivx -md5 -md5sums

“parent directory ” DVDRip -xxx -html -htm -php -shtml -opendivx -md5 -md5sums

“parent directory “Xvid -xxx -html -htm -php -shtml -opendivx -md5 -md5sums

“parent directory ” Gamez -xxx -html -htm -php -shtml -opendivx -md5 -md5sums

“parent directory ” MP3 -xxx -html -htm -php -shtml -opendivx -md5 -md5sums

“parent directory ” Name of Singer or album -xxx -html -htm -php -shtml -opendivx -md5 -md5sums

It really works!