自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 PHP 根据参数名称调用php方法

http://php.net/manual/en/reflectionmethod.invokeargs.php<?phpclass HelloWorld { public function sayHelloTo($name,$test) { return 'Hello ' . $name." test :".$test; } /**...

2018-06-14 14:56:12 2282

原创 Mac OS 删除.svn

终端输入命令:sudo find /Users/iMilo/Applications/2012/ -name ".svn" -exec rm -r {} \;说明:红色部分表示你要删除.svn文件夹路径。

2018-06-14 14:55:06 3038

原创 xdebug无法调试

http://xdebug.org/wizard.php 可分析 phpinfo() 生成的html文件add the following line to php.ini: zend_extension="/wherever/you/put/it/xdebug.so" 记得要把 ini中extension=xdebug.so这句话给去掉,否则没法调试...

2018-06-14 14:54:26 933

原创 真机调试 出现:could not change executable permissions on the application.

同一个bundle identifier ,不能重复用删除原来老的程序This can happen if you change the name of your app and not the identifier. Double check the name under the icon is the same as your previous version...

2018-06-14 14:53:48 169

原创 评论时的闪退解决

ASIHttpRequest 每次使用必须重新生成,用 [RESTClientNew getInstance:appDelegate]PostQueueDelegate.h 里RESTClientNew *restClientNew= [RESTClientNew getInstance:appDelegate];[restClientNew callWithService:@"base.msg"...

2018-06-14 14:53:13 274

原创 APNs 访问不到的问题

APNs会将链接太频繁的链接视为DDos攻击,所以链接频率不要太高。目前每5分钟连接接一次。因为使用了加密链接,会被GFW随机阻断(看脸)···看有的说建议用国外VPS。单个ip连接每次发送消息数量不要超过1000条,高了容易失败和受错误token影响的用户太多。我使用了mina昨晚主服务,2台服务器做发送服务器,主服务器生成消息列表,在平均分配到2台发送服务器上发送。每个服务器不超过1000条。...

2018-06-14 14:52:48 1003

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除