Extract first 100 lines from a file in UNIX
Feb 23rd
I was tasked to get first 100 lines of records from a database dump. While searching big brother G, I found the solution here:- how to extract a range of lines from a file provided by zazzybob.
Here’s the solutions:-
You could also pipe though sed to extract the range – e.g.
blah | sed -n ‘1,1000p’ | blah
to extract the first 1000 lines of the file
How I uses it:-
cat file.unl | sed -n ‘1,100p’ > out100.unl
Cheers.
[Solved] How to switch off Google Buzz?
Feb 12th
When Google starts to activate the Buzz add on for Gmail, I thought it was cool.. Well I still think it is cool but at times, I’d want peace of mind and don’t want to get updated on what is going on with the people around me.
Here is how I could turn off Google Buzz.
Once you have logged into Gmail, scroll down to bottom of the page. You’ll see the “Turn off Buzz” link. Just click on that and you are then Buzzed off..
Apple Ipad
Jan 29th
China mobile phones
Jan 26th
Recent hype in mobile industry is the road show of mobile phones from China. The road shows are usually held in popular places where many people would visit. Attractive banners were put up. In the banner it says 70% off on branded handphones.
Well, I took the opportunity to go and take a look at the products which they are putting up for sales. I’d say those gadgets are quite impressive. Many are similar to most branded phones but different in operating system.
I’ve seen the first generation of China made phones which mimics the popular iPhone. And after a year, the product has tremendously improved. With dual active sim card which allows you to put 2 mobile numbers on standby, multitouch screens, WIFI add on, Television and many others which many branded phones could not match.
One thing that I don’t like is the sound quality of the phone. They should improve on them.
What do you think of China made mobile phones?
New start!
Jan 1st
Recent outage has wiped out my whole entire live data.
Well.. It’s a new year.. I may then just start new…
Looks like this year gonna be a new environment for me to fight. Many new resolutions which has not been made before. New strategy to be formulated. Wish me luck.

