Sunday, August 23, 2009

Dynamic programming is amazing!

Well its an awesome field to work on in algorithms.By this technique one can do DNA sequencing,find the longest common sequence ,and even the minimum transformations required to transform a sequence to another! [:)]

Friday, August 21, 2009

Change wallpapers automatically

hey i recently found that a tool in linux called wallpapoz exists by which one can change the wallpapers automatically. its really cool tool....

Sunday, June 28, 2009

Saturday, June 27, 2009

Socket programming in java

hi , i really am ecstatic at this moment becoze i've a solution to a very common problem .. This time its in java. In sockets the PrintWriter output stream does not clear the output buffer autumatically so u need to clear it by adding true as one its parameters .... It was really hectic b4 cming to this solution.

Thursday, June 4, 2009

A common problem regerding flash-plugin in firefox-solved!



It's very common that suddenly the flash-plugin in your firefox browser stops working and whenever you open sites requiring flash (e.g. youtube) pop up with messages like : "Ether javascript is not enabled or you have an older version of adobe flash" ... but you check your browser settings and find that javascript is enabled and start to wonder. You then install the latest version of flash through yum or an rpm package but the problem still remains!!

So here's a solution to your problem: Download the .rpm or .tar.gz package from the adobe site and extract it. After browsing through the folders, you would find a file named "libflashplayer.so ". Next,make a directory named "plugins" in /usr/lib/firefox (Note: make this directory in the newest version of firefox if you have updated firefox e.g there might be firefox 3.0.5 and firefox 3.0.10, so make the directory in firefox 3.0.10 ) Just copy this fle into /usr/lib/firefox/plugins.. Close your broswer and restart it ,then check by typing "about:plugins" in the address bar of your browser,you will find a heading "Shockwave Flash"... Well thats it, it done! ... try opening youtube and see a vedio ! hope that helps.......

Friday, March 20, 2009

Back up im mysql- using mysqldump

hi, this is regarding a very useful; command in mysql by which u can backup your databases and transfer it to another server (which may or may not be mysql) .


to backup go in command promt or shell and type:
mysqldump -u username -p name of database to be backed up > name of backup file
password : *******


after this a backup file having .sql xtension will b created .
now to restore the database (first u must copy the .sql file to the computer u want to restote in) go to command prompt of the other computer and write:


mysql -u username -p
$password : ********

this will create the backup database and you are done~~~~~ :)

Monday, March 9, 2009

Using vnc

hi this video tells you about the working of vnc on linux operating system.. though it lacks audio but careful attention should be able to help you ... cheers!!