上一页 1 ··· 3 4 5 6 7
摘要: 阅读全文
posted @ 2015-07-24 16:21 Adtuu 阅读(666) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-07-24 16:20 Adtuu 阅读(613) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-07-24 16:14 Adtuu 阅读(660) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2015-07-24 15:38 Adtuu 阅读(289) 评论(1) 推荐(0) 编辑
摘要: // 这个可以需要在google账号中申请,勾选gcm服务选项$apiKey = 'AIzaSyC6h3ysrn2HDCBqONTo2vKIVVuktIFoxxx';$headers = array( "Content-Type:" . "application/json", ... 阅读全文
posted @ 2015-07-24 09:15 Adtuu 阅读(1388) 评论(0) 推荐(0) 编辑
摘要: header('content-type:text/html;charset=utf-8');require_once 'ApnsPHP/Autoload.php';require_once 'ApnsPHP/Push.php';require_once 'ApnsPHP/Message.php';... 阅读全文
posted @ 2015-07-23 14:59 Adtuu 阅读(1232) 评论(0) 推荐(0) 编辑
摘要: 一、下载远程文件到本地scp -i /Users/user/ssh/id_rsa root@192.168.1.8:/root/talk_server_redis/dump.rdb /Users/kba/dev_dump0710.rdb二、将本地文件上传到远程服务器scp -i /Users/use... 阅读全文
posted @ 2015-07-23 14:44 Adtuu 阅读(202) 评论(0) 推荐(0) 编辑
摘要: 一、订阅购买验证android端采用google service account进行校验1、打开https://cloud.google.com/console创建一个project;2、打开project->APIs & auth->Credentials点击CREATE NEW CLIENT I... 阅读全文
posted @ 2015-07-23 14:40 Adtuu 阅读(2800) 评论(0) 推荐(1) 编辑
摘要: // 正式环境验证地址$ios_verify_url = 'https://buy.itunes.apple.com/verifyReceipt';// 测试环境验证地址$ios_sandbox_verify_url = 'https://sandbox.itunes.apple.com/verif... 阅读全文
posted @ 2015-07-23 14:09 Adtuu 阅读(1377) 评论(0) 推荐(0) 编辑
摘要: jquery图片延迟加载 阅读全文
posted @ 2015-07-23 13:56 Adtuu 阅读(451) 评论(0) 推荐(0) 编辑
摘要: >vi test.log>gg #光标移到第一行>:.,$d 阅读全文
posted @ 2015-07-23 13:52 Adtuu 阅读(814) 评论(0) 推荐(0) 编辑
摘要: 如果是亚马逊的Engine Yard服务器,解决办法为:1、查看端口占用情况,找到nodejs进程号,例如我这里是8000端口lsof -i:8000 找到pid 例如为 82132、设置nofile数sudo prlimit --nofile=60000 --pid 82133、查看是否生效sud... 阅读全文
posted @ 2015-07-23 13:47 Adtuu 阅读(1379) 评论(0) 推荐(0) 编辑
摘要: 第一步:安装nodegit clonehttps://github.com/joyent/node.gitcd nodegit checkout v0.10.33-release./configuremakemake install第二步:安装npm mac下使用命令ruby -e "$(curl... 阅读全文
posted @ 2015-07-23 13:34 Adtuu 阅读(570) 评论(0) 推荐(0) 编辑
摘要: /** * 消息列队服务 * @author zhou.tingze * @example * -----------------------------------Create---------------------------------------- * $array = array('a'... 阅读全文
posted @ 2015-07-23 13:26 Adtuu 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 一、redis安装$ wgethttp://download.redis.io/releases/redis-2.8.17.tar.gz$tarxzfredis-2.8.17.tar.gz$cdredis-2.8.17$make二、redis启动$cdredis-2.8.17$src/redis-s... 阅读全文
posted @ 2015-07-23 13:18 Adtuu 阅读(455) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7