一、saveOrUpdate 是根据对象的状态(瞬时,持久,托管)对对象进行save或update操作的。 二、 三、疑惑:setGlobalDataXml2(String path, String course_id,String exam_No, String room, String exam ...
分类:
其他好文 时间:
2016-09-09 20:47:50
阅读次数:
117
在Unity开发中捕捉Android的常用事件其实很简单 在新建的脚本文件中就加入: 比如: // 返回键 if ( Application.platform == RuntimePlatform.Android &&(Input.GetKeyDown(KeyCode.Escape))) { //. ...
分类:
编程语言 时间:
2016-09-09 10:12:58
阅读次数:
355
You are given a m x n 2D grid initialized with these three possible values. Fill each empty room with the distance to its nearest gate. If it is impos ...
分类:
其他好文 时间:
2016-09-09 08:51:13
阅读次数:
171
1.先访问当前注入点文件名 2.修改cookie javascript:alert(document.cookie="id="+escape("1137")); 把当前站点的cookie内容修改为id=260 并且弹窗显示出当前的cookie内容 注入点: http://127.0.0.1:800/ ...
分类:
其他好文 时间:
2016-09-08 21:21:54
阅读次数:
108
JavaScript基础知识总结(函数的基本语法、变量的作用域、JavaScript内部函数:eval(),parseInt()和parseFloat(),escape()和unescape()、JavaScript调试工具) ...
分类:
编程语言 时间:
2016-09-08 12:59:18
阅读次数:
197
POJ 1979 Red and Black (红与黑) Time Limit: 1000MS Memory Limit: 30000K Description 题目描述 There is a rectangular room, covered with square tiles. Each til ...
分类:
其他好文 时间:
2016-09-07 22:56:40
阅读次数:
247
Query String querystring.parse(str[, sep][, eq][, options]) querystring.stringify(obj[, sep][, eq][, options]) querystring.escape //转义 querystring.une ...
分类:
Web程序 时间:
2016-09-07 20:44:23
阅读次数:
144
变量的作用 变量既可以是全局,也可以是局部的。 在函数外用var 声明的变量 ,定义在函数当中,但是没有用var声明的是全局变量 定义在函数当中,用var声明的是局部变量 JavaScript内部函数 eval() parseInt和parseFloat字符串转换为数字 escape和nescape ...
分类:
编程语言 时间:
2016-09-07 01:40:15
阅读次数:
235
变量: 全局变量:可以在脚本中的任何位置被引用,一旦你在某个脚本里声明了全局变量,你就可以 在这个脚本的任何位置(包括函数内部)引用它,全局变量的作用域是整个脚本; 局部变量:只存在于对它做出声明的函数内部,在函数的外部无法相用它,局部变量的作用域 仅限于函数内部; escape可以对url进行编码 ...
分类:
Web程序 时间:
2016-09-06 21:10:19
阅读次数:
162
well, strcpy differs from memcpy in that it stops copy at \0 the format specifier is a string.. which can be assigned to a char*.. like.. strcpy(a,"%d ...
分类:
其他好文 时间:
2016-09-03 22:29:54
阅读次数:
121