#include "HelloWorldScene.h"
#include "SimpleAudioEngine.h"
using namespace cocos2d;
using namespace CocosDenshion;
CCScene* HelloWorld::scene()
{
CCScene *scene = CCScene::create();
HelloWo...
分类:
其他好文 时间:
2014-05-10 09:26:12
阅读次数:
337
添加WebPart的工具面板 ?ToolPaneView=2
直接加在Web部件页的URL后面; 仅在页面已签出后有效解决方案模版 /
_catalogs/solutions/Forms/AllItems.aspx创建新的内容 /_layouts/create.aspx 列表模板库
/_cata.....
分类:
其他好文 时间:
2014-05-07 09:27:01
阅读次数:
223
这个问题只要:
1. setsebool -P ftpd_disable_trans 1
2. service vsftpd restart
太纠结了,呵呵...
分类:
其他好文 时间:
2014-05-07 08:22:48
阅读次数:
291
今天又个兄弟求助,数据库里一个表有数据如下:
no name
1 a
2 b
3 c
4 d
如何用一个sql显示如下结果:
ab
ac
ad
bc
bd
cd
对于这种构造数据,是分析函数的强项,下面来做个试验:
create table t (no number,name varchar(2));
insert into t va...
分类:
其他好文 时间:
2014-05-07 08:03:17
阅读次数:
447
LRU Cache
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and set.
get(key) - Get the value
(will always be posi...
分类:
其他好文 时间:
2014-05-07 07:16:21
阅读次数:
316
图灵机器人,功能很强大,可用于聊天、查询等多个领域
图灵机器人官网:http://www.wendacloud.com/
api地址:http://www.wendacloud.com/openapi/api?key=KEY&info=你好...
eshell是emacs shell的简称,是emacs自带的shell.开始设置的时候还在想是否要找到它的key map (eshell-mode-map?).
原来它是采用hook设置,如下所示
(add-hook 'eshell-mode-hook
(lambda ()
(local-set-key (kbd "C-j") 'switch-to...
分类:
其他好文 时间:
2014-05-07 05:25:39
阅读次数:
253
实验目标:熟悉实体完整性,参照完整性,事务的处理;
/*1.在数据库school表中建立表Stu_uion,进行主键约束,在没有违反实体完整性的前提下插入并更新一条记录*/
Use school
create table stu_uion
(
sno char(5) not null unique,
sname char(8),
ssex char(1),
sage in...
分类:
数据库 时间:
2014-05-07 03:51:11
阅读次数:
381
AWS -Amazon Web Services(AWS) - Cloud Computing
ServicesEC2 -Amazon Elastic Compute Cloud (EC2)Create First Application in
Elastic Beanstalk1. Login A...
分类:
其他好文 时间:
2014-05-06 13:56:32
阅读次数:
428
线程相关操作说明 一 pthread_t
pthread_t在头文件/usr/include/bits/pthreadtypes.h中定义: typedef unsigned long int
pthread_t; 它是一个线程的标识符。 二 pthread_create 函数pthre...
分类:
编程语言 时间:
2014-05-06 09:46:36
阅读次数:
505