启动Android studio 1.点击菜单栏Build -> Generate Signed APK...,打开如下窗口 2.这里是类似eclipse中Android的签名,假设这里没有打过apk包,没有签名,那么点击Create new,窗口如下 这里只要输入几个必要项 Key store p...
分类:
移动开发 时间:
2015-04-17 13:39:37
阅读次数:
144
a. 安装交叉编译链
我使用的是arm-linux-gcc 4.3.2,解压到目录/usr/local/arm/4.3.2,然后在环境变量PATH中增加/usr/local/arm/4.3.2/bin
b. 安装CMake
OpenCV 2.0之后的版本,必须使用CMake创建Makefile。我使用的CMake版本是2.8.2,解压到目录/usr/local/cmake-2.8.2
4、 点击Generate生成Makefile
如果你现在make,是肯定会出错的!(不修改,可能白等了至少15分钟...
分类:
其他好文 时间:
2015-04-17 11:30:51
阅读次数:
225
1、首先你需要下载http://files.cnblogs.com/files/zhanqun/putty.7z文件夹内包含下面这些文件:2、然后点击PUTTYGEN.EXE文件点击“Generate”并狂动鼠标生成密钥(自己使用,建议不要设置Key passphrase),然后保存public k...
分类:
其他好文 时间:
2015-04-16 17:20:04
阅读次数:
99
problem:
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 BST's shown bel...
分类:
其他好文 时间:
2015-04-16 12:34:36
阅读次数:
111
Here is the source code about obtain a snapshot of a website by using phantomJS.
var webPage = require("webpage"), address, filename, height, width; // generate webPage object
var page = webPage.crea...
分类:
Web程序 时间:
2015-04-16 12:33:11
阅读次数:
152
/*杨辉三角的简单应用 res[i][j] = res[i-1][j]+res[i-1][j-1](j>0&&j > generate(int numRows) { vector >res; for(int i = 0 ; i ()); for(in...
分类:
其他好文 时间:
2015-04-15 22:54:36
阅读次数:
153
这两题都比较简单,第一题输出杨辉三角,第二题输出特定的某一行,第二题要求空间复杂度为O(k)
代码如下:
Pascal's Triangle:
public List> generate(int numRows) {//direct simulate
List> rs = new LinkedList>();
if(numRows == 0)retur...
分类:
其他好文 时间:
2015-04-15 14:55:55
阅读次数:
135
Title:Givennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a solution set is:"...
分类:
其他好文 时间:
2015-04-14 15:59:58
阅读次数:
104
Givennpairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, givenn= 3, a solution set is:"((()))...
分类:
其他好文 时间:
2015-04-13 22:18:17
阅读次数:
102
题目:
Given n pairs of parentheses, write a function to generate all combinations of well-formed parentheses.For example, given n = 3, a solution set is:“((()))”, “(()())”, “(())()”, “()(())”, “()()()”...
分类:
其他好文 时间:
2015-04-13 20:54:32
阅读次数:
121