huang zuxing blog @ home the quieter you become, the more you are able to hear.

27Feb/09Off

ssh tunnel and socket proxy

1. build tunnel using linux/unix machine

Tagged as: Continue reading
25Feb/09Off

perl -i -wpl -e

Suppose you want to change all words "english" to "hello" in file abc.txt:

Tagged as: Continue reading
23Feb/09Off

To the moon and back

To the moon and back ; now to hong kong and back.

Filed under: IT Continue reading
21Feb/09Off

新加坡飞禽公园

端端喜欢看bird bird, 孩子她娘老叫嚷着要某个星期六带她去.

18Feb/09Off

APPLE and CAT

女儿开始学英文字母了,我们拿着有图片的英文画册教的时候说:

A for apple

B for baby

C for cat

D for dog

16Feb/09Off

wordpress posts failed to list in categories

Today opened my blog, found my posts all filed under uncotegories,  looks like my wordpress categories disappear.

16Feb/09Off

ext3 file size limit

one of teams in fab7 has a hp585 G2 machine, installed with redhatES3.8, failed to create big file which file size is  more than 16G.

Tagged as: Continue reading
16Feb/09Off

sge note

Installed sge6.2 for a new linux cluster, but one of machines failed to show up its status.

Tagged as: , Continue reading
13Feb/09Off

Say goodbye to HP SD3200 and Sun fire 6800

It is time to retire them, to free rack space for mess data center in fab2 and get rid of the expensive maintaining fee.

12Feb/09Off

2厘米

"我们家端端比两个多月前长高了2厘米,82厘米了." 我美滋滋的对老婆说.

早上Imelda给端端换衣服,女儿光着身子在床上窜,Imelda愁着脸翻找着端端的衣服,我才意识到我们家闺女又长高了.

女儿有很多她堂姐的衣服,但孩子她娘还是很喜欢给闺女添置些新的.

星期六是个购物日了,看来.

Tagged as: No Comments
12Feb/09Off

upgrade redhat OS without connecting to redhat network

Suppose you have redhatES4.2 installed on machine, you want to use up2date command to upgrade it to version4.7, but you don't want to register to Redhat and use slow internet to download files from Rehdat.

Tagged as: Continue reading
12Feb/09Off

可爱的koala找水喝

give me water

give me water, please.

Thanks!

Thanks!

Tagged as: No Comments
11Feb/09Off

魏紫姚黄

中国人的财产观:
1.物要纯
2.物要重
3.物要光

中国的审美层次:
1.艳俗
2.含蓄
3.矫情
4.病态

Tagged as: No Comments
11Feb/09Off

萧墙

成语:"祸起萧墙", 什么是萧蔷呢? 看了<<马未都说收藏之家具篇>> 才注意到就是屏风.

指祸乱发生在家里,比喻内部发生祸乱.

<<马未都说收藏之家具篇>> 也指出,西湖十景中的"平湖秋月","柳浪闻莺" ,清乾隆元年叫"平湖秋色",柳岸闻莺".

西湖十景中有了"三潭映月",不应再有重景"月", 如同燕京八景,没有重复的.

柳浪,大风,你听得鸟叫?大风时,鸟是不叫的.

2009年1月购买于湛江赤坎

2009年1月购买于湛江赤坎

Tagged as: No Comments
10Feb/09Off

bsub and qsub

today, user asks how to submit job  to a specific host in sge.

LSF

bsub -m host_name command

SGE
qsub -l hostname=host_name command

 

Translation table for RM commands
Utility SGE Command LSF Command Load Leveler Torque
Release Job qrls bresume llhold -r qrls
Submit Job qsub bsub llsubmit qsub
View Queues showq bqueues llclass qstat -q
View Job qstat -j bjobs llq qstat -f
Hold Job qhold bstop llhold qhold
Delete Job qdel bkill llcancel qdel
Tagged as: No Comments
10Feb/09Off

vim auto completion

word complete:
CTRL-x CTRL-n
CTRL-x CTRL-p

line complete:
Ctrl+x Ctrl+l

file complete:
Ctrl+x Ctrl+f

dictionary complete:
set dictionary+=/usr/share/dict/words
Ctrl-x Ctrl-k ( Ctrl-n and Ctrl-p to search the match)

Tagged as: No Comments
10Feb/09Off

感人的劫后余生

2009澳洲维多利亚大火后,消防员给受伤的树袋熊喂水.(图片来自新浪网)

koala

koala

Tagged as: No Comments
6Feb/09Off

iptable pic

iptables pic

iptables pic

Tagged as: , No Comments
5Feb/09Off

upgrade wordpress to 2.7

Backup all I added/modified: wp-config.php and wp-content/uploads

point to /wp-admin/upgrade.php ; follow the instructions.

browse to /blog/index.php, nothing come out, browse to /blog/wp-admin, page comes out and it works .

Tagged as: No Comments
2Feb/09Off

system admin should

empower the user

keep it simple

expect catastrophe

plan

stay informed

share

automate

document

Tagged as: , No Comments
2Feb/09Off

2009牛年廉江(图片手机拍摄)

廉江黄仔羊肉烫, 35¥一斤, 肉甜,汤鲜美, 店铺原来在西街, 现在都在城北盖了新楼了.

廉江南街的白切鹅,白切鸭, 香. 两人份, 加青菜,炒海贝, RMB35

Tagged as: Continue reading
2Feb/09Off

merge two lines

# df -h -t nfs

stitch:/stitch2Tdata/DRC_GEN6
2.0T  1.7T  324G  85% /net/stitch/stitch2Tdata/DRC_GEN6

Tagged as: , , Continue reading