1 var _temp_callback_key = null; 2 function setCallBackFun(fun) { 3 var date = new Date(); 4 var ticks = date.getTime() + "_callback"; 5 window[ticks]... ...
分类:
编程语言 时间:
2017-02-24 10:46:42
阅读次数:
136
1、定义中间变量 int a = 1,b = 2,t ;t = a;a = b;b = t; 2、求和,可不用定义中间变量 int a = 1,b = 2;a = a + b;b = a - b;a = a - b; 3、异或 int temp = p ^ q;p = temp ^ p;q = te ...
分类:
其他好文 时间:
2017-02-23 22:02:34
阅读次数:
154
input <input type="text" name="temp_name"> 2. 提交按钮 <input type="submit" name="temp_name"> 3. 单选 <input type="radio" name="temp_name1" value="1">1 <inp ...
分类:
Web程序 时间:
2017-02-22 16:46:46
阅读次数:
230
#nginx-V(-V可以显示出当时的标准,添加了什么模块)[root@proexnginx-1.8.0]#./configure--help|grepproxy--without-http_proxy_moduledisablengx_http_proxy_module--http-proxy-temp-path=PATHsetpathtostorehttpproxytemporaryfiles--with-mailenablePOP3/IMAP4/SMTPproxymo..
分类:
其他好文 时间:
2017-02-22 00:25:08
阅读次数:
387
一. 打开文件 f = open("db","r",encoding="utf8") 例子:用“b”打开文件 1 #用b打开文件 2 with open("db","wb") as f: 3 temp=bytes("张燕",encoding="utf8") 4 print(temp) 5 f.wri ...
分类:
编程语言 时间:
2017-02-21 17:20:27
阅读次数:
229
(默认: true) 默认设置下,所有请求均为异步请求。如果需要发送同步请求,请将此选项设置为 false。注意,同步请求将锁住浏览器,用户其它操作必须等待请求完成才可以执行。 这个ajax请求则为同步请求,在没有返回值之前,alert(temp)是不会执行的。 如果async设置为:true,则不 ...
分类:
Web程序 时间:
2017-02-21 15:58:13
阅读次数:
168
今天做了个简单的例子,由于没有使用正确的数据类型导致出错,下面是记录 #include <stdio.h> int main(void){ int i; double sum; double temp; for(i=0;i<3;i++) { scanf("%f",&temp); //我这里用的是 % ...
分类:
编程语言 时间:
2017-02-20 11:14:45
阅读次数:
133
/*分为四步 *//*第1步:创建临时表空间 */create temporary tablespace emaoyi_temp tempfile 'D:\app\Administrator\product\11.2.0\dbhome_1\database\emaoyi_temp.dbf' size ...
分类:
数据库 时间:
2017-02-19 21:38:17
阅读次数:
264
Hadoop的简单使用 使用Hadoop提供的命令行,向文件系统中创建一个文件。 ./hadoop fs -put temp.txt hdfs://localhost:8888/ 说明: ./hadoop 是bin目录下 fs 表明对文件系统进行操作 -put 就是传输 temp.txt 是我要传输... ...
分类:
其他好文 时间:
2017-02-16 13:14:55
阅读次数:
157
public static void main(String[] args) { int[] arr = {24, 69, 80, 57, 13}; for (int i = 0; i arr[j+1]) { int temp = arr[j]; ... ...
分类:
编程语言 时间:
2017-02-15 23:47:48
阅读次数:
193