网卡绑定的作用:1、冗余,防止单点故障 2、防止传输瓶颈1.交换机端口绑定:1 system-view2 link-aggregation group 1 mode manual3 4 比如把端口1和2进行绑定5 6 interface Ethernet1/0/1 ...
分类:
系统相关 时间:
2014-09-09 10:57:48
阅读次数:
237
Implement strStr().Returns a pointer to the first occurrence of needle in haystack, ornullif needle is not part of haystack.在文本串中查找模式串第一次出现的位置个人思路:1,暴...
分类:
其他好文 时间:
2014-09-09 10:48:38
阅读次数:
220
英文原文:http://blog.monitis.com/index.php/2012/02/13/python-performance-tips-part-1/英文原文:http://blog.monitis.com/index.php/2012/03/21/python-performance-...
分类:
编程语言 时间:
2014-09-08 03:14:26
阅读次数:
424
Implement strStr().Returns a pointer to the first occurrence of needle in haystack, ornullif needle is not part of haystack.方法一:暴力破解,O(mn),超时,写了这段代码,估...
分类:
其他好文 时间:
2014-09-07 22:25:45
阅读次数:
328
转载请注明出处:http://blog.csdn.net/lttreeFactorialTime Limit:1500MSMemory Limit:65536KTotal Submissions:13993Accepted:8678DescriptionThe most important part...
分类:
其他好文 时间:
2014-09-07 13:30:05
阅读次数:
221
C++字符串完全指引之二 —— 字符串封装类原著:Michael Dunn作者:Chengjie Sun原文出处:CodeProject:The Complete Guide to C++ Strings, Part II引言 因为C语言风格的字符串容易出错且不易管理,黑客们甚至利用可能存在的缓冲....
分类:
其他好文 时间:
2014-09-07 02:11:54
阅读次数:
263
这是一个非常难以找到解决方法的问题,因为VMWare和Ubuntu都有Unitiy,前者指的是Unity Mode,后者指的是Unity Shell。我的主机操作系统是Windows 7 ,安装VMWare 9.0.1,虚拟机中运行Ubuntu 12.04 。当我试图把VMWare切换到Unity Mode,我得到以下信息:
The virtual machine cannot enter ...
分类:
其他好文 时间:
2014-09-06 22:36:04
阅读次数:
192
Linux内核地址空间划分
通常32位Linux内核地址空间划分0~3G为用户空间,3~4G为内核空间。注意这里是32位内核地址空间划分,64位内核地址空间划分是不同的。32位的Linux系统中从0x00000000到0xFFFFFFFF整个4GB虚拟存储空间。
内核空间:内核空间表示运行在处理器最高级别的超级用户模式(supervisor mode)下的代码或数据,内核空间占...
分类:
系统相关 时间:
2014-09-06 21:19:33
阅读次数:
2456
Implement strStr().Returns a pointer to the first occurrence of needle in haystack, or null if needle is not part of haystack.思路:使用DFS即可。 1 class Solu...
分类:
其他好文 时间:
2014-09-06 12:10:03
阅读次数:
199