废话不多说,直接上代码。function MySelectCtrl($scope){ $scope.Model = [ { id: 10002, MainCategory: '男', ProductName: '水洗T恤', ProductColor:...
分类:
Web程序 时间:
2014-11-25 14:05:07
阅读次数:
227
Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the maximum profit. You may complet...
分类:
其他好文 时间:
2014-11-25 14:02:10
阅读次数:
175
因为要花费最少,如果花费最少的有多个还要使得步数最少
所以在判断一个数字要不要入队列的时候只要判断这个就可以了
I - Interesting Calculator
Time Limit:2000MS Memory Limit:131072KB 64bit IO Format:%lld & %llu
Submit Status Practice CSU
1336...
分类:
其他好文 时间:
2014-11-24 22:41:25
阅读次数:
284
Yahoo!的Exceptional Performance团队为改善Web性能带来最佳实践。他们为此进行了一系列的实验、开发了各种工具、写了大量的文章和博客并在各种会议上参与探讨。最佳实践的核心就是旨在提高网站性能。原版猛戳:Best Practices for Speeding Up Your ...
分类:
Web程序 时间:
2014-11-24 22:07:36
阅读次数:
371
November 13, 2014 19:00~21:00 Feishang Cafe
The problem of this meeting was that I still could not understand what the foreign friend said. Still need more listening practice, e...
分类:
其他好文 时间:
2014-11-24 17:19:31
阅读次数:
136
文字超出部分显示省略号还是比较常用的一个效果,最近看到网上的一些方法亲自实践了一下,发现有些以前一些浏览器不能用的属性现在可以用了,于是研究了一番,现总结如下: 我们先来看下HTML代码: 用css来实现当文字超出宽度时显示省略号的效果 CSS代码:
div{ width: 200px;
} spa...
分类:
Web程序 时间:
2014-11-24 16:47:07
阅读次数:
142
http://yeasy.gitbooks.io/docker_practice/content/index.htmlDocker 是一个开源项目,诞生于 2013 年初,最初是 dotCloud 公司内部的一个业余项目。它基于 Google 公司推出的 Go 语言实现。 项目后来加入了 Linux...
分类:
其他好文 时间:
2014-11-24 15:03:44
阅读次数:
172
Latency devices(CPU cores) Throughput devices(GPU cores) Use the best match for the job (heterogeneity in mobile SOC CPU: Latency Oriented Design Powe...
分类:
其他好文 时间:
2014-11-23 22:52:21
阅读次数:
252
我们知道Java容器类实际提供了四类接口:Map,List,Set和Queue,如下图所示,每种接口都有不止一个版本的实现,如果在实际编写程序时需要使用某种接口时该如何选择。 从Oracle的Java Language Best Practices 中的说明可以看到建议不要在新程序中使用HashTa...
分类:
编程语言 时间:
2014-11-23 17:20:02
阅读次数:
223
AngularJS 最佳实践转载:http://www.lovelucy.info/angularjs-best-practices.html
分类:
Web程序 时间:
2014-11-23 17:15:12
阅读次数:
140