`
文章列表
for (j = td_counter; j < rows; j++) { td = document.createElement("td"); td.innerHTML = '&nbsp;'; td.onclick = $.proxy(this.onclick, this, i); tr.appendChild(td); }
Object.deepExtend = function(destination, source) { for (var property in source) { if (source[property] && source[property].constructor && source[property].constructor === Object) { destination[property] = destination[property] || {}; arguments.callee(dest ...
prototype1.7.1在IE下getOffsetParent()会返回body 可用ancestors()[0]
function repeat(s, n){ var a = []; while(a.length < n){ a.push(s); } return a.join(''); } //或者 String.prototype.repeat = function( num ) { return new Array( num + 1 ).join( this ); }  
1. File -> Settings 2. Select “File Types" 3. In the bottom of the window there is a field called “Ignore files and folders" that contains “rcs". 4. Remove the rcs part from the above field and click “OK".
http://blog.csdn.net/hongqishi/article/details/7050255
环境 Centos6.3 首先从svn中获取源码,以6.3版本为例   svn co http://developer.longtailvideo.com/svn/tags/mediaplayer-6.3   按照README中的说明,安装 Flex SDK和Ant  * Flex SDK 4.1: http://sourceforge.net/adobe/flexsdk/wiki/Downloads/  * Ant 1.7.0: http://ant.apache.org/bindownload.cgi 两个都只需要解压即可   配置Ant环境 export ANT_H ...
function fileExists(url) { var http = new XMLHttpRequest(); http.open('HEAD', url, false); http.send(); return http.status!=404; }  
https://github.com/aralejs/aralejs.org/wiki/JavaScript-%E7%BC%96%E7%A0%81%E9%A3%8E%E6%A0%BC
set tabstop=4 set shiftwidth=4 set expandtab
function doProhibit() { if(window.Event) document.captureEvents(Event.MOUSEUP); function nocontextmenu() { event.cancelBubble = true event.returnvalue = false; return false; } function norightclick(e) { if (window.Event) { if (e.wh ...
  CASE x WHEN w1 THEN r1 WHEN w2 THEN r2 ELSE r3 END CASE WHEN x=w1 THEN r1 WHEN x=w2 THEN r2 ELSE r3 END

Struts2 常规

struts2 源码目录 => struts-2.3.7\src\core\src\main\java
在编辑器的设置里找到File Encodings 1. 把Default encoding for properties files 选上UTF-8 2. 再把下面的Transparent native-to-ascii conversion打上勾
Win7可能因为没有默认启动NPF而不能正常使用Wireshark抓包工具,虽然可以以管理员运行cmd,然后net start npf。但是这样每次要使用wireshark都需要这样手工执行一下命令,很不方便。事实上,可以设置开机默认启动NPF: sc config npf start= system 注意,等号后面是有一个空格的。
Global site tag (gtag.js) - Google Analytics