1、nginx编译参数: your_nginx_dir/sbin/nginx -V 2、apache编译参数: cat your_apache_dir/build/config.nice 3、php编译参数: your_php_dir/bin/php -i |grep configure 4、mys...
分类:
系统相关 时间:
2015-07-17 11:50:39
阅读次数:
148
先导日志篇:1.变量定义直接定义:a=10b=23c=a+bprint(c)2.判断语句:#coding=utf-8Python并不能够识别Utf-8,所以要注释一下score=90ifscore>=70:print("nice")elifscore>=60:print("及格")elifscore>=30;print("不及格")elseprint("很差")3.循环语句:foriinrange(0..
分类:
编程语言 时间:
2015-07-16 22:32:16
阅读次数:
163
The first answer in this link has a nice illustrative explanation.Suppose the given array is like [nums[0], nums[1], nums[2], nums[3]]. Then the resul...
分类:
其他好文 时间:
2015-07-16 15:57:36
阅读次数:
125
This problem has a nice BFS structure. Let's illustrate it using the examplenums = [2, 3, 1, 1, 4]in the problem statement. We are initially at positi...
分类:
其他好文 时间:
2015-07-15 22:39:57
阅读次数:
108
说来也真快,自己在广州已经待了一个月了,相比湖南成都,大城市里有它自己的特点,天天早上很早就爬起来挤地铁。有些时候人在地铁上都是腾空的,真是太凶残。开始来的确很不习惯,闷热的天气,完全听不懂的粤语,还好公司的同事人很nice,对我很关照~再次感谢他们!不过已经交了辞呈,可能是因为感觉呆在这儿与自己的...
分类:
其他好文 时间:
2015-07-15 11:04:36
阅读次数:
149
零、一些资料 ????1. http://www.w3school.com.cn/h.asp ????2.?http://www.imooc.com/learn/33 ? ? # 感觉这个还是有些难度的,可以看一些其他的视频资料。“慕课网” ?nice~ 一、前言 ??? 首先声...
分类:
移动开发 时间:
2015-07-12 20:25:49
阅读次数:
129
A classic interview question. This link has a nice explanation of the idea using two stacks and its amortized time complexity.I use the same idea in m...
分类:
其他好文 时间:
2015-07-07 12:33:18
阅读次数:
102
Android Market会根据uses-feature过滤所有你设备不支持的应用。通过使用元素,一个应用可以指定它所支持的硬件型号。一个元素包含以下属性: name属性指定了应用的特征; required属性告诉过滤器我们是否在任何情况下必须要需要这个设备的支持,或者仅仅只是“nice to h...
分类:
其他好文 时间:
2015-07-06 21:25:07
阅读次数:
118
Each time we find a match, increase the global counter by 1.For KMP, algorithm, you may refer to the following links which have nice explanations.KMP ...
分类:
编程语言 时间:
2015-06-30 19:56:33
阅读次数:
142
1. 2进制转10进制NSString* nb =@"110000000000000000000000000000010100000000100000";longnice =strtol([nbUTF8String],NULL,2);NSLog(@"nict==%ld", nice);2. 1...
分类:
移动开发 时间:
2015-06-30 17:46:36
阅读次数:
142