1:http://localhost/index.php?m=模块&c=控制器&a=操作方法 [get模式]2:http://localhost/index.php/模块[模块文件夹]/控制器/操作方法 [pathinfo模式]3:http://localhost/模块[模块文件夹]/...
分类:
其他好文 时间:
2014-06-27 15:48:40
阅读次数:
132
方法一:由于生成的exe文件在bin\debug目录下,可以使用向上查找目录的方式获取要读取的xml文件string haarXmlPath = @"../../haarcascade_frontalface_alt_tree.xml";FileInfo file = new FileInfo(f....
[ 'label' => '新闻相关', 'items' => [ [ 'label' => '新闻', 'url' => ['/news/index'] ], ...
分类:
其他好文 时间:
2014-06-27 14:14:29
阅读次数:
385
在MySQL线上环境我们一般只打开了binary log,slow log,有时我们需要查看general log呢?因为该log记录所有的请求,打开该日志肯定给磁盘造成很大压力,IO能力有所下降,所以该日志线上一般不打开的,这就到tcpdump闪亮登场了。tcpdump用法也不算复杂,输出就比较复...
分类:
数据库 时间:
2014-06-27 13:48:17
阅读次数:
385
汉字转拼音的库主要是:pinyin https://github.com/hotoo/pinyinPYMethod https://github.com/a85816841/PotentialGragonSnail/tree/master/ql/lib/pinyingPOAPinyin h...
分类:
移动开发 时间:
2014-06-27 13:31:58
阅读次数:
232
create index IDX_T_GPS_CPH_local on T_GPS (CPH) local;create index IDX_T_GPS_SJ_local on T_GPS (SJ) local;select * from dba_ind_partitions where index...
分类:
数据库 时间:
2014-06-27 12:55:21
阅读次数:
229
Given a sorted array and a target value, return the index if the target is found. If not, return the index where it would be if it were inserted in or...
分类:
其他好文 时间:
2014-06-27 12:30:39
阅读次数:
204
Given an array of non-negative integers, you are initially positioned at the first index of the array.
分类:
其他好文 时间:
2014-06-27 11:51:49
阅读次数:
213
Given an array of non-negative integers, you are initially positioned at the first index of the array.
分类:
其他好文 时间:
2014-06-27 11:42:04
阅读次数:
146
Given a binary tree containing digits from 0-9 only, each root-to-leaf
path could represent a number.
An example is the root-to-leaf path 1->2->3 which represents the number 123.
Find the tota...
分类:
其他好文 时间:
2014-06-27 09:53:29
阅读次数:
208