【微信测试公众号】半年前耍着玩搭起来的“微信简历”,是LAMP版的,很皮毛。微信的官方文档在这 http://mp.weixin.qq.com/wiki/index.php1.获取access token2.自定义菜单创建,直接在调试工具上做了 http://mp.weixin.qq.com/deb...
分类:
微信 时间:
2014-10-09 15:32:13
阅读次数:
530
区别1.去CC之前2.0的CC**,把CC都去掉,基本的元素都是保留的2.0
CCSprite CCCallFunc CCNode ..
3.0
Sprite CallFunc Node ..区别2.cc***结构体改变2.0
ccp(x,y)
ccpAdd(p1,p2)
ccpSub
ccpMult
ccpLength(p)
ccpDot(p1,p2);
ccc...
分类:
其他好文 时间:
2014-10-09 03:11:40
阅读次数:
198
Algorithm: Iterate copy the original list first. For the random pointer, copy its original value(address) first. And during the iterate, use a map to store each node's original address and the corresp...
分类:
其他好文 时间:
2014-10-09 02:52:27
阅读次数:
187
安装ansible只需要将管理节点安装ansible,被管理节点不需要安装但如果使用yum安装的话,必须配置epel源rpm-Uvhhttp://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpmrpm-Uvhhttp://dl.fedoraproject.org/pub/epel/5Server/x86_64/epel-release-5-4.noar..
分类:
其他好文 时间:
2014-10-09 02:26:09
阅读次数:
338
今天在用hive进行查询练习,因为采用了条件查询,hive默认会把查询转变成mapreduce的job去执行,结果发现job一直僵在那里不动,找了好久都没发现问题,看hadoop的mast节点日志,也没有问题,最后查看node节点的日志发现了“INFO org.apache.hadoop.ipc.....
分类:
其他好文 时间:
2014-10-09 02:04:37
阅读次数:
813
变量unordered_map cloneMap;
DFS:
UndirectedGraphNode *cloneGraph(UndirectedGraphNode *node) {
if (node == NULL) return NULL;
if (cloneMap.find(node) != cloneMap.end())...
分类:
其他好文 时间:
2014-10-09 01:23:57
阅读次数:
158
#include#include#include//定义一个存放数据的结构体typedef struct { int num; char name[20];}DATA;//定义链表typedef struct node{ DATA data; struct node *ne...
分类:
其他好文 时间:
2014-10-09 01:13:37
阅读次数:
194
#include#include#include//定义一个结构体存放数据typedef struct { int num; char name[20];}DATA;//定义链表typedef struct node{ DATA data; struct node *nex...
分类:
其他好文 时间:
2014-10-09 00:40:37
阅读次数:
175
#define LOCAL#include#include#includeusing namespace std;typedef int ElemType;typedef struct Node{ ElemType data; struct Node *next;}Node,*LinkL...
分类:
其他好文 时间:
2014-10-09 00:27:07
阅读次数:
217
websocket已经不是什么新鲜的东西了,要在node.js上实现也有socket.io这样好用的第三方模块.但是个人有代码洁癖,实在是受不了在HTML页面上多出一行如下代码: ????<script?src=‘http://192.168.0.143:4000/so...
分类:
Web程序 时间:
2014-10-08 23:56:57
阅读次数:
291