ui-router's states and AngularJS directives have much in common. Let's explores the similarities between the two and how these patterns have emerged i...
分类:
Web程序 时间:
2015-01-04 06:25:08
阅读次数:
216
We'velooked at lazy loading with ocLazyLoadpreviously, but what if we are using ui-router and want to lazy load modules when we change states?angular....
分类:
Web程序 时间:
2015-01-04 06:24:36
阅读次数:
1221
《Linux Shell脚本攻略》 笔记
第二章:常用命令
1、cat
cat -s //多个空白行压缩成一个
cat *.txt | tr -s '\n' //移除空白行
cat -n //加行号
2、find
沿着文件层次结构向下遍历,匹配符合条件的文件,并执行相应的操作。
eg:
find ./ ! -name "*.txt" -...
分类:
系统相关 时间:
2015-01-03 17:23:34
阅读次数:
273
Ruby是一种功能强大的面向对象的脚本语言Gem是一个管理Ruby库和程序的标准包,它通过Ruby Gem(如 http://rubygems.org/ )源来查找、安装、升级和卸载软件包,非常的便捷。CocoaPods是iOS最常用最有名的类库管理工具安装cocoapods1.移除ruby的源地址...
分类:
其他好文 时间:
2015-01-03 15:52:55
阅读次数:
197
据闻,Android M 是下一代 Android 的开发代号。那么,对于 M,Google 正在实验着什么?指纹识别根据此前的消息,Nexus 6 据称原本是包含指纹识别传感器的,但后来在开发过程的过程中移除了。此前 Google 为 Android 5.0 开发 OS 级别支持的指纹解锁功能。不...
分类:
移动开发 时间:
2015-01-02 21:00:01
阅读次数:
220
kali中主要为2种卸载方法:1、apt2、dpkg使用apt的方式有:apt-getremove[package]apt-getremove--purge#------(package删除包,包括删除配置文件等)apt-getautoremove--purge#----(package删除包及其依赖的软件包+配置文件等使用dpkgdpkg-r#移除一个已安装的包。dpkg-P#完全清..
分类:
其他好文 时间:
2015-01-01 23:58:05
阅读次数:
387
3.0版本后,cordova通过插件模式实现设备API,使用CLI的plugin命令可以添加或者移除插件:$ cordova plugin add org.apache.cordova.device-motion $ cordova plugin ls [ 'org.apache.cor...
分类:
其他好文 时间:
2014-12-31 00:59:49
阅读次数:
283
之前已经介绍过jQuery.event.add,现在我们来看看jQuery.event.remove 先上代码 /* elem: 处理的元素 types: 移除的事件 handler: 移除的方法 selector: 委托的元素 mappedTypes:*/re...
分类:
编程语言 时间:
2014-12-30 14:53:39
阅读次数:
235
双击select 移除某项ondblclick="this.removeChild(this.options[this.selectedIndex])"不必在option 上定义 。代码如下: ////////////////////////////////////////////easyui-co...
分类:
其他好文 时间:
2014-12-30 13:23:12
阅读次数:
109
1 概述 Fragment是在Android 3.0开始引入fragment的,简单理解可以把它当成 activity中的模块,这个模块有自己的布局,有自己的生命周期,单独处理自己的输入,在Activity运行的时候可以加载或移除fragment模块 ...
分类:
其他好文 时间:
2014-12-30 12:04:31
阅读次数:
207