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

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.

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

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