1、CardIO识别 1.1 、CaedIO SDK下载 下载地址 1.2、使用方法 1、把框架整个拉进自己的工程,然后在 TARGETS => Build Phases => Link Binary With Libraries 里边分别加入下面这几个框架。 2、在TARGETS => Build ...
分类:
其他好文 时间:
2017-03-13 11:46:02
阅读次数:
972
Python中默认安装的ftplib模块定义了FTP类,其中函数有限,可用来实现简单的ftp客户端,用于上传或下载文件,函数列举如下 FTP.quit()与FTP.close()的区别 FTP.quit():发送QUIT命令给服务器并关闭掉连接。这是一个比较“缓和”的关闭连接方式,但是如果服务器对Q ...
分类:
编程语言 时间:
2017-03-13 10:22:52
阅读次数:
205
1. conda create -n R-Env -c r r-essentials source activate R-Env 2. 下面这个方法可以了的,但是注意mac要从terminal打开r运行第二步 https://irkernel.github.io/installation/#bina ...
分类:
其他好文 时间:
2017-03-12 12:50:26
阅读次数:
212
1. Recursive Straight Forward, left -> right -> root 2. Iterator This is a little bit hard to understand, here is good reference https://sites.google. ...
分类:
其他好文 时间:
2017-03-12 10:44:36
阅读次数:
222
1. Recursive Straight Forward, Add left -> root -> right 2. Iterator 1. Create a node to present current node. 2. If current node is not null and stac ...
分类:
其他好文 时间:
2017-03-12 10:42:59
阅读次数:
150
线性查找(Linear Search): 时间复杂度:O(n) 二分查找(Binary Search): ...
分类:
编程语言 时间:
2017-03-11 21:45:43
阅读次数:
208
转自 http://www.jianshu.com/p/e37495f72cf6 hihocoder 1342 解释:题目描述了一种用ASCII码绘制的满二叉树,然后将树的根设置在一个特殊坐标轴的原点(0,0),坐标轴x向下为正向,y向右是正向。树的每个树枝与节点都占用1*1的大小。现在需要求在坐标 ...
分类:
其他好文 时间:
2017-03-11 00:55:25
阅读次数:
304
Given a complete binary tree, count the number of nodes. Definition of a complete binary tree from Wikipedia:In a complete binary tree every level, ex ...
分类:
其他好文 时间:
2017-03-10 22:23:39
阅读次数:
132
openstack的控制节点和计算节点重启后,在控制节点上查看计算资源的状态:[root@linux-node1~]#openstackcomputeservicelist
+----+------------------+------------------------+----------+---------+-------+----------------------
|ID|Binary|Host|Zone|Status|State|Upda..
分类:
其他好文 时间:
2017-03-10 19:39:42
阅读次数:
3099
Given a binary array, find the maximum length of a contiguous subarray with equal number of 0 and 1. Example 1: Example 2: Note: The length of the giv ...
分类:
编程语言 时间:
2017-03-10 12:57:49
阅读次数:
179