2015年8月27日

摘要: C#include #include int givar = 0;static int sgivar = 0;const int gcivar = 0;int main(int argc, char const *argv[]){ int ivar = 0; const int gciv... 阅读全文
posted @ 2015-08-27 14:57 dotdog 阅读(495) 评论(0) 推荐(0) 编辑

2015年8月19日

摘要: DescriptionA UIScreen object defines the properties associated with a hardware-based display. iOS devices have a main screen and zero or more attached... 阅读全文
posted @ 2015-08-19 12:46 dotdog 阅读(539) 评论(0) 推荐(0) 编辑

2015年8月7日

摘要: 代码方式: 创建视图层次结构: UIViewController loadView(UIViewController view属性为nil时会自动调用loadView 视图控制器将视图显示在屏幕上)将视图层次结构加入应用窗口: UIWindow setRootViewController:(UIWi... 阅读全文
posted @ 2015-08-07 10:46 dotdog 阅读(145) 评论(0) 推荐(0) 编辑

2015年7月11日

摘要: 名词可以做主语、表语、宾语和同位语。所以名词从句分为主语从句、表语从句、宾语从句和同位语。陈述句、一般疑问句和特殊疑问句可以充当名词从句。这三种句子来充当名词从句的时候需要调整,需要名词从句的引导词来引导:1)特别关注连词在句子中是否充当句子成分。2)同位语通常由that来引导,而不是wheathe... 阅读全文
posted @ 2015-07-11 14:58 dotdog 阅读(362) 评论(0) 推荐(0) 编辑

2015年7月3日

摘要: 最近业务需要了解了一下FastDFS。紧接是基于nginx的FastDFS第三方模块。FastDFS存非常高效,但是取却不高效。同时nginx拥有高效的直接读取磁盘文件的能力,但是却没有FastDFS的tracker-storage的优势。故而需要来扩展FastDFS的nginx第三方模块来丰富业务... 阅读全文
posted @ 2015-07-03 21:31 dotdog 阅读(403) 评论(0) 推荐(0) 编辑

2015年6月25日

摘要: ATimerstarts its work after a delay and can be canceled at any point within that delay time period.ThreadingPython includes sophisticated tools for ma... 阅读全文
posted @ 2015-06-25 11:14 dotdog 阅读(342) 评论(0) 推荐(0) 编辑

2015年6月17日

摘要: 表单 FormWhat is your name? What files are you sending? 查看HTTP请求头部POST /oauth/v2/formDataDemo HTTP/1.1 Host: 192.168.11.150 Connection: keep-alive Conte... 阅读全文
posted @ 2015-06-17 22:00 dotdog 阅读(1484) 评论(0) 推荐(0) 编辑

2015年6月12日

摘要: 编译驱动程序(compiler driver)这代表用户在需要时调用语言预处理器、编译器、汇编器和链接器。预处理器 cppc编译器 cc1汇编器 as链接器 ld在需要时体现在,比如unix> gcc -c xxx.c经过:gcc --help得知:-c Compile and assemble, ... 阅读全文
posted @ 2015-06-12 01:03 dotdog 阅读(336) 评论(0) 推荐(0) 编辑

2015年6月11日

摘要: 人生若只如初见:弄懂nginx与lua模块的交互。以下内容是基于对可执行文件有着良好认识的前提下。unix> ./pp不是一个内置的命令,所以外壳会认为p是一个可执行目标文件,通过调用某个驻留在存储器中称为加载器(loader)的操作系统代码来运行它。加载器将可执行目标文件中的代码和数据从磁盘拷贝到... 阅读全文
posted @ 2015-06-11 00:13 dotdog 阅读(554) 评论(0) 推荐(0) 编辑

2015年6月8日

摘要: iter, dir_obj = lfs.dir (path)Lua iterator over the entries of a given directory. Each time the iterator is called withdir_objit returns a directory e... 阅读全文
posted @ 2015-06-08 21:48 dotdog 阅读(1235) 评论(0) 推荐(0) 编辑

导航