Petrol Rush in Malaysia

This was the scene at the petrol kiosk near my housing estate in Cheras. [youtube]http://www.youtube.com/watch?v=b3Hf8rHWnfU[/youtube] I did not fuel up and so did many of my friends. We tried our luck at kiosks around but all of them had piles of cars waiting to fuel up. It just wasn’t worth it. Waiting in line for hours just to save 30 bucks is not me. I’m gonna eventually have to follow the new increased price moving forward so instead, I decided to not smoke for 3 days to cover my loses....

2008-06-05 · 1 min · Danesh Manoharan

Defension is down

![](/wp-content/uploads/2008/06/derfensiobanneryv11.jpg" alt=“Defensio” title=“Defensio” width=“400” height=“103” class=“alignnone size-medium wp-image-596” />]1 Defensio has been down since yesterday. My spam aren’t being filtered, I can’t access my Defensio quarantine page and users are unable to post new comments. Their hosting provider [Amazon (EC2)][4] push some software which caused Defensio’s services to go down. The team’s currently working on the issue and updated can be tracked through their [blog][5] and twitter. [3]: /wp-content/uploads/2008/06/defensio-down.png) [4]: http://www....

2008-06-05 · 1 min · Danesh Manoharan

Fuel price hike in Malaysia

It’s RUMORED that the new fuel price in Malaysia effective midnight today will be raised from RM1.92 to RM2.70. That’s a 78 cents hike which adds up to about 40%. My Wira gonna cost me about RM110 for a full tank. Looks like the petrol pumps around town are gonna be filled up today. You endorse the hike? I do, time to think green I would say.

2008-06-04 · 1 min · Danesh Manoharan

How to send a process to the background

Sending a process to the background in Linux is quite easy. All you need is bg, fg, &, and ctrl+Z ( ^Z ). For this example I will use a simple bash script test.sh I put together to print “Test” every 5 seconds. #!/bin/bash<br /> #This script will print "Test" every 5 seconds<br /> #<br /> while [ true ]<br /> do<br /> echo "Test at `date`"<br /> sleep 5<br /> done<br /> #End...

2008-06-03 · 2 min · Danesh Manoharan

How to disable directory listing in Tomcat

This is how you turn off directory list for yr Tomcat server. Edit the default servlet in the {$CATALINA_HOME}/conf/web.xml file. Look for the section within the <servlet><br /> <servlet-name>default</servlet-name><br /> <servlet-class><br /> org.apache.catalina.servlets.DefaultServlet<br /> </servlet-class><br /> <init-param><br /> <param-name>debug</param-name><br /> <param-value>0</param-value><br /> </init-param><br /> <init-param><br /> <param-name>listings</param-name><br /> <param-value>true</param-value><br /> </init-param><br /> <load-on-startup>1</load-on-startup><br /> </servlet> Change the to false for the listing section. <init-param><br /> <param-name>listings</param-name><br /> <param-value>false</param-value><br /> </init-param>

2008-05-30 · 1 min · Danesh Manoharan