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 ...
这节我们介绍NFS的相关概念,以及如何配置NFS和在客户端中查看NFS。
NFS的配置过程很简单。在服务器端中编辑/etc/exports文件,添加如下内容:
/home/nfs-share 192.168.1.122 *(rw,sync)
第一项是要共享的目录,后者为共享的配置参数一般为:*(rw,sync,no_root_squash,no_all_squas...
分类:
系统相关 时间:
2014-06-05 06:13:16
阅读次数:
459
Terrible SetsTime Limit:1000MSMemory
Limit:30000KTotal Submissions:3017Accepted:1561DescriptionLet N be the set of
all natural numbers {0 , 1 , 2 , . ...
分类:
其他好文 时间:
2014-05-31 22:01:28
阅读次数:
325
Linux打包命令tar -zcvf /home/xahot.tar.gz /xahottar
-zcvf 打包后生成的文件名全路径 要打包的目录例子:把/xahot文件夹打包后生成一个/home/xahot.tar.gz的文件。# tar -xf
all.tar这条命令是解出all.tar包中所有...
分类:
系统相关 时间:
2014-05-31 15:50:58
阅读次数:
439
vi /etc/sysconfig/i18n
LANG="en_US.UTF-8"SUPPORTED="en_US.UTF-8:en_US:en"SYSFONT="latarcyrheb-sun16"source
/etc/sysconfig/i18n以及export LC_ALL=zh_CN.UT...
分类:
其他好文 时间:
2014-05-31 14:02:03
阅读次数:
266
看似简单的一个菜单,确需要不少的知识点1.
getByClassgetElementsByClassName
已经有大部分现代浏览器支持了,只有ie6,ie7,ie8是不支持的。所以对ie6,7,8做特别的处理就行,而ie里边有个内置的属性一直被我们所忽略,document.all,这个比一般的do...
分类:
Web程序 时间:
2014-05-31 08:20:41
阅读次数:
340
DescriptionLet us consider sets of positive
integers less than or equal ton. Note that all elements of a set are different.
Also note that the order o...
分类:
其他好文 时间:
2014-05-31 05:12:49
阅读次数:
246
select * from channel where pid=0 union select *
from channel where pid=1 union select * from channel where pid=3 limit
5,10这里的limit限制了返回的union(合并)后的结...
分类:
其他好文 时间:
2014-05-31 01:47:26
阅读次数:
218