微软近期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
一、打开或创建一个文件
#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
在使用libgdx来开发游戏时,如果遇到这种问题。很可能是因为你没有在libgdx的项目中导入Android的现骨干jar包导致的。解决方法如下:右击项目---“build path”-----》“configure build path”--------》这时候会出现如下图所示的界面。这时候把图中红色的钩所钩中的选项的选上------》这时候在clean以下project,close在openp...
分类:
编程语言 时间:
2014-07-06 09:14:58
阅读次数:
285
今天更新为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