<ul class="ddm-filter-condition"> <li class="ddm-filter-condition-left" ng-repeat="filterName in moFiltersName" ng-click="setIndex($index)" ng-class="
分类:
其他好文 时间:
2016-02-18 19:30:53
阅读次数:
125
七、重复的危害 我们觉得,可靠地开发软件、并让我们的开发更易于理解和维护的唯一途径,是遵循我们称之为DRY的原则: 系统中的每一项知识都必须具有单一、无歧义、权威的表示。 DRY-Don't Repeat Yourself. 不要重复你自己。 与此不同的做法是在两个或更多的地方表达同一事物。如果你改
分类:
其他好文 时间:
2016-02-17 12:47:47
阅读次数:
222
http://blog.csdn.net/violet_day/article/details/17023219 一、obj包含 [html] view plain copy <!doctype html> <html ng-app> <head> <script src="lib/angular/
分类:
其他好文 时间:
2016-02-11 06:45:58
阅读次数:
307
Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C where the candidate numbers sums to T. The same repeat
分类:
其他好文 时间:
2016-02-07 17:25:25
阅读次数:
223
如果有个操作,我们需要过一会儿再做,或者每隔一段时间就要做一次。可以有很多种做法。 独立线程 是的,对.NET Framework本身一知半解的程序员才会使用这种方案。不过,现实中这个方案其实并不少见。 public static void Repeat(this Action action, Ti
分类:
其他好文 时间:
2016-02-03 08:59:18
阅读次数:
266
1.CSS背景 #box{width:300px;height:300px;background-color:#333; background-image:url(img/img.gif); background-repeat:no-repeat; background-position:-20px
分类:
Web程序 时间:
2016-02-02 23:18:51
阅读次数:
202
.shadow{ width:100%; height: 168px; position: relative; margin-top: -110px; background: transparent url(../images/shadow.png) no-repeat bottom center;
分类:
Web程序 时间:
2016-02-02 21:30:12
阅读次数:
257
Django的url配置相同遵循着DRY(dont repeat yourself)的规则。下面都是官方文档的样例: 首先介绍的是Django怎样处理http的请求: 1、在setting里定义ROOT_URLCONF ,这个值就是url的根配置,但若被request processing中间件定义
分类:
Web程序 时间:
2016-02-02 18:48:19
阅读次数:
181
.tp-loader { background: url(../assets/loader.gif) no-repeat 10px 10px; background-color: #fff; margin: -22px -22px; top: 50%; left: 50%; z-index: 100
分类:
其他好文 时间:
2016-02-01 20:38:01
阅读次数:
154
CSS Sprites其实就是把网页中一些图标整合到一张图片文件中,再利用CSS的“background-image”,“background- repeat”,“background-position”的组合进行背景定位,background-position可以用数字能精确的定位出背景图片的位置
分类:
Web程序 时间:
2016-01-30 02:01:58
阅读次数:
220