public function filters(){ return array( 'accessControl', // per 'postOnly + delete', // );}public function accessRules(){ return array( array('all...
分类:
其他好文 时间:
2014-08-05 13:34:39
阅读次数:
213
http://acm.sdut.edu.cn/sdutoj/showproblem.php?pid=2777&cid=1219这题不会,看了别人的代码#include #include #include #include using namespace std;int dp[32770];int m...
分类:
其他好文 时间:
2014-08-05 13:33:39
阅读次数:
175
一.当读取一个1.5G的文件写入redis时候,机器资源不够,被系统杀掉进程,实验数据上限作罢. redis string理论支持1GB 二.场景:redis 2.6以上版本已经废弃了vm功能,配置文件已关闭redis持久化功能 当reids占用内存大于分配的内存的时候. 1.volatile-lr...
分类:
其他好文 时间:
2014-08-05 13:33:19
阅读次数:
2130
关键字:break case catch continue default delete do else finallyfor function if in instan...
分类:
编程语言 时间:
2014-08-05 13:32:39
阅读次数:
262
-(void)actionSheet:(UIActionSheet *)actionSheet clickedButtonAtIndex:(NSInteger)buttonIndex{ UIImagePickerController * picker = [[UIImagePickerControl...
分类:
移动开发 时间:
2014-08-05 13:29:29
阅读次数:
229
设置cell高度- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{ NoticeMessage* msg = [arrayNoticeMessage obje....
分类:
移动开发 时间:
2014-08-05 13:25:09
阅读次数:
240
Source fileSqlConnection strcon = new SqlConnection(System.Configuration.ConfigurationManager.AppSettings["strcon"]); strcon.Open(); Sql...
分类:
其他好文 时间:
2014-08-05 13:22:39
阅读次数:
165
如果在rs.next()之前关闭了Statement或PreparedStatement,会导致下面的异常:java.sql.SQLException: 关闭的语句: next如果在rs.next()之前关闭了Connection,会导致下面的异常:java.sql.SQLException: 关闭...
分类:
数据库 时间:
2014-08-05 13:20:49
阅读次数:
235
由于本周开始编写 宝石迷阵这款益智游戏,其中涉及到的两个效果我觉得很有趣。 手风琴:点击一级餐单,二级菜单动态弹出;再次点击一级菜单,二级菜单缩回; ????????实现方法如下: ????????首先...
分类:
其他好文 时间:
2014-08-05 11:42:29
阅读次数:
241
开源组件名称: Peguasus (飞马点餐) 开源组件说明及使用场景: 使用objective-c + 高德地图编写 iOS SDK,查询周边1.5KM的快餐店,且电话订快餐。是一个具备基本功能的O2O订餐软件. 开源组件所使用的技术: objecti...
分类:
其他好文 时间:
2014-08-05 11:42:00
阅读次数:
243