一、 延长作用域链有些语句可以在作用域前端临时增加一个变量对象,该变量对象在代码执行完成后会被移除。①with语句延长作用域。function buildUrl(){var qs="?debug=true"; with(location){ var url=href+qs; } return...
分类:
编程语言 时间:
2014-07-09 23:11:22
阅读次数:
304
微软近期Open的职位:Title: Principal DEV Manager for Bing ClientGroup: Search Technology Center Asia, BingWork Location: Beijing/Suzhou, China Group OverviewS...
分类:
其他好文 时间:
2014-07-09 23:02:03
阅读次数:
247
首先介绍两个方法的语法:reload方法,该方法强迫浏览器刷新当前页面。语法:location.reload([bForceGet])参数:bForceGet, 可选参数, 默认为 false,从客户端缓存里取当前页。 true, 则以GET方式,从服务端取最新的页面, 相当于客户端点击 F5("刷...
Versions版本控制工具破解版(Versions.zip)下载请见本博文附件。下载后在MAC安装完以后,图标是莲花状。见下图:双击运行如下图: 点击Repository,连接SVN服务器Repository(服务器端采用的是SVN服务端),见下图: 输入所需值,如下图:Location 值要与....
分类:
移动开发 时间:
2014-07-09 00:52:34
阅读次数:
323
Eclipse->Help->Install New Software->
Work With->add->name(cdt)
location:http://download.eclipse.org/tools/cdt/releases/juno
版本要对上:help->about eclipse查看版本
在http://www.eclipse.org/cdt/downl...
分类:
系统相关 时间:
2014-07-08 19:51:56
阅读次数:
576
1.如何保证日期格式与系统设定的一致:
Date date = new Date(location.getTime());
DateFormat dateFormat = android.text.format.DateFormat.getDateFormat(getApplicationContext());
mTimeText.setText("Time: " + dateFormat....
分类:
移动开发 时间:
2014-07-08 13:13:48
阅读次数:
291
function GetParam(name) { var match = new RegExp(name + "=*([^&]+)*", "i").exec(location.search); if (match...
分类:
其他好文 时间:
2014-07-08 11:27:15
阅读次数:
181
apache服务可以使用mod_status模块进行监控,该模块在apache配置文件httpd.conf中表示为LoadModulestatus_modulemodules/mod_status.so。应把前面的#注释掉,来加载该模块。按G跳转到配置文件的最后,添加<location/server-status>SetHandlerserver-statusOrderDeny,Allo..
分类:
其他好文 时间:
2014-07-08 08:41:18
阅读次数:
214
1、判断字符串是否包含某个字符
if( [str rangeOfString:@"hello"].location != NSNotFound) {
NSLog(@"yes");
} else {
NSLog(@...
分类:
移动开发 时间:
2014-07-06 11:18:41
阅读次数:
226
环境:VS2010
微软官方解释:
Visual C++ Concepts: Building a C/C++ ProgramCompiler Warning (level 1) C4627Error Message
”: skipped when looking for precompiled header use
While searching for the location w...
分类:
其他好文 时间:
2014-07-06 08:22:37
阅读次数:
169