2012年4月

merida duke 550 2198直接骑回家

merida duke 550 2198人刀入手,直接骑回家,27KM,脚耙手软。最关键是屁股好痛。山洞的上坡太累,下坡好爽,滑行5KM。

Outlook Express "0x800CCC0F"错误

排除杀软、防火墙的限制,还有种可能是PGP Desktop加密了email造成的。点Options...-> Messaging -> 去掉Secure EmailEncrypt AIM的勾选。

giant atx750 or merida duke550 ?

InstallShield : XCopyFile返回0(成功),但实际拷贝文件失败

strCopyPath = m_strFatherPath ^"Files";
//LongPathToQuote(strCopyPath,TRUE); 
strMudiPath = TARGETDIR;
//LongPathToQuote(strMudiPath,TRUE);
CopyFileExX(strCopyPath, strMudiPath, TRUE);

搞了很久,不是权限问题,不是函数参数问题,不是IS项目文件问题,结果问题是LongPathToQuote是多余的!去掉后OK。

How to filter http traffic in Wireshark?

Ping packets should use an ICMP type of 8 (echo) or 0 (echo reply), so you could use a capture filter of:

icmp

and a display filter of:

icmp.type == 8 || icmp.type == 0

For HTTP, you can use a capture filter of:

tcp port 80

or a display filter of:

tcp.port == 80

or:

http

Note that a filter of http is not equivalent to the other two, which will include handshake and termination packets.

If you want to measure the number of connections rather than the amount of data, you can limit the capture or display filters to one side of the communication. For example, to capture only packets sent to port 80, use:

dst tcp port 80

Couple that with an http display filter, or use:

tcp.dstport == 80 && http

For more on capture filters, read "Filtering while capturing" from the Wireshark user guide, the capture filters page on the Wireshark wiki, or pcap-filter (7) man page. For display filters, try the display filters page on the Wireshark wiki. The "Filter Expression" dialog box can help you build display filters.

Vmware workstation没有出现分区界面

我是奇怪了,在最新的VMware Workstation7.0中安装一个纯净原版的Windows Server 2003,居然没有出现分区界面?直接什么都不用动就自动帮你安装了。这显然不是我要的,怎么回事呢?以前VMware6不会这个样子的。后来几经探究,才发现原来VMware7.0的确有不同了,在新建虚拟机时第一页要选择Custom(advanced),之后的Next下面,要选择I will install the operating system later!这样安装操作系统,才会出现分区的界面。

原因是:Vmware Easy Install技术自动无人值守安装Windows。