Yesterday I got my new laptop: Lenovo thinkpad T61. I am a thinkpad fan and always crazy about its classic design. IBM thinkpad was gone for ever while this branch was sold to Lenovo. My old one is thinkpad T41 following me for more than 4 years. Until now it is still very stable even after several strong damages by my honey heart (you know what this means :-) ). Before it was acted by falling down, I made an order to my new one: T61, yes, Lenovo T61.
Looking: thicker than T41. I guess designers wanna better air flow... although T41 is also very good in emiting heats unlike some other brands (the name beginning with 'com', you know this ;-p) which can be able to be a good heater in winter. Of course, the computer is very solid in looking, feeling and essence.
Layout: I may take a while to be used it. The new layout seems better. for example, mic slot is closer to your ears, more USBs, _shielded_ top light (previous one has a light too, but it is facing your eyes when you looked at it)...
....
Saturday, July 26, 2008
Computer:laptop: buy a new laptop, Lenovo T61
Tuesday, July 8, 2008
Shell:Bash:replace substring in string
${string/substring/replacement} Replace first match of $substring with $replacement
${string//substring/replacement} Replace all matches of $substring with $replacement
${string/#substring/replacement} If $substring matches front end of $string, substitute $replacement for $substring
${string/%substring/replacement} If $substring matches back end of $string, substitute $replacement for $substring
Refer to the link for more information.
Wednesday, June 18, 2008
Software: Opera
Firefox released the version of 3.0, however, some favorite add-on are not avaible yet in the mean time. So currently I may not use firefox 3.0. However, a good alternate is opera. Actually I started to use opera since its version of 3.0, now the opera is pretty matual and extremely fast.
At the first, I didn't find how to find or search text in the page what you are browsering, which is not so convenient. Use ctrl+f just actives a window to allow you to search. I want a search function like one in Firefox. Yes, I just find it: use . to active it!
Tuesday, May 13, 2008
Linux:Bash:how to print quotation marks in awk
ls | awk '{print "'\''"$1"'\''"}'
or
awk 'BEGIN { print "Here is a single quote \47" }'
Tuesday, May 6, 2008
Linux:shell: how to change color of your prompt
I find a good paper:
http://www.funtoo.org/en/articles/linux/tips/prompt/
to teach you how to change the color of your prompt. Actually I did this change long time ago, however, there is a problem in my setting. I didn't use "\[" and "\]" to include the string so that my shell cannot precisely calculate word-wrap and once I input long strings in the command line, my line will mass up.
Thursday, April 24, 2008
Linux:command:cut
see 'man cut' for help information. Example here:
$ who am i | cut -f1-2 -d " " #print the first column
$ who am i | cut -f2- -d " " #print non-first columns
Wednesday, April 2, 2008
Web:cluster maps
http://www.clustrmaps.com/getone.php
http://www4.clustrmaps.com/counter/maps.php?url=http://zyliu2005.blogspot.com/
