Welcome to Blogol.net

| 主页 | 日历 | 登陆 | 注册 |
在2009-4-30前,最近30天的日志

彻底晕菜

2009-4-23 15:07:27

Awei

脑袋已经混沌状态了。以为驾照过期,早期去望京医院体检。快查完了,医生说明年才需要换照~。我晕。自己看错了日期。


山花烂漫

2009-4-11 23:37:16

Awei

下午3点40分,与朱艳,建新出发怀柔。4点50分到达雁栖湖附近的一家农家院,朱艳兴起去钓鱼,水很浑浊,但旁边不少人确实钓上了不少鱼,虽然鱼都很小。
朱艳做了会样子,说继续往山里走,于是一路奔向山吧方向。“山吧”,“那里”一如既往的人气十足。到达时,才5点半左右。吃饭嫌早。就继续前行。那就是去箭扣长城的路了。
在走几公里后,山上路边零星的开着桃花。 直到某个山口,峰回路转,路边突然全是盛开的桃花树。心里实在是惊喜异常。
 继续前行,能看到山上不少的桃花似锦,超漂亮的感觉。最好的地方那里有个好听的名字好像叫做“花果谷”。
可惜是阴雾天,能见度不好,而且光线不明向,要是阳光明媚的天气里,想想该是多么令人心旷神怡的景色。

返程中又欣赏了一遍,朱艳兴起,顾不上继续欣赏而赋诗一首如下:

箭扣溪涧钓桃花,驿路夕阳布奇霞。
一壶井栏沏碧水,自在闲人寄农家。

在"农家院"吃金鳟做得鱼生和虹鳟做的烤鱼,与建新各饮一啤酒。回京由朱艳开车,于是闲下来和之:

雁栖湖边一钓垂,山吧那里过几回。
信缰驶入花果谷,漫山桃花更爱谁?

Expect for Win32

2009-4-11 10:36:23

Awei

Installation:

A: Auto install Expect
===============================
1) install ActiveTcl. Current 8.5.6
2) cd c:\tcl\bin
3) Execute "teacup.exe install Expect" (need connected to internet)


C:\Tcl\bin>teacup.exe install Expect
Resolving Expect ... [package Expect 5.43 win32-ix86 @ http://teapot.active
.com]
Resolving Tcl 8.4 -is package ... [package Tcl 8.5.6 _ ... Installed outsid
ository, probing dependencies]

Retrieving package Expect 5.43 win32-ix86 ...@ http://teapot.activestate.co
Ok

Installing into C:/Tcl/lib/teapot

Installing package Expect 5.43 win32-ix86


B: Manual install expect by file.zip
===============================
1) install ActiceTcl.
2) Extract file.zip to cd c:\tcl\bin
3) cd c:\tcl\bin
4) teacup.exe install Expect


C: Manual install expect by Expect4Win-win32-ix86.rar
===============================
1) install ActiceTcl.
2) install Expect4Win-win32-ix86.exe


Usage:
=================================

C:\Tcl\bin>tclsh85.exe
% package require Expect
5.43
% spawn telnet
5516
% expect ">"
Welcome to Microsoft Telnet Client

Escape Character is 'CTRL+]'

Microsoft Telnet> % send "bye\[n]"
%
% expect
FlushChannel: damaged channel list

This application has requested the Runtime to terminate it in an unusual way
Please contact the application's support team for more information.

C:\Tcl\bin>
C:\Tcl\bin>

Reference:
==================================
http://docs.activestate.com/activetcl/8.5/expect4win/welcome.html
http://blog.chinaunix.net/u2/82392/article_98198.html


Packages:
===================================
http://teapot.activestate.com/package/name/Expect/list

Public traceroute

2009-4-11 10:34:26

Awei

Public traceroute (#5979) 
For a simple way to tell if networks are hosed up...use the public, free route servers (!):
(You have to telnet into these..)

route-server.gt.ca
route-server.ip.att.net
route-server.exodus.net
route-server.gblx.net
route-views.oregon-ix.net
ner-routes.bbnplanet.net

sh ip bgp x.x.x.x tells you the AS-Paths that this router has learned the route.
sh ip bgp flap x.x.x.x tells you the flap statistics on a network
(Or just sh ip bgp flap for all networks)
etc..etc..

Original link



Copyright @ 2004 M-Logger All rights reserved.
Contact with me by MSN:
wxz@china.com