1. 多tab支持1)terminal y也是支持多tab的, Cmd+T可以打开一个新的tab2) cmd + shift + { / } 可以在tab间切换2. termial中打开外部app1) 使用 open yourfile 可以直接把你的文件用默认程序打开2) 使用 open -a sa...
分类:
系统相关 时间:
2014-10-17 10:02:25
阅读次数:
218
为了做ajax的代理,研究了下服务器端的xmlhttp和客户端ajax中的xmlhttp,做了个比较由于我一直使用JavaScript作为Asp的教本语言,所以比较起来更清楚。服务器端的xmlhttp经常用于asp小偷程序,1.在服务器端的xmlhttp.Open("GET",url,false)异...
分类:
其他好文 时间:
2014-10-17 09:39:04
阅读次数:
648
1.管道的创建
1.1 mkfifo(const char *pathname,mode_t mode);
函数已隐含指定O_CREAT|O_EXCL,所以它要么创建一个新的FIFO,要么返回EEXIST错误(已存在)。
所以在创建已存在FIFO或新的FIFO,应该先调用mkfifo,并检查返回值 是否是EEXIST错误,若是EEXIST错误,则调 用open函数。
...
分类:
系统相关 时间:
2014-10-17 01:16:23
阅读次数:
299
到http://www.open-mpi.org/下载openmpi并解压,事先安装gcc或g++。我是openmpi-1.6.5,进入解压文件夹,执行./configure这一步执行时间会较长若出现configure: error: C++ preprocessor "/lib/cpp" fail...
分类:
系统相关 时间:
2014-10-17 00:56:13
阅读次数:
4709
1711: [Usaco2007 Open]Dingin吃饭Time Limit: 5 SecMemory Limit: 64 MBSubmit: 508Solved: 259[Submit][Status]Description农夫JOHN为牛们做了很好的食品,但是牛吃饭很挑食. 每一头牛只喜欢吃...
分类:
其他好文 时间:
2014-10-16 22:31:23
阅读次数:
253
在父页面弹出窗口中,添加回调函数,当close时调用,直接上代码: art.dialog.open(url,?{
????????lock?:?true,
????????title?:?text,
????????width?:?‘800px‘,
???????...
分类:
其他好文 时间:
2014-10-16 21:45:03
阅读次数:
191
微软近期Open的职位:Title: Software Development Engineer 2Group: Bing Client, Search Technology Center Asia, BingWork Location: Beijing/Suzhou, China Group Ov...
分类:
其他好文 时间:
2014-10-16 18:48:32
阅读次数:
201
static struct file_operations s3c24xx_leds_fops ={
.owner = THIS_MODULE ,
//.open = s3c24xx_leds_open, .read = s3c24xx_leds_read ,
.write = s3c24xx_le...
分类:
其他好文 时间:
2014-10-16 16:09:12
阅读次数:
138
static struct file_operations s3c24xx_leds_fops ={
.owner = THIS_MODULE ,
//.open = s3c24xx_leds_open, .read = s3c24xx_leds_read ,
.write = s3c24xx_le...
分类:
其他好文 时间:
2014-10-16 15:51:02
阅读次数:
184
一、用Python创建一个新文件,内容是从0到9的整数, 每个数字占一行: #python >>>f=open(‘f.txt‘,‘w‘)??? # r只读,w可写,a追加 >>>for i in range(0,10):f.write(str(i)+‘\n‘) .? .? . >>> f.close() 二、...
分类:
编程语言 时间:
2014-10-16 13:26:42
阅读次数:
243