图片我可没版权啊,就贴贴而已。
分类目录归档:不是技术
VC bug
Watch windows的,左栏是变量名,右栏是变量值。当显示方式定为hex的时候,关掉,重新debug,选数据显示为十进制,于是出现左栏为16进制,右栏为10进制的不同步。
不得不说,Scarborough Fair很美
Scarborough Fair
Are you going to Scarborough Fair
Parsely sage rosemary and thyme
Remember me to one who lives there
She once was a true love of mine
Tell her to make me a cambric shirt
Parsely sage rosemary and thyme
Without no seams nor needle work
Then she will be a true love of mine
伴唱:
On the side of hill in the deep forest green
Tracing of sparrow on snow crested brown
Blankets and bed clothers the child of maintain
Sleeps unawafe of the clarion call
Tell her to find me an acre of land
Parsely sage rosemary and thyme
Between the salt water and the sea strand
Then she will be a true love of mine
伴唱:
On the side of hill a sprinkling of leaves
Washes the grave with slivery tears
A soldier cleans and polishes a gun
Sleeps unaware of the clarion call
Tell her to reap it with a sickle of leather
Parsely sage rosemary and thyme
And gather it all in a bunch of heather
Then she will be a ture love of mine
伴唱:
War bellows blazing in scarlet battalions
Generals order their soldiers to kill and to fight for a cause
They have long ago forgoten
Sleeps unaware of the clarion call
sigh……
深大印象
上周在深大上了四天的课,里面树很多,人比较少。啧啧
荔枝和龙眼的开花了,鲜绿鲜绿的,深大的mm们身材都很好,虽然样子都不咋的。
深大的食堂比较差,没什么好吃的。
居然还要用VC
还是VC6,啧啧。
nslookup
C:\Documents and Settings\Administrator.TSINGHUA-QBVVR1
nslookup
Default Server:
dns-a.tsinghua.edu.cn
Address:
166.111.8.28
set type=ns
server ns.xinnet.cn
Default Server:
ns.xinnet.cn
Address:
202.106.124.195
ls sina.com.cn
[ns.xinnet.cn]
然后就没有反应了……
UE里面的RE
格式跟UNIX/Perl略有不同吧,以下是UE帮助里面的
Symbol
Function
%
Matches the start of line – Indicates the search string must be at the beginning of a line but does not include any line terminator characters in the resulting string selected.
(match 行首)
$
Matches the end of line – Indicates the search string must be at the end of line but does not include any line terminator characters in the resulting string selected.
(match 行末)
?
Matches any single character except newline
(match 除新行外的任意单一字符)
*
Matches any number of occurrences of any character except newline
(match 除新行外的任意数目的任意字符)
+
Matches one or more of the preceding character/expression.
At least one occurrence of the character must be found.
(match 除新行外的超过0个的指定字符)
++
Matches the preceding character/expression zero or more times.
(match 指定字符的0或多次)
^b
Matches a page break
(match 一个分页符)
^p
Matches a newline (CR/LF) (paragraph) (DOS Files)
(match dos格式下的一个新行符)
^r
Matches a newline (CR Only) (paragraph) (MAC Files)
(MAC 格式)
^n
Matches a newline (LF Only) (paragraph) (UNIX Files)
(UNIX格式)
^t
Matches a tab character
(match tab符)
[ ]
Matches any single character, or range in the brackets
(match 单一的字符,或者括号内的字符范围中的一个)
^{A^}^{B^}
Matches expression A OR B
(match 表达式A或表达式B)
^
Overrides the following regular expression character
(忽略后面的正则表达式)
^(…^)
Brackets or tags an expression to use in the replace command.
A regular expression may have up to 9 tagged expressions, numbered according to their order in the regular expression.The corresponding replacement expression is ^x, for x in the range 1-9.
Example: If ^(h*o^) ^(f*s^) matches “hello folks”, ^2 ^1 would replace it with “folks hello”.
(将括号中的表达式赋给^1~^9使用,^1~^9应用在replace中)
喜怒无常
的硬件,不知道是DDR的问题还是P4的问题,系统的第一个用户程序在上面跑有时候会莫名其妙地变慢。
真是喜怒无常。
got one switch, threw out a monitor
because the monitor had sth wrong, it was IBM’s rubbish.
I use only one monitor now.
ISA时代的硬件产品
连续的端口访问间必须延时,尤其是那些中途并不会产生中断的,呵呵
写软驱驱动有感。