摘要:
#include <stdio.h> #include <stdlib.h> #include <sys/time.h> #include <sys/types.h> #include <unistd.h> #include <sys/stat.h> #include <fcntl.h> int main(void) { fd_set rfds; struct timeval tv; int retval; int rof = open("aa.tt", O_RDONLY); printf( 阅读全文
posted @ 2011-08-23 17:47
酱油哥
阅读(167)
评论(0)
推荐(0)
摘要:
from: http://onlypython.group.iteye.com/group/wiki/1516-use-cherrypy-as-django-s-development-server该多线程是指多线程development server1.修改Django自带的Development Server为多线程模式,这其实只需要改几行代码就可以了。(详见http://code.djangoproject.com/ticket/3357)打开文件 django/core/servers/basehttp.py第10行:from BaseHTTPServer import BaseHTT 阅读全文
posted @ 2011-08-23 15:35
酱油哥
阅读(2791)
评论(0)
推荐(1)
摘要:
function sayColor(spre, ssuf) {alert(spre + this.color + ssuf);}; var obj = new Object(); obj.color = 'red'; sayColor.call(obj, "this is ", " , a very nice"); # this is red a very nice sayColor( "this is ", " , a very nice"); # this is undefined a very 阅读全文
posted @ 2011-08-23 13:12
酱油哥
阅读(174)
评论(0)
推荐(0)
摘要:
阅读全文
posted @ 2011-08-23 11:15
酱油哥
阅读(109)
评论(0)
推荐(0)

浙公网安备 33010602011771号