var xmlHttp; uName() //用户名失去焦点时 {
if(all.uname.=="") { all.l1.innerHTML="不能为空!"; setTimeout("close(1)",1500);
return; } else { ...
分类:
其他好文 时间:
2014-05-08 14:23:43
阅读次数:
330
在微博认证方式里,基本的OAuth认证是必须要调整到跳转到第三方页面上进行授权的,例如下面的例子:
1、从http://open.weibo.com/wiki/index.php/SDK#Android下载SDK包。
2、在AndroidExample/src/weibo4android/Wei.....
分类:
移动开发 时间:
2014-05-08 12:12:04
阅读次数:
503
1.Abort()停止当前请求2.getAllResponseHeaders()作为字符串返回完整的headers3.getResponseheader(“hederLabel”)作为字符串返回单个的header标签4.Open(“method”,“URL”[,asyncFlag[,”userNam...
分类:
其他好文 时间:
2014-05-08 08:51:07
阅读次数:
263
文件描述符:文件描述符是一个小的非负整数,是内核用来标识特定进程正在访问的文件标准输入/输出/出错:shell为每个程序打开了三个文件描述符,STDIN_FILEON,STDOUT_FILEON,STDERR_FILEON,默认这三个文件描述符都链向终端不带缓冲的IO:函数open
read wri...
分类:
其他好文 时间:
2014-05-07 17:13:03
阅读次数:
284
Failed to open a session for the virtual machine winxp.
The virtual machine 'winxp' has terminated unexpectedly during startup with exit code 1.
Result Code: NS_ERROR_FAILURE (0x80004005)
Compo...
分类:
其他好文 时间:
2014-05-07 12:33:48
阅读次数:
317
不小心重命名了libc.so.6动态库,运行命令
#mv /lib/libc.so.6 /lib/libc.so.6.back
#ls
ls: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
各种命令都不好...
分类:
其他好文 时间:
2014-05-07 04:49:53
阅读次数:
319
I make a connection through SSH and then I type:
# x0vncserver --PasswordFile=/home/hello/.vnc/passwd
x0vncserver: unable to open display ""
~ImageCleanup called
the reason is :
...
分类:
其他好文 时间:
2014-05-07 04:23:43
阅读次数:
581
之前在查看v$open_cursor的时候,发现很多相同的record。 让我很疑惑, sid
saddr sql_id 都相同,我就想 这不是一个cursor吗? 那为什么在open_cursor中出现多次?
后来通过别人点拨明白了,这应该是一个相同的SQL语句被 session 打开了并运行了很...
分类:
其他好文 时间:
2014-05-07 01:11:25
阅读次数:
403
今天学习了python的输入输出、异常处理和python标准库1.文件通过创建一个file类的对象去处理文件,方法有read、readline、write、close等[root@reed0505]#catusing_file.py
#!/usr/bin/python
#filename:using_file.py
poem=‘‘‘Programingisfun
whentheworkisdone
usePython!..
分类:
编程语言 时间:
2014-05-06 17:05:03
阅读次数:
448
将文件的每行读取到字典中文件每行内容格式为:cui:123456789f=open(‘user.txt‘)
d=f.readlines()
f.close()
mydict={}
foriind:
user=i.split(‘:‘)[0]
info=i.split(‘:‘)[1].rstrip()
mydict[user]=info
分类:
编程语言 时间:
2014-05-06 16:40:26
阅读次数:
362