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

29Mar/08Off

white tiger

这是真的老虎。摄于2005年3月,新加坡动物园。

white tiger

Tagged as: No Comments
29Mar/08Off

Blade compute farm

IBM Blade compute farm, setup at Nov 2007.

ibm blade

29Mar/08Off

auditd

Last week, during meeting with IT auditor, she asked "did you 'record' the change of system in details when 'system admin' login into machine and did some modification? " hm... In linux we use auditd.

What is linux auditd ?

Tagged as: Continue reading
28Mar/08Off

bash shell debug

-n 只读取shell脚本,但不实际执行
-x 进入跟踪方式,显示所执行的每一条命令
-c "string" 从strings中读取命令

tee命令会从标准输入读取数据,将其内容输出到标准输出设备,同时又可将内容保存成文件.
ipaddr=`/sbin/ifconfig | grep 'inet addr:' | grep -v '127.0.0.1'| tee a.txt | cut -d : -f2 | awk '{print $1}'` ;echo $ipaddr

file a.txt was created

Tagged as: No Comments
27Mar/08Off

Tips on remote backup

backup to remote machine tape

tar cvf - file_or_dir | ssh remote_machine "dd of=/dev/nst1"

backup to remote machine

tar cvf - file_or_dir | ssh remote_machine "( cd /backup/ ; tar xf - )"

Tagged as: No Comments
26Mar/08Off

vnc performance

User Always  questions why his/her vnc server so "slow":

1, the network speed is generally the weakest link for VNC performance.

2,The client side video card usually has very little to do with performance. VNC only does 2D graphics updates on the client side and can only do them as fast as the network and server allow.

Filed under: IT No Comments
25Mar/08Off

Imelda with us 4 months

Imelda来到我们家4个月了,今晚发了薪水给她,她高兴地笑着说"thanks sir/mam" 。 端端和她相处的很好,很粘她,有时我和孩子她娘吃醋的很。

女儿笑的很开心的时候,能清楚地看到她那颗白白的小下门牙了。放个手指进她的小嘴,她就用力咬,给她咬的感觉真好。

Tagged as: No Comments
25Mar/08Off

encrypt/decrypt file with password using openssl

openssl enc -aes-128-cbc -in input_file -out output_file -pass pass:mysilypassword -salt

openssl enc -aes-128-cbc -d -in input_file -out output_file -pass pass:mysilypassword -salt

Filed under: IT No Comments
25Mar/08Off

printf

From http://snap.nlc.dcccd.edu/learn/nlc/printf.txt

A printf primer

Printf, (print formatted), is a very powerful tool used to format text to make your output more beautiful. It is also very helpful when you are trying to print specific values like hex or octal numbers. In addition, it is sometimes useful to see the actual contents of a variable, including the non-printing characters. In this instance, again, it is useful to print the variable’s value in hex. It is also useful, at times, to be able to format the output of a print statement so you can create columnar output. Again printf can meet this need.

Filed under: IT Continue reading
24Mar/08Off

奥运,羊肉串

早上开着车去上班,电台958体育新闻的主持人用轻快的声音倒数着奥运的天数,我心里一凉,记得那年北京申请下2008奥运的那天,我坐在一小区的羊肉串烧烤店沿街的小凳子上,喝着啤酒,吃着大串大串的羊肉, 这是我的晚餐;夜晚很凉,小区里少有人走动,只有树叶沙沙的声音;大约是10点多是,各个楼里传来欢呼声,我知道奥运北京成功了.... 往事如烟。

Tagged as: No Comments
23Mar/08Off

城市噪音

新加坡很小,多数居住的小区附近都是繁忙的大马路; 无论是马路的设计者,还是小区的规划者,都忽略了噪音对人的影响。

政府只想到“居者有其屋”,但忽略了 "居者优其屋", 此为一悲哀。

Filed under: life No Comments
23Mar/08Off

“Storage Networking Fundamentals”

by Marc Farley:

SAN is the application of storing over a network

NAS is the application of filing over a network

The main difference between the file system snapshot and the whole volume and delta volume methods is the fact that file system snapshot data can be accessed using network file system protocols like nfs and does not rely on storage connectivity over a SAN. while SAN connectivity can be valuable for systems administrators, it has limited applicability for desktop users whose systems are not connected to a SAN

Filed under: misc No Comments
21Mar/08Off

《制造汽车销量》

书的作者:李欣禹

启示一:把握时机,因为成功的机会永远只留给随时准备好的人。

启示二:成功从点滴琐碎之事开始。

启示三:必须成为行家才能成为赢家。

启示四:学会做正确的事,锲而不舍,永不言败。

Filed under: book No Comments
21Mar/08Off

我家端端长牙齿了

昨晚下班回家,家里的菲佣imelda说端端出牙齿了,老婆和我扑上去想拔开女儿的小嘴看她的小齿,结果失败,闺女就是不肯开金口。

今天端端7个月大了。

Tagged as: No Comments
21Mar/08Off

Redhat AS 5 version

The PHP version in Redhat 5 didn't come with mysql support, Spent half day on downloading and installing , configuring latest apache 2.2.8, latest mysqld 5.0.51a and latest php 5.2.5.
中文支持!

Filed under: IT No Comments