Link to the artical. Zone detects any async opreations. Once an async oprations happens in Angular, Zone will notify change detection to kick in. Imag ...
分类:
其他好文 时间:
2017-03-17 23:50:08
阅读次数:
394
所有元素使用border-box, 并且允许元素修改其box-sizing 出处:https://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ ...
分类:
其他好文 时间:
2017-03-13 10:10:58
阅读次数:
158
character:the sort time is proportional to any input array with length of N. Introduction to merge:if two arrays are already sorted,after merge operat ...
分类:
其他好文 时间:
2017-03-12 11:24:54
阅读次数:
209
CS50 第二周的课程内容主要围绕 data conversion problem, better design 大小写字母的相互转换的程序优化, 字符转换错误导致了 第一次海湾战争美国的爱国者导弹失去控制,16位 与 64位的数据类型的区别,小错误的累积放大效应。 欧洲的Arine5导弹发射失败 ...
分类:
其他好文 时间:
2017-03-11 21:36:03
阅读次数:
152
最近用vue2.0做项目,具体如下: 使用的插件: 下拉刷新插件: better-scroll 状态管理: vuex 路由管理: vue-router 轮播插件: swiper 接口交互: axios 300毫秒延迟 : fastclick package.json 如下 { "name": "vu ...
分类:
其他好文 时间:
2017-03-08 12:37:16
阅读次数:
263
Mr Wang wants some boys to help him with a project. Because the project is rather complex, the more boys come, the better it will be. Of course there ...
分类:
其他好文 时间:
2017-03-06 00:50:18
阅读次数:
187
原文: https://news.cnblogs.com/n/564066/ do more、do better、do exercise 编者按:本文来自微信公众号“InfoQ”(ID:infoqchina),作者李运华,阿里游戏资深软件工程师 有的人想成为大牛,却不曾为此努力。有的人辛苦耕耘,却收 ...
分类:
其他好文 时间:
2017-03-03 22:44:48
阅读次数:
256
A journey of one thousand miles begins with one step. 千里之行始于足下。 No matter how slowly you walk, as long as you walk forwards, you will be better than w ...
分类:
其他好文 时间:
2017-03-02 15:03:37
阅读次数:
193
写在前面的话: 上一篇文章实现了滑动效果,这部分来试试左右联动效果的实现方法吧 九、better-scroll + vue2.0 实现移动端滑动2——左右联动 效果:滑动右侧时,左侧也能有相应的变化;点击左侧时,右侧也能自动定位到相应的位置。 如下图所示界面,左侧为分栏,右侧为分栏详情。 滑动右边使 ...
分类:
移动开发 时间:
2017-03-02 12:20:31
阅读次数:
1492
题意:用不超过 n 根火柴,组成一个尽可能大的数。 析:很明显的一个DP题,首先不难想到这个dp[i][j] 表示前 i 根火柴,所能拼出的取模 m 为 j 的数,状态转移方程也很好写, dp[i][j] ==> dp[i+c[k]][(j*10+k)%m] 其中 k 为在后面添加的数,c 数组是用 ...
分类:
其他好文 时间:
2017-02-23 23:58:33
阅读次数:
366