where(['user_id'=>\Yii::$app->user->id])->asArray()->all(),'id','name_zh'), ['class'=>'form-control input-sm','prompt' => '请选择品牌'])?>'form-control inp...
分类:
其他 时间:
2015-08-13 15:38:43
收藏:
0 评论:
0 赞:
0 阅读:
291
ng-repeat && ng-options的故事为了兼容性问题请用这一款~~哈哈~~
分类:
其他 时间:
2015-08-13 15:38:33
收藏:
0 评论:
0 赞:
0 阅读:
77
如今Apache Hadoop已成为大数据行业发展背后的驱动力。Hive和Pig等技术也经常被提到,但是他们都有什么功能,为什么会需要奇怪的名字(如Oozie,ZooKeeper、Flume)。 Hadoop带来了廉价的处理大数据(大数据的数据...
分类:
其他 时间:
2015-08-13 14:37:34
收藏:
0 评论:
0 赞:
0 阅读:
271
[2015-8-13] Block = [globleblock retain]//Block仍在globle Block = [stackblock retain]//Block仍在stack Block = [globleblock copy]//Block仍在globle Block = [stackblock copy]//Block在heap,类型为__NSM...
分类:
其他 时间:
2015-08-13 14:37:23
收藏:
0 评论:
0 赞:
0 阅读:
173
1、 ?在创建RTSPServer的时候,会预先建议一个TCP监听,端口为创建RTSPServer时传入的值,创建位置 RTSPServer::createNew-?setUpOurSocket 函数,setUpOurSocket函数中 进行listen 操作,并发连接数默认为:2...
分类:
其他 时间:
2015-08-13 14:37:03
收藏:
0 评论:
0 赞:
0 阅读:
305
参考:http://my.oschina.net/eduosi/blog/169606 安装 readline,lua 编译需要用到这个,centos 可以通过 yum 直接安装,如果不需要系统的,可以编译安装 yum install readline yum install readline-devel 或者...
分类:
其他 时间:
2015-08-13 14:36:53
收藏:
0 评论:
0 赞:
0 阅读:
344
辅助型: 替代消防员执行灭火、救援等工作。 机器人分多种类型同时协作。 人形机器人(行走、攀爬、搜索楼层)、履带式机器人(用于运输、搬运工具、转移伤员) 机器人可以按现场情况自主运行或由人员远程控制执行...
分类:
其他 时间:
2015-08-13 14:36:23
收藏:
0 评论:
0 赞:
0 阅读:
224
<th class="wp7_5"><input type="checkbox" id="checkAllId" onclick="checkAll(this);" class="vm" /> 全选</th> <div> <td><input type="checkbox" th:name="${#strings.concat(‘listBean[‘).concat(status.in...
分类:
其他 时间:
2015-08-13 14:36:03
收藏:
0 评论:
0 赞:
0 阅读:
212
jmap(Java Memory Map)主要用于查看jvm内存,是jvm自带的一种内存映像工具。 jmap常用参数: ???????-heap:打印jvm heap的情况 -histo:打印jvm heap的直方图。其输出信息包括类名,对象数量,对象...
分类:
其他 时间:
2015-08-13 14:35:33
收藏:
0 评论:
0 赞:
0 阅读:
140
目前,正则表达式已经在很多软件中得到广泛的应用,包括*nix(Linux, Unix等),HP等操作系统,PHP,C#,Java等开发环境,以及很多的应用软件中,都可以看到正则表达式的影子。 正则表达式的使用,可以通过简单的...
分类:
其他 时间:
2015-08-13 14:34:14
收藏:
0 评论:
0 赞:
0 阅读:
210
近些年,以Linux领衔的开源项目在IT界出尽了风头,涌现了很多的优秀开源项目。如今人人都在讲开源,在刚理解了软件开源之后,又听说了硬件开源,仿佛现在不说开源就不够Bigge。So,为什么要开源呢?在网络数通领域...
分类:
其他 时间:
2015-08-13 14:33:33
收藏:
0 评论:
0 赞:
0 阅读:
130
原文 My old friend, Harrison, had lived in the Mediterranean for many years before he retired to England. He had often dreamed of retiring in England and had planned to settle down in the country. ...
分类:
其他 时间:
2015-08-13 14:33:23
收藏:
0 评论:
0 赞:
0 阅读:
233
HDU 1115 Lifting the Stone (求多边形的重心)...
分类:
其他 时间:
2015-08-13 14:31:53
收藏:
0 评论:
0 赞:
0 阅读:
119
{CSDN:CODE:901789}...
分类:
其他 时间:
2015-08-13 14:31:33
收藏:
0 评论:
0 赞:
0 阅读:
147
这两天遇到一个需求:在UITextField中限定指定字长(这里的字长是字符串的实际长度而不是字符的个数),中英文是混合输入方式。在iOS上一般中文字符占两位英文占一位,网上找了很多代码都只是提供计算中英文字长的方法,达不到我的需求。经过一番思考做出了一个解决思路。
UITextField实现输入响应方法:UITextFieldDelegate中没有实现类似UITextViewDelegate中 -...
分类:
其他 时间:
2015-08-13 14:31:03
收藏:
0 评论:
0 赞:
0 阅读:
173
POJ 3017 Cut the Sequence
/**
POJ 3017 Cut the Sequence
http://poj.org/problem?id=3017
解题思路:单调队列
解题分析:
dp[i]=dp[j]+max(j+1,i) //限制条件sum(j+1,i)<m
这样所有的最优决策都在区间为(j+1,i)的单调队列中
dp[i]=min(dp[q[i-1]]+a[q[i...
分类:
其他 时间:
2015-08-13 14:30:39
收藏:
0 评论:
0 赞:
0 阅读:
202
题目如下:
According to Wikipedia:
Insertion sort iterates, consuming one input element each repetition, and growing a sorted output list. Each iteration, insertion sort removes one element from ...
分类:
其他 时间:
2015-08-13 14:29:13
收藏:
0 评论:
0 赞:
0 阅读:
314
得到类的class对象我们可以通过三种方式获得:
1.Class c=类名.class;
使用这种方式获取Class对象,注意的是如果这个类没有被加载过,它将不会初始化这个类
2:Class c=对象.getClass();
返回对象真正所属的类的Class的对象(当上转型为父类时,如果使用这种方式...
分类:
其他 时间:
2015-08-13 14:29:03
收藏:
0 评论:
0 赞:
0 阅读:
238
作者:摆摆少年梦
视频地址:http://blog.csdn.net/wsscy2004/article/details/38440247本节主要内容
Type Specialization
Manifest、TypeTag、ClassTag
Scala类型系统总结
在scala中,类(class)与类型(type)是两个不一样的概念。我们知道类是对同一类型数据的抽象,而类型则更具体。比如定义cl...
分类:
其他 时间:
2015-08-13 14:28:43
收藏:
0 评论:
0 赞:
0 阅读:
170
Most importantly, MapReduce programs are inherently parallel, thus putting very large-scale data analysis into the hands of anyone with enough machines at their disposal.MapReduce comes into its own fo...
分类:
其他 时间:
2015-08-13 14:28:33
收藏:
0 评论:
0 赞:
0 阅读:
255