微软近期Open的职位:Location: China, BeijingDivision: Operations System Group Engineering Group OverviewOSG is delivering flagship products in Microsoft. Chin...
分类:
移动开发 时间:
2014-07-06 13:39:38
阅读次数:
283
说实话,我一看到这个returnValue就有点反感,感觉这个就是IE式的老套的用法,因为项目中有用到就了解了下,以下主要是一些我的理解和发现吧。PS:returnValue是window的属性,showModalDialog和open是window的方法。returnValue是与showModa...
分类:
其他好文 时间:
2014-07-06 12:59:05
阅读次数:
271
一、打开或创建一个文件
#include
int open(const char *pathname, int oflag, .../*mode_t mode*/);
返回值:若成功则返回文件描述符,若出错则返回-1
oflag选项:
O_RDONLY
O_WRONLY
O_RDWR
以上三个常量中必须指定一个,且只能指定一个。
以下常量都是可选的:
O_AP...
分类:
其他好文 时间:
2014-07-06 12:17:24
阅读次数:
158
题目如下:
Play on Words
Some of the secret doorscontain a very interesting word puzzle. The team of archaeologists has tosolve it to open that doors. Because there is no other way to open the doors,...
分类:
其他好文 时间:
2014-07-06 12:12:36
阅读次数:
221
接上一个,REDO报错搞定后OPEN数据库时又报错ORA-00600: internal error code, arguments: [2662]。
原因是_ALLOW_RESETLOGS_CORRUPTION后resetlogs打开数据库,我们可能会由于SCN不一致而遭遇到ORA-00600 2662号错误,这里给出一个完整的例子及解决过程。
现象及解决--这个没拍照参考EYGLE的吧
...
分类:
其他好文 时间:
2014-07-06 09:49:31
阅读次数:
686
今天更新为163的源后,yum的时候报错:GPG key retrieval failed: [Errno 14] Could not open/read file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5.
解决方案:vi /etc/yum.repos.d/CentOS-Base.repo
把文件里所有的RPM-GPG-KEY-CentOS-5更改为R...
分类:
其他好文 时间:
2014-07-06 08:39:27
阅读次数:
404
insert Vodafone sim card,open the mms read report,when receive the read report,cann't download the message
Test steps:
1.insert Vodafone sim card
2.open the mms read report
3.send the mms successf...
分类:
其他好文 时间:
2014-07-06 08:36:10
阅读次数:
292
接上一篇,在搞定SCN问题后,又遇到ORA-600[4194]/[4193]报错。
故障现象:
OPEN数据库时报错:ORA-00600: internal error code, arguments: [4194], [], [], [], [], [], [], []
4193:表示undo和redo不一致(Arg [a] Undo record seq number,Arg...
分类:
其他好文 时间:
2014-07-06 00:38:31
阅读次数:
297
执行启动nginx:/usr/local/nginx/sbin/nginx
错误:/usr/local/nginx/sbin/nginx: error while loading shared libraries: libpcre.so.1: cannot open shared object file: No such file or directory
查找:[roo...
分类:
其他好文 时间:
2014-07-06 00:11:52
阅读次数:
205
f = open("foo.txt") # 返回一个文件对象line = f.readline() # 调用文件的 readline()方法while line: print line, # 后面跟 ',' 将忽略...
分类:
编程语言 时间:
2014-07-05 21:24:54
阅读次数:
287