第 0001 题:做为 Apple Store App 独立开发者,你要搞限时促销,为你的应用生成激活码(或者优惠券),使用 Python 如何生成 200 个激活码(或者优惠券)?不知道用什么方法生成激活码比较靠谱,所以就用字母和数字的随机组合了。如果有更好的方法请告诉我:)生成的大概是这样子的:
0001.生成激活码.py#!/usr/bin/env python
#coding: utf-8...
分类:
编程语言 时间:
2015-04-13 01:45:27
阅读次数:
266
今天学习了如何通过android中的MediaPlayer方法进行音频的播放,具体代码如下。 首先新建一个android工程,将预先录制好的音频music.wma放在res/raw目录下,在布局文件中加入一个Button,当按下Button时音频响起。 1 public class TestA...
分类:
移动开发 时间:
2015-04-12 16:07:01
阅读次数:
127
*IFeature要素修改其属性值后必须IFeature.Store()才能在数据库中存储相应修改*ITableSort对ISelectionSet中的数据按照属性进行排序(ISelectionSet可以通过IFeatureClass.Select()方法获得)1 string strSortFie...
分类:
其他好文 时间:
2015-04-10 17:46:19
阅读次数:
142
1.One is always on a strange road, watching strange scenery and listening to strange music. Then one day, you will find that the things you try hard t...
分类:
其他好文 时间:
2015-04-10 13:02:27
阅读次数:
123
有没有遇到上线后发现很严重的bug这种情况,修复bug后提交审核又是漫长的等待,那样会把人逼疯的。估计是为了对应这样的情况,Apple提供有一个加速审核的通道:https://developer.apple.com/appstore/contact/appreviewteam/index.html界...
分类:
移动开发 时间:
2015-04-10 11:14:34
阅读次数:
170
4月8日苹果更新了Xcode到6.3版本,从Mac App Store安装的时候,总是报如下错误:This item is temporarily unavailable. Try again later. 解决方法见文内。...
分类:
其他好文 时间:
2015-04-09 23:51:54
阅读次数:
316
苹果在2014年10月20号发布了一条消息:从明年的二月一号开始,提交到App Store的应用必须支持64-bit。详细消息地址为:https://developer.apple.com/news/?id=10202014a那们我们应该如何开始着手让自己的App支持64-Bit呢?基本知识从i.....
分类:
移动开发 时间:
2015-04-09 15:02:56
阅读次数:
211
题目链接:Unique Binary Search Trees II
Given n, generate all structurally unique BST's (binary search trees) that store values 1...n.
For example,
Given n = 3, your program should return all 5 unique B...
分类:
其他好文 时间:
2015-04-09 11:59:05
阅读次数:
171
题目:
Given n, how many structurally unique BST's (binary search trees) that store values 1...n?
For example,
Given n = 3, there are a total of 5 unique BST's.
1 3 3 2 ...
分类:
其他好文 时间:
2015-04-08 18:14:31
阅读次数:
111