Featured Post

read more

If you know what life is all about, maybe you won’t get too upset with the things that people do. Because life is human nature playing itself out; human beings being human beings. It’s about love and hate; generosity and greed; good and evil. So instead of expecting some ideal, just expect people to be people. Then you won’t get too upset.

But then, it’s human nature to get upset with the things that people do …

This is a public service announcement.

At the toll plaza the other day, I handed over my money to the toll booth operator and waited for the boom to be raised. It was taking a bit too long so I glanced at the guy. He was hunched over the till, shuffling small pieces of paper; it then occurred to me that I had given him RM50.60 instead of RM1.60.

So please. Be careful when proffering money in the dark. Because of the similarity of the new RM50 note to the RM1 note, you might be giving more than you should.

For me, 6-month-old babies are the best. They’re universally cute; they can recognize you and smile at you; they laugh at the funny faces that you make; they can’t yet crawl around the house and pick up every object they find and put it in their mouth; they can’t throw a tantrum in the busiest aisle of the supermarket; they can’t climb/jump/play truant/run away from home/impregnate/get pregnant etc. So the question is – how to constantly have a 6-month-old in the house? Easy: continuously produce new 6-month-olds …

There are various ways to view for open ports on your local Ubuntu/Linux machine. However, I particularly prefer two methods/command below, since it is simple, and without any third-party application.

Open your command prompt, and type:
netstat -an | grep "LISTEN "

Or, another method:
sudo netstat --tcp --udp --listening --program

It will list all ports that your machine are listening to. The latter method will even shows the program name associated to it.

Enjoy.

I have been using Conky as my desktop monitoring widgets for quite some time now. Before this, I’ve been using few applications like screenlets and gdesklets, but there’s a lot of drawbacks on these applications. Among them were limited customizations, it’s difficult to develop your own widgets, unable to find widgets you’re looking for, and if you do find them, they are too buggy to be used in the first place.

Then, I’ve found Conky. I’ll never turn back.

This is the best system monitor I have ever experienced. It is highly customizable, all you have to do is modify the Conky config file. There’s a lot of widgets/variables to use, such as system monitoring tools (CPU, RAM, SWAP, Hard Drive, etc), batteries capacity, networking, and more. And best of all, it is very, very easy to create your own widgets. If you know any programming language such as Python, Perl, or even a simple Shell Scripts, then you’re off to create your own.

Read the rest of this entry »

twitter rss