上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 24 下一页
摘要: 1. 查看当前时区和时间 $ date $ ls -l /etc/localtime2. 查看所有可用时区 $ timedatectl list-timezones | grep Asia3. 设置时区 $ timedatectl set-timezone time_zone... 阅读全文
posted @ 2015-06-24 20:14 GreatK 阅读(415) 评论(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 阅读(151) 评论(0) 推荐(0) 编辑
摘要: 当ScrollView中有类似GridView的控件时,当数据加载后ScrollView会自动滚动。要阻止这种事情发生,我们需要做的是在ScrollView的下层容器中添加android:descendantFocusability="blocksDescendants"属性。例如: 阅读全文
posted @ 2015-06-17 17:30 GreatK 阅读(395) 评论(0) 推荐(0) 编辑
摘要: Intent intent = new Intent(); intent.setClass(SetActivity.this, RegisterLoginActivity.class); intent.setFlags(Intent.FLA... 阅读全文
posted @ 2015-06-17 14:08 GreatK 阅读(469) 评论(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 阅读(200) 评论(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 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 如下代码获取一个String?的结果let s = NSString(data: data, encoding: encoding)return s as? String 阅读全文
posted @ 2015-06-03 16:12 GreatK 阅读(2188) 评论(0) 推荐(0) 编辑
摘要: Clojure寻找项目依赖项目:lein deps :tree 阅读全文
posted @ 2015-06-02 18:20 GreatK 阅读(357) 评论(0) 推荐(0) 编辑
摘要: How to install redis server on CentOS 7 / RHEL 7October 4, 2014bysharad chhetriLeave a CommentIn this tutorial we will learn, how to install redis ser... 阅读全文
posted @ 2015-06-01 17:35 GreatK 阅读(418) 评论(0) 推荐(0) 编辑
摘要: Install vsftpd All commands should be run with ‘root’ user. Run the following command in terminal to install vsftpd package: Configure vsftpd Edit vsf 阅读全文
posted @ 2015-06-01 17:07 GreatK 阅读(340) 评论(0) 推荐(0) 编辑
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 24 下一页