SystemTap是我目前所知的最强大的内核调试工具,有些家伙甚至说它无所不能:)
Debuted in 2005 in Red Hat Enterprise Linux 4 Update 2 as a technology preview.
After four years in development, System 1.0 was released in 2009.
As of 2011 SystemTap runs fully supported in all Linux distributions...
分类:
其他好文 时间:
2014-06-05 12:35:09
阅读次数:
280
【题目】
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).
For example,
S = "ADOBECODEBANC"
T = "ABC"
Minimum window is "BANC".
Note:
If there is no such window in S that covers ...
分类:
其他好文 时间:
2014-06-05 11:14:26
阅读次数:
255
【题目】
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).
For example,
S = "ADOBECODEBANC"
T = "ABC"
Minimum window is "BANC".
Note:
If there is no such window in S that covers ...
一、基本语法:window.open(pageURL,name,parameters)其中:pageURL 为子窗口路径name 为子窗口名字parameters 为窗口参数(各参数用逗号分隔)二、示例
window.open('page.html','newwindow','height=500,width=800,top=0,left=0,
toolbar=no,menuba...
以前写 JavaScript 脚本时,事件都是采用object.event =
handler;的方式初始化。这种方式对于 Internet Explorer、Mozilla/Firefox 和 Opera
来说很通用。但是有一个问题就是,这种方式只能一个事件对应一个事件处理过程。如果希望一个事件可...
分类:
Windows程序 时间:
2014-05-31 14:17:23
阅读次数:
1659
1、提示符助手快捷键alt+/你可以自定义 window->keys->Content
assist->Binding2、复制当前行alt+ctrl+下3、删除ctrl+D4、加注释块注释 shift+ctrl+\取消块注释
shift+ctrl+/行ctrl+/
分类:
其他好文 时间:
2014-05-31 06:49:27
阅读次数:
195
/*** 下面演示了通过原型的创建方式,使用基于原型的创建能够将属性和方法*
设置为Person专有的,不能通过window来调用。* 原型是javascript中的一个特殊对象,当一个函数创建之后,会随之就产生一个原型对象*
当通过这个这个函数的构造函数创建了一个详细的对象之后,在这个详细的对象中...
分类:
Web程序 时间:
2014-05-31 06:35:55
阅读次数:
301
因为工作需要,昨天安装了TortoiseSVN
64位版,没有马上重启。随后,IIS中打开页面后浏览器一片空白,没有网页,没有地址,什么都没有。这时还没想到可能是TortoiseSVN的问题。后来实在是不知道什么原因,就想重启试试。重启后,进入桌面3秒钟左右,就蓝屏,报计算机发生了问题,需要重启。然...
简单的通用事件方法var EventUtil = { getEvent: function (e) {
return e || window.event; }, getTarget: function (e) { return e.target || e...
分类:
编程语言 时间:
2014-05-31 04:21:07
阅读次数:
294
1, 首先打开注册表,然后打开下面路径:HKEY_CLASSES_ROOT\*\Shell2,
右键新建项(也就是右键的文字): 用vim编辑3, 在“用vim编辑”下面再添加项 : command4,
点击新建的“commond”,看到右边窗口有默认,然后右击“修改”,修改为gvim.exe的位置...