Preface:翻译水平渣,阅读需仔细。有错误欢迎指正。What is the difference between a thread and a process?
线程和进程之间有何区别?Processes vs Threads
进程VS线程A process is an executing instance of an application. What does that mean? We...
分类:
其他好文 时间:
2015-08-02 13:45:59
阅读次数:
100
1、z-index=数字 z轴的值,当几个div重叠时,z-index数字越大的,越在上面 2、overflow:hidden(超过部分隐藏)/auto(内容超过边框时出现滚动条)/scroll(一直有滚动条) 3、浏览器兼容性问题: (1)兼容性问题:不同的浏览器基于不同的内核,对一些...
分类:
其他好文 时间:
2015-08-02 11:26:24
阅读次数:
127
Problem Definition:Divide two integers without using multiplication, division and mod operator.If it is overflow, return MAX_INT.Solution:就是要用加减和位操作之类...
分类:
其他好文 时间:
2015-08-01 21:58:41
阅读次数:
98
html代码:css代码:.sanjiao{ width: 0; height: 0; overflow: hidden;//主要处理IE6最小高度的问题 border-width:10px ; border-color: #ff0000 transparent transparent t...
分类:
其他好文 时间:
2015-08-01 09:59:51
阅读次数:
111
overflow:hidden这个CSS样式是大家常用到的CSS样式,但是大多数人对这个样式的理解仅仅局限于隐藏溢出,而对于清除浮动这个含义不是很了解。一提到清除浮动,我们就会想到另外一个CSS样式:clear:both,我相信对于这个属性的理解大家都不成问题的。但是对于“浮动”这个词到底包含什么样...
分类:
Web程序 时间:
2015-07-31 18:10:57
阅读次数:
102
Stackoverflow 精彩答案整理…
本人英语水平渣渣,翻译的主要目的自己整理加深理解。如果不幸误导您,请见谅。如果您好心提醒我,可以直接底下留言。
原文链接Concurrency is when two tasks can start, run, and complete in overlapping time periods. It doesn’t necessarily mean t...
分类:
其他好文 时间:
2015-07-31 12:55:37
阅读次数:
144
1.https://seanhn.wordpress.com/2011/04/14/exploit-necromancy-in-tcmalloc-reviving-the-4-to-n-byte-overflow-primitive-with-insert-to-freelistx/#comment...
分类:
其他好文 时间:
2015-07-31 12:48:43
阅读次数:
136
带有一些延迟的选项卡效果更佳
无标题文档
*{margin:0;padding:0}
.notice{
height:98px;
width:298px;
border:1px solid #eee;
overflow:hidden;
}
.notice-tit{
height:27px;
position:relative;
}
.notice-tit u...
分类:
其他好文 时间:
2015-07-30 21:34:21
阅读次数:
109
当鼠标移动的时候,停止自动切换,当鼠标移除的时候继续自动切换
代码如下:
无标题文档
*{margin:0;padding:0}
.notice{
height:98px;
width:298px;
border:1px solid #eee;
overflow:hidden;
}
.notice-tit{
height:27px;
position:relati...
分类:
其他好文 时间:
2015-07-30 21:23:29
阅读次数:
90