-bash-4.1# ll /etc/rc.local
lrwxrwxrwx. 1 root root 13 Aug 15 2014 /etc/rc.local -> rc.d/rc.local
-bash-4.1# cat /etc/rc.local
#!/bin/sh
touch /var/lock/subsys/local
route add default gw 192.169....
分类:
其他好文 时间:
2015-06-05 12:29:04
阅读次数:
181
1. 简介
iPhone 5S 开始支持
iOS 8.0 开放了 Touch ID 的接口
2. 代码准备- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { [self inputUserinfo];
}/// 输入用户信息
- (void)inputUserinfo {
UIAlertView *a...
分类:
移动开发 时间:
2015-06-05 10:18:34
阅读次数:
186
window.onload = function(){ var touch = { movetarget : false, touchStart : function (e) {...
分类:
其他好文 时间:
2015-06-04 19:11:34
阅读次数:
126
touch filename如果一个文件存在,touch将更新与这个文件相关的所有timestamp到当前时间touch -a filename //只修改访问时间touch -m filename //只修改更新时间使用touch -d 可以指定timestamp,如:touch -d "Fr.....
分类:
其他好文 时间:
2015-06-04 15:05:21
阅读次数:
127
GitBook 配置说明
1> 下载并安装 npmnode-v0.12.0.pkg http://nodejs.org/download/
2> 安装 gitbook$ sudo npm install gitbook-cli -g
3> 进入终端 cd 到新建的电子书目录
$ touch SUMMARY.md
$ gitbook init...
分类:
其他好文 时间:
2015-06-04 09:48:21
阅读次数:
129
纯粹的总结一下移动web开发框架,移动web开发框架有jQuery Mobile 、Sencha Touch等等,他们都来源于web开发,是成熟的框架,jQuery Mobile出自于jQuery家族,Sencha Touch来自于ExtJS。jQuery Mobile 和Sencha Touch都...
分类:
移动开发 时间:
2015-06-04 08:35:31
阅读次数:
810
如果我们允许用户在页面上用类似桌面浏览器鼠标手势的方式来控制WEB APP,这个页面上肯定是有很多可点击区域的,如果用户触摸到了那些可点击区域怎么办呢??诸如智能手机和平板电脑一类的移动设备通常会有一个电容式触摸屏(capacitive touch-sensitive screen),以捕捉用户的手...
分类:
移动开发 时间:
2015-06-04 06:09:56
阅读次数:
250
原文网址:http://dadekey.blog.51cto.com/107327/119938我们先写一个简单的脚本,执行以后再解释各个变量的意义# touch variable# vi variable脚本内容如下:#!/bin/shecho "number:$#"echo "scname:$0...
分类:
系统相关 时间:
2015-06-03 15:06:15
阅读次数:
164
移动端touch事件获取clientX, clientY
分类:
移动开发 时间:
2015-06-02 19:55:34
阅读次数:
228
xcode 6.3 上传应用时会出现'Missing
recommended icon file - The bundle does not contain an app icon for iPhone / iPod Touch of exactly '120x120' pixels, in .png format'。
在plist文件中 icon files添加
解决方案 :
...
分类:
移动开发 时间:
2015-06-02 17:48:52
阅读次数:
144