- First go to "Window"->"Custom Perspectives"->press "CVS checkbox"->then Press "Ok"
- Then go to "Window"->"Open Perspective" and press "Other option"-> select "CVS Repository Exploring" and press "Ok"
- Finally right click on Unwanted Repository and Discard that Location
Monday, November 26, 2007
Remove unwanted CVS Repositories from Eclipse
Recently I wanted to remove unwanted CVS Repositories which is located in Eclipse. The removing method is as followed.
Wednesday, November 21, 2007
Google Summer of Code (GSoC) 2007
Google Summer of Code (GSoC) 2007 is over and I'm one of the proud GSoC 2007 recipient, I had develop a project for most renowned web based disaster management system which is "Sahana" (http://www.sahana.lk) . This image is GSoC 2007 official logo and I received GSoC T-Shirt and my Certificate from Google last Saturday. T-Shirt contain this logo and sometimes I feel this logo is suitable for Gals because it contain bunch of flowers. Finally I would like to thank for Google and Sahana for offering me GSoC 2007.
Tuesday, November 13, 2007
How to install Java in Firefox on Linux platform
First of all you have to install Java Runtime Envirnmonet to your Linux Platform from following link.
http://www.java.com/en/download
I'm installing java in /usr/java/ folder please install it in your preffered path. Then do following three steps.
Above installation path can be differ from your installation and jre version also can be differ.
Finally restart your Firefox browser
http://www.java.com/en/download
I'm installing java in /usr/java/ folder please install it in your preffered path. Then do following three steps.
- Open Terminal
- Change to your Firefox plugins directory (For me path is : /usr/lib/firefox/plugins)
- Issue the following command: sudo ln -s /usr/java/jre1.6.0_03/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
Above installation path can be differ from your installation and jre version also can be differ.
Finally restart your Firefox browser
Monday, October 29, 2007
Sri Lanka win Hong Kong Sixes
Sri Lanka Cricket team beat ALL STAR team at the "Hong Kong Sixes" cricket tournament and became champions
Congratulations Sri Lanka Six-Side Cricket Team
http://content-www.cricinfo.com/other/content/current/story/317470.html
Congratulations Sri Lanka Six-Side Cricket Team
http://content-www.cricinfo.com/other/content/current/story/317470.html
Sunday, October 7, 2007
How to create public_html in Debian
First of all check whether enable-modules under your apache server
for that
goto /etc/apache2/mods-enabled/ folder and check userdir.conf, userdir.load modules are enabled by simply typing ls command
if not then goto /etc/apache2/mods-enabled and create symbolic link as follow
sudo ln -s ../mods-available/userdir.load
sudo ln -s ../mods-available/userdir.conf
Finally create public_html folder under your home directory an give full access permission to it
then Please restart your apache server (sudo /etc/init.d/apache2 restart)
then access it through following link
http://localhost/~[your_home_directory_name]/ (for me it's http://localhost/~prabath/)
For Ubuntu also if public_html doesn't work do above instruction to enable it.
for that
goto /etc/apache2/mods-enabled/ folder and check userdir.conf, userdir.load modules are enabled by simply typing ls command
if not then goto /etc/apache2/mods-enabled and create symbolic link as follow
sudo ln -s ../mods-available/userdir.load
sudo ln -s ../mods-available/userdir.conf
Finally create public_html folder under your home directory an give full access permission to it
then Please restart your apache server (sudo /etc/init.d/apache2 restart)
then access it through following link
http://localhost/~[your_home_directory_name]/ (for me it's http://localhost/~prabath/)
For Ubuntu also if public_html doesn't work do above instruction to enable it.
Friday, July 20, 2007
How to remove duplicates from PHP array
We can remove duplicate elements from PHP array by using
array_unique()
function there are many functions available in PHP to manipulate arrays.
Friday, June 1, 2007
Sahana translate into Sinahla language
Sahana Disaster Management System is translated into our mother tongue which is Sinhala Language
Tuesday, April 24, 2007
Hooray Sri Lanka selected to Cricket World Cup Final !!
Sri Lanka cricket team beat New Zealand at the world cup Semi Final.
Congratulations Sri Lanka Cricket Team
Congratulations Sri Lanka Cricket Team
Thursday, April 19, 2007
Localize gnome gedit
Following link help you to localize( Translate to your mother tongue) gedit in gnome
http://l10n.gnome.org/module/gedit
But first you have to configure your locale setting into your mother tongue. using 'sudo dpkg-reconfigure locales' command in debian.
Try this, it is very interesting
http://l10n.gnome.org/module/gedit
But first you have to configure your locale setting into your mother tongue. using 'sudo dpkg-reconfigure locales' command in debian.
Try this, it is very interesting
Sunday, April 1, 2007
Gmail Drive for Linux gmailfs
Gmailfs software is similar to Gmail Drive. Which has capability to upload files to your gmail account. Try gmailfs, I also tried but when mounting, problem occurred. Try to find method to configure gmailfs without any problem and let us know.
cheers
cheers
Thursday, March 15, 2007
Insert 1 million data to mysql table within 4 miniutes
I had inserted 1 million data to mysql table within 4 minutes using for loop which is wirreten in PHP. Code is mention below.
mysql_connect("localhost", "root", "");
mysql_select_db("sahana");
mysql_query("INSERT INTO `field_options` VALUES ('opt_skill_type', 'AUT4', 'AUTOMOTIVE Skilled - Tire Repair')");
for ($counter = 1; $counter <= 500000; $counter += 1) {
echo $counter;
mysql_query("INSERT INTO `field_options` VALUES ('opt_skill_type', 'AUT4', 'AUTOMOTIVE Skilled - Tire Repair')");
}
?>
I had execute this file two times then it is 1 million of data this type of methods you can use for testing purpose.
See how exciting is these kind of crazy things.
mysql_connect("localhost", "root", "");
mysql_select_db("sahana");
mysql_query("INSERT INTO `field_options` VALUES ('opt_skill_type', 'AUT4', 'AUTOMOTIVE Skilled - Tire Repair')");
for ($counter = 1; $counter <= 500000; $counter += 1) {
echo $counter;
mysql_query("INSERT INTO `field_options` VALUES ('opt_skill_type', 'AUT4', 'AUTOMOTIVE Skilled - Tire Repair')");
}
?>
I had execute this file two times then it is 1 million of data this type of methods you can use for testing purpose.
See how exciting is these kind of crazy things.
Subscribe to:
Posts (Atom)