上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 24 下一页
摘要: 18 ~ 3{"50m","100m","200m","500m","1km","2km","5km","10km","20km","25km","50km","100km","200km","500km","1000km","2000km"} 阅读全文
posted @ 2015-06-26 15:07 GreatK 阅读(690) 评论(0) 推荐(0)
摘要: ### 上传指定后缀名文件 svn st | grep swift | cut -d' ' -f8- > targets.txt svn ci -m "comments" --targets targets.txt### 上传新增和修改文件 svn st |... 阅读全文
posted @ 2015-06-26 13:18 GreatK 阅读(3328) 评论(0) 推荐(0)
摘要: 1. 查看当前时区和时间 $ date $ ls -l /etc/localtime2. 查看所有可用时区 $ timedatectl list-timezones | grep Asia3. 设置时区 $ timedatectl set-timezone time_zone... 阅读全文
posted @ 2015-06-24 20:14 GreatK 阅读(422) 评论(0) 推荐(0)
摘要: ### Install yum install screen### Useful screen commands**List a particular users screen sessions:** screen -list username/ (the for... 阅读全文
posted @ 2015-06-24 11:48 GreatK 阅读(156) 评论(0) 推荐(0)
摘要: 当ScrollView中有类似GridView的控件时,当数据加载后ScrollView会自动滚动。要阻止这种事情发生,我们需要做的是在ScrollView的下层容器中添加android:descendantFocusability="blocksDescendants"属性。例如: 阅读全文
posted @ 2015-06-17 17:30 GreatK 阅读(402) 评论(0) 推荐(0)
摘要: Intent intent = new Intent(); intent.setClass(SetActivity.this, RegisterLoginActivity.class); intent.setFlags(Intent.FLA... 阅读全文
posted @ 2015-06-17 14:08 GreatK 阅读(480) 评论(0) 推荐(0)
摘要: SELECT X - Select database (the X must be int)CONFIG GET databases - Get databases numberINFO keyspace - List Databases infoLUSHDB - Remov... 阅读全文
posted @ 2015-06-05 16:14 GreatK 阅读(205) 评论(0) 推荐(0)
摘要: edit /etc/redis.confAdd below line after bind 127.0.0.1, then try redis-cli -h xxx.xxx.xxx.xxx ping, it should work now.bind 0.0.0.0 阅读全文
posted @ 2015-06-04 17:55 GreatK 阅读(244) 评论(0) 推荐(0)
摘要: 如下代码获取一个String?的结果let s = NSString(data: data, encoding: encoding)return s as? String 阅读全文
posted @ 2015-06-03 16:12 GreatK 阅读(2201) 评论(0) 推荐(0)
摘要: Clojure寻找项目依赖项目:lein deps :tree 阅读全文
posted @ 2015-06-02 18:20 GreatK 阅读(367) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 24 下一页