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)