JavaScript的Date对象有容错性,可将随意给定的日期的年月日自动生成正确的日期时间//JavaScript中Date对象容错性function
dateCheck(){ var date = new Date(); date.setDate(date.getDate()+13)...
分类:
编程语言 时间:
2014-05-26 13:31:03
阅读次数:
198
上回开了个头,简单的介绍了Emacs的一些基本常识,这回继续说基本常识,怎么移动你的光标。可能有人会说,这上下左右键不是很好用吗,还用你来讲。呶,Emacs的强大在于你能够只使用键盘左边那堆键来完成任何事情(不包括顶上的ESC和Function),这也是Emacs的设计宗旨。
为了试验这些按...
分类:
其他好文 时间:
2014-05-26 13:30:29
阅读次数:
298
This post introduces how to use the ===, eval,
Function() carefully.
分类:
编程语言 时间:
2014-05-26 12:46:27
阅读次数:
292
1 function shengchen() { 2 var arrTR =
$("#tbModule").children(); 3 var Context=""; 4 $("#tbModule").find("tr")...
分类:
Web程序 时间:
2014-05-26 12:41:49
阅读次数:
399
微软PowerShell 产品组上周发布了PowerShell 5.0
PowerShellGet功能。有了它,IT 人员可以方便地搜索,安装,更新PowerShell
Module。在这篇博客中,我将演示如果使用PowerShellGet安装微软ScriptBrowser和ScriptAnalyz...
分类:
其他好文 时间:
2014-05-26 12:10:24
阅读次数:
232
转载自http://www.educity.cn/java/671094.html一、常见的字符串处理函数 // 返回字符的长度,一个中文算2个
String.prototype.ChineseLength = function() { return this .replace( / [ ^ \x0...
分类:
Web程序 时间:
2014-05-26 11:56:32
阅读次数:
275
1、修改配置文件Apache\conf\httpd.conf找到LoadModule
vhost_alias_module modules/mod_vhost_alias.so 去掉前面的#找到Include
conf/extra/httpd-vhosts.conf ...
分类:
其他好文 时间:
2014-05-26 11:51:47
阅读次数:
247
GetMessage Function:BOOL GetMessage( LPMSG lpMsg,
HWND hWnd, UINT wMsgFilterMin, UINT wMsgFilterMax);消息循环:MSG msg;whil...
分类:
编程语言 时间:
2014-05-26 10:51:13
阅读次数:
257
String.prototype.format = String.prototype.f =
function () { var s = this, i = arguments.length; while (i--) { s =
s.replace(new R...
分类:
编程语言 时间:
2014-05-26 10:49:23
阅读次数:
356
javascript中的replace只会替换第一个匹配如果要全部替换的话只能重写方法实现replaceAll记录一下String.prototype.replaceAll
= function (s1, s2) { return this.replace(new RegExp(s1,"gm"),s...
分类:
编程语言 时间:
2014-05-26 10:49:03
阅读次数:
326