App store最新审核标准(2015.3)

苹果近日更新了App Store审核指南的相关章节,对此前版本进行了修改和完善。除了增加应用截图、预览等限制外,使用Apple Pay进行定期付款的应用程序必须展示每个阶段所需款额,费用归属以及如何取消。而从修改的政策部分可以看出,苹果对App store应用的审核更加严格,鉴于近来国内游戏踩雷屡见不鲜,审核标准请各位业内同学耐心阅读。

阅读全文 »

Swift 语言指南

这份指南汇集了 Swift 语言主流学习资源,并以开发者的视角整理编排。

GitHub:ipader/SwiftGuide | 网站:http://dev.swiftguide.cn欢迎开发者一起维护,或反馈/投稿

想了解关于该指南及 Swift 更多信息的同学,可以阅读短文《致 Swift 开发者》。 想快速找到优秀开源项目的开发者,可以访问我们额外整理的《Swift 开源项目精选》。希望快速找到其中精选文章,可以访问《Swift 文章精选》

@SwiftLanguage 更新于 2015-4-26,更新内容详见《2015-4-26 收录周报》

阅读全文 »

iOS 开发流程笔记

  • [x] 证书知识及准备工作
  • [x] 几种开发者帐号区别
  • [x] 真机调试流程
  • [x] 内测发布流程
  • [ ] Appstore 上架流程
阅读全文 »

Wordnik

###Wordnik-Definition-Finder

This is a Python program that pulls definitions from a list and outputs them to a text file.
There are two versions, one with a GUI, and one with a CLI (command line interface). Choose
whichever seems most appropriate for you.
To read words from a text file, the following configuration should be used:
word1,word2,word3
Otherwise, the program will not be able to parse your file and most likely crash.

从文本文件中读取单词,再从wordnik.com网站获取单词释义。

###Usage:

  • easy_install wordnik
  • 命令行版本
    python definitions-finder-cli.py
    单词表放在text.txt。
  • 图形界面版本需要安装wxpython
    1
    2
    3
    brew install wxpython
    mkdir -p ~/Library/Python/2.7/lib/python/site-packages
    echo "import site; site.addsitedir('$(brew --prefix)/lib/python2.7/site-packages')" >> ~/Library/Python/2.7/lib/python/site-packages/homebrew.pth

另一种方法:

阅读全文 »

QR Code

###开源项目
python-qrcode

###install

安装Pillow
安装 python-qrcode

###Usage
阅读全文 »

xpinyin

###install
pip install xpinyin

###Usage

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
>>> from xpinyin import Pinyin
>>> p = Pinyin()
>>> # default splitter is `-`
>>> p.get_pinyin(u"上海")
'shang-hai'
>>> # show tone marks
>>> p.get_pinyin(u"上海", show_tone_marks=True)
'shàng-hǎi'
>>> # remove splitter
>>> p.get_pinyin(u"上海", '')
'shanghai'
>>> # set splitter as whitespace
>>> p.get_pinyin(u"上海", ' ')
'shang hai'
>>> p.get_initial(u"上")<!-- more -->
'S'
>>> p.get_initials(u"上海")
'S-H'
>>> p.get_initials(u"上海", u'')
'SH'
>>> p.get_initials(u"上海", u' ')
'S H'
>>> print p.get_pinyin(u"上海",'',show_tone_marks=True)
shànghǎi

pdf2htmlEX

###install

  • brew install fontforge --HEAD
  • brew tap homebrew/versions
  • brew install pdf2htmlex
  • brew install -v pdf2htmlex --HEAD
阅读全文 »

Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment