07 2011 档案
摘要:APNS是iOS的消息推送机制,网上有很好的资料,请查看最后的参考列表,这里强调一些关键步骤。一、生成证书。 与苹果的APNS Server交互涉及到iOS设备和提供Push服务的Provider,它们均需要证书进行验证。iOS设备与APNS的交互是通过底层进行的,应用程序本身并不需要引用什么证书,但是你的应用是否能够成功注册消息通知,会与你项目中的Bundle identifier有关,你指定的Bundle identifier所属的Provisioning Profile下的AppID必须开通了"Enable for Apple Push Notification service
阅读全文
摘要:1、在命令行下不能输入中文。D:\Git\msysgit\etc\inputrc,修改:set output-meta onset convert-meta off说明:使得在 Git Bash 中可以正常输入中文,比如中文的 commit log。2、使用 less命令时显示中文。D:\Git\msysgit\etc\profile, 添加:export LESSCHARSET=utf-83、git log时显示中文。D:\Git\msysgit\etc\gitconfig,添加:[gui] encoding=utf-8[i18n] commitencoding=GBK4、添加自定义alia
阅读全文
摘要:通过homebrew可以管理众多开源软件的安装和卸载。参考官方的文档1. 安装:ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"2、更新brew update3、卸载:cd `brew --prefix`rm -rf Cellarbrew prunerm `git ls-files`rm -r Library/Homebrew Library/Aliases Library/Formula Library/Contributionsrm -rf .gitrm -rf ~/Library/Caches/Hom
阅读全文
摘要:重装IDP相关证书的教程,请参看如下:iphone 证书重装 全过程The identity 'iPhone Developer' doesn't match any valid certificate - neil's notebook这里只提一些关键点:1、先安装WWDR证书。在Certificates标签下可下载安装。*If you do not have the WWDR intermediate certificate installed, click here to download now.注意:需要安装在“钥匙串访问”的“登录”下。2、生成公私密
阅读全文