- 博客(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 2294
原创 Mac OS 删除.svn
终端输入命令:sudo find /Users/iMilo/Applications/2012/ -name ".svn" -exec rm -r {} \;说明:红色部分表示你要删除.svn文件夹路径。
2018-06-14 14:55:06 3046
原创 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 938
原创 真机调试 出现: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 176
原创 评论时的闪退解决
ASIHttpRequest 每次使用必须重新生成,用 [RESTClientNew getInstance:appDelegate]PostQueueDelegate.h 里RESTClientNew *restClientNew= [RESTClientNew getInstance:appDelegate];[restClientNew callWithService:@"base.msg"...
2018-06-14 14:53:13 305
原创 APNs 访问不到的问题
APNs会将链接太频繁的链接视为DDos攻击,所以链接频率不要太高。目前每5分钟连接接一次。因为使用了加密链接,会被GFW随机阻断(看脸)···看有的说建议用国外VPS。单个ip连接每次发送消息数量不要超过1000条,高了容易失败和受错误token影响的用户太多。我使用了mina昨晚主服务,2台服务器做发送服务器,主服务器生成消息列表,在平均分配到2台发送服务器上发送。每个服务器不超过1000条。...
2018-06-14 14:52:48 1013
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人