路由解析:支持四种URL模式,分别是普通模式、路径模式、重写模式、兼容模式,分别用0123表示普通模式:http://网址/index.php?m=model&c=user&a=login路径模式:http://网址/index.php/model/user/login重写模式:http://网址/...
分类:
其他好文 时间:
2014-10-09 23:18:38
阅读次数:
153
说明:1、MySql 版本5.62、本例中使用的主从服务器ip分别为:192.168.120.211;192.168.120.209一、配置master服务器1、配置在my.ini中[mysqld]配置如下:log-bin=mysql-binlog-bin-index=mysql-bin.index...
分类:
数据库 时间:
2014-10-09 21:20:57
阅读次数:
242
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=944区间dp,对于每段区间,他们的最优值都是由几段更小区间的最优值得到,是分治思想的一种应用,将一个区间问题...
分类:
其他好文 时间:
2014-10-09 19:31:57
阅读次数:
137
http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=8&page=show_problem&problem=947打出素数表,快速幂取模。 1 #include 2 #include 3 #include 4 #...
分类:
其他好文 时间:
2014-10-09 19:22:47
阅读次数:
194
早期Oracle查询优化器的开销计算是基于执行SQL语句所需要的物理读,这个方法被叫做I/O开销模式(I/O cost model),这个方法的主要缺点是认为单块读和多块读开销相当。在Oracle 8i中,初始化参数optimizer_index_caching和optimizer_index_cost_adj解决了这个问题,但参数的默认值仅适用于报告系统和数据仓库。直到Oracle 9i,ORa...
分类:
数据库 时间:
2014-10-09 19:12:17
阅读次数:
246
Flume配置
。
flume生成的数据结构
"_index" : "logstash-2013.01.07",
"_type" : "tms_jboss_syslog",
"_id" : "a_M9X_0YSpmE7A_bEzIFiw",
"_score" : 1.0, "_source" : {"@source":"file://localhost.localdomain/tmp...
分类:
其他好文 时间:
2014-10-09 17:03:48
阅读次数:
290
Given an array of non-negative integers, you are initially positioned at the first index of the array.
Each element in the array represents your maximum jump length at that position.
Determine i...
分类:
其他好文 时间:
2014-10-09 16:59:57
阅读次数:
203
【微信测试公众号】半年前耍着玩搭起来的“微信简历”,是LAMP版的,很皮毛。微信的官方文档在这 http://mp.weixin.qq.com/wiki/index.php1.获取access token2.自定义菜单创建,直接在调试工具上做了 http://mp.weixin.qq.com/deb...
分类:
微信 时间:
2014-10-09 15:32:13
阅读次数:
530