最近从ng1 转ng2 相信 使用ng1的同学都知道 ngStorage 这个插件吧, 存储 本地数据 下面介绍一下 ng2 使用 localStorage 参考 github https://github.com/marcj/angular2-localstorage 使用方法 1 nodejs ...
分类:
其他好文 时间:
2017-08-01 19:11:52
阅读次数:
163
A - Fence Repair Farmer John wants to repair a small length of the fence around the pasture. He measures the fence and finds that he needs N (1 ≤ N ≤ ...
分类:
其他好文 时间:
2017-08-01 17:08:31
阅读次数:
259
开始做的时候,遇到了个要用ionic实现 之前使用jQuery来实现的话,其实就是一个向左滑动的图片切换。 想着这个功能其实还是蛮常见的,ionic的framework应该能实现。然后就查看了一下文档,发现slides是可以实现的。 一开始直接粘贴了文档里面的代码,想着能自己直接修改样式来实现,设置 ...
分类:
其他好文 时间:
2017-07-31 11:21:49
阅读次数:
192
Ref: Install Ubuntu on Meego Pad T01 with a Live ISO Image MeegoPad T01 has recently been shown to boot Ubuntu and Android, but no installation disk h ...
分类:
系统相关 时间:
2017-07-30 11:33:56
阅读次数:
250
Given an unsorted array return whether an increasing subsequence of length 3 exists or not in the array. Formally the function should: Return true if ...
分类:
其他好文 时间:
2017-07-29 22:14:19
阅读次数:
108
恢复内容开始 You are given n integers. Your task is very easy. You should find the maximum integer a and the minimum integer b among these n integers. And t ...
分类:
其他好文 时间:
2017-07-29 16:37:58
阅读次数:
173
var radarLeftRight = { "Reusability": [ "System Coupling", "Service Complexity", "Service Coupling", "System Consistency", "Component Coupling","Compo ...
分类:
其他好文 时间:
2017-07-28 17:12:53
阅读次数:
156
"name": "ARCHATTRIBUTE","children": [{"description_en": "The code duplication rate should not exceed 5%. A higher duplication rate means that the soft ...
分类:
其他好文 时间:
2017-07-28 17:11:45
阅读次数:
198
Write a program that outputs the string representation of numbers from 1 to n. But for multiples of three it should output “Fizz” instead of the numbe ...
分类:
其他好文 时间:
2017-07-28 11:05:21
阅读次数:
112
从python解释器开始执行之后,就在内存中开辟了一个空间 每当遇到一个变量的时候,就把变量名和值之间的对应关系记录下来。 但是当遇到函数定义的时候解释器只是象征性的将函数名读入内存,表示知道这个函数的存在了,至于函数内部的变量和逻辑解释器根本不关心。 等执行到函数调用的时候,python解释器会再 ...
分类:
其他好文 时间:
2017-07-27 18:24:00
阅读次数:
156