.HalfPixelLine{ background: repeat-x top left url("data:image/svg+xml;utf8,"); height: 1px; width: 100%;}
分类:
Web程序 时间:
2015-12-16 15:21:28
阅读次数:
434
用ng-repeat指令遍历一个javascript数组,当数组中有重复元素的时候,angularjs会报错,这是因为ng-Repeat不允许collection中存在两个相同Id的对象。对于数字或者字符串等基本数据类型来说,它的id就是它自身的值。因此数组中是不允许存在两个相同的数字的。为了规避这...
分类:
其他好文 时间:
2015-12-15 22:35:37
阅读次数:
7509
第八章给网页添加图片1、背景图片:background-image:url(images/bg.gif);2、控制重复:background-repeat:repeat/no-repeat/repeat-x/repeat-y3、定位背景图片:background-position:4、固定背景图片:...
分类:
Web程序 时间:
2015-12-11 01:14:44
阅读次数:
172
一个简单的测试:start transaction;insert into tb1 values(3, repeat('a', 65000),'x',1);--commit;rollback;下图分别是 tb1.ibd 在插入前,回滚前,回滚后的文件大小:有人在QQ群问原因。------------...
分类:
数据库 时间:
2015-12-10 19:26:11
阅读次数:
178
一张png图片 上面有多个图标,如何用CSS准确的知道其中某个图片的坐标 ,如下图可以使用 backgroundbackground:url(images/xx.png) 40px 10px no-repeat;
分类:
Web程序 时间:
2015-11-30 20:06:47
阅读次数:
255
K-means的步骤 输入: 含n 个样本的数据集,簇的数据K 输出: K 个簇 算法步骤: 1.初始化K个簇类中心C1,C2,-……Ck (通常随机选择) 2.repeat 步骤3,4 3,将数据集中的每个样本分配到与之最近的中心Ci所在的簇Cj ; 4. 更新聚类中心Ci,即计算各个簇的样本均值...
分类:
编程语言 时间:
2015-11-30 11:31:43
阅读次数:
247
if语法 :if [ expression ] then commandselif [ expression2 ] then commandselse commandsficase 语法:case string1 in str1) commands;; str2) commands;; *) ...
分类:
系统相关 时间:
2015-11-26 00:58:14
阅读次数:
209
输入年份,月份,打印出该月日历表。:日历表从2000年起始。package repeat_job1;public class Calendar { public Calendar(){} private int []a={366,365,365,365}; public int number_Day...
分类:
其他好文 时间:
2015-11-25 23:24:45
阅读次数:
194
在前面的文章中学习filter过滤器,现在在结合着看看ng-repeat指令,举个例子。 颜色 值 {{data.name}} {{data.age}} ...
分类:
其他好文 时间:
2015-11-24 22:09:58
阅读次数:
225
1 1. Remember: you are writing for an expert. Cross out all that is trivial or routine. 2 3 2. Avoid repetition: do not repeat the assumptions of a t....
分类:
其他好文 时间:
2015-11-24 12:57:13
阅读次数:
209