摘要: 1:install pip python-dev sudo apt-get install python-dev sudo apt-get install libevent-dev sudo apt-get install pip2:install scrapy pip install Scrapy 阅读全文
posted @ 2016-08-29 16:47 ScarecrowPqs 阅读(92) 评论(0) 推荐(0) 编辑
摘要: 1:add-apt-repository ppa:webupd8team/sublime-text-3加载sublime的源2:sudo apt-get update更新源 3:sudo apt-get install sublime-text-installer安装sublime4:ctrl+~然 阅读全文
posted @ 2016-08-28 21:33 ScarecrowPqs 阅读(2499) 评论(0) 推荐(0) 编辑
摘要: 1:wget --no-check-certificate https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-amazon-3.2.9.tgz2:tar vzxf mongodb-linux-x86_64-amazon-3.2.9.tgz3: 阅读全文
posted @ 2016-08-23 16:10 ScarecrowPqs 阅读(904) 评论(0) 推荐(0) 编辑
摘要: 1:安装wget: yum install wget2:安装pip: 1:sudo yum -y install epel-release 2:sudo yum -y install python-pip3:安装redis: 1:wget --no-check-certificate http:// 阅读全文
posted @ 2016-08-23 14:56 ScarecrowPqs 阅读(821) 评论(0) 推荐(0) 编辑
摘要: <?phpclass GetApiModel{//获取第三方API //获取身份证信息 //返回json /*{ "errNum": 0, "retMsg": "success", "retData": { "sex": "M", //M-男,F-女,N-未知 "birthday": "1987-0 阅读全文
posted @ 2016-05-17 15:33 ScarecrowPqs 阅读(242) 评论(0) 推荐(0) 编辑
摘要: <?phpclass ReplyModel{ //验证token, public function ValidationToken($token){ if(isset($_GET["echostr"])){ $tokenInfo["token"]=$token; $tokenInfo["echost 阅读全文
posted @ 2016-05-17 15:31 ScarecrowPqs 阅读(316) 评论(0) 推荐(0) 编辑