Array.prototype.slice.call(document.links,0).forEach(function(link){link.onmousedown
= null})插件总失效 用这个对付下
分类:
其他好文 时间:
2014-05-10 00:15:19
阅读次数:
250
那么Cowboy是什么呢?Cowboy is a small, fast and
modular HTTP server written in Erlang.其定位非常明确:Cowboy aims to provide a complete
HTTP stack in a small code ba...
分类:
Web程序 时间:
2014-05-09 23:06:24
阅读次数:
411
CentO中把vsftpd安裝配置好了,以為大功告成,但用FTP 登入出現下錯誤:500
OOPS: cannot change directoryCentOS系統安裝了SELinux,因為預設下是沒有開啟FTP的服務。//查看SELinux設置#
getsebool -a|grep ftpftp_...
分类:
其他好文 时间:
2014-05-09 22:59:08
阅读次数:
351
AJAX的底层实现都是浏览器提供的,所以任何基于api上面的框架或者库,都只是说对于功能的灵活与兼容维护性做出最优的扩展
ajax请求的流程:
1、通过 new XMLHttpRequest 或其它的形式(指IE)生成ajax的对象xhr。
2、通过xhr.open(type, url, async, username, password)的形式建立一个连接。
3、通过se...
分类:
Web程序 时间:
2014-05-09 15:22:17
阅读次数:
454
AJAX的底层实现都是浏览器提供的,所以任何基于api上面的框架或者库,都只是说对于功能的灵活与兼容维护性做出最优的扩展ajax请求的流程:1、通过
new XMLHttpRequest 或其它的形式(指IE)生成ajax的对象xhr。2、通过xhr.open(type, url, async, u...
分类:
Web程序 时间:
2014-05-09 13:11:06
阅读次数:
544
没考虑到的情况有:input: [, expected: false; 语法上也犯了错误:
我定义的stack的泛型为char,泛型不能为primitive datatype,Primitive types such ascharcannot be
used as type parameters i...
分类:
其他好文 时间:
2014-05-09 09:19:01
阅读次数:
252
单词不换行
word-break:"break-all"text-overflow:ellipsis;
超出部分用...代替overflow:hidden;超出不分隐藏字体显示在一行 white-space:"nowrap"想要字体换行显示
max-height:""; 原价...
分类:
其他好文 时间:
2014-05-09 07:45:10
阅读次数:
238
#include#include#include #include
//使用库函数exit()using namespace std;templateclass Stack{ private: Type*data;
//栈元素数组 int maxSize; /...
分类:
其他好文 时间:
2014-05-09 07:27:40
阅读次数:
294
C风格的强制类型转换(Type Cast)很简单,不管什么类型的转换统统是:TYPE b =
(TYPE)a。C++风格的类型转换提供了4种类型转换操作符来应对不同场合的应用。const_cast,字面上理解就是去const属性。static_cast,命名上理解是静态类型转换。如int转换成cha...
分类:
编程语言 时间:
2014-05-09 05:54:59
阅读次数:
376
${name}
<input type="checkbox" name="pri...
分类:
其他好文 时间:
2014-05-09 01:29:57
阅读次数:
273