new document div{position:absolute;width:200px;height:200px;left:0;top:0;right:0;bottom:0;margin:auto;border-radius:50%;backgroun...
分类:
Web程序 时间:
2014-06-18 21:43:53
阅读次数:
358
1 protected void initializeGraphicalViewer() { 2 // TODO Auto-generated method stub 3 4 viewer.setContents(diagram);(2) 5 //...
分类:
其他好文 时间:
2014-06-18 16:50:24
阅读次数:
182
/*! Copyright Cdialog* version 1.0* liscense MIT*/var Cdialog = { showMask: true, //show mask isScroll:false, //auto detect scroll zIndex: 1000...
分类:
其他好文 时间:
2014-06-18 15:06:18
阅读次数:
329
备忘,一段代码:@Override public void init(FilterConfig arg0) throws ServletException { // TODO Auto-generated method stub logger.info("=====...
分类:
Web程序 时间:
2014-06-18 09:14:10
阅读次数:
233
spring-mybatis-data-common-2.0新增分表机制,在1.0基础上做了部分调整.基于机架展示分库应用数据库分表实力创建create table tb_example_1( id bigint primary key auto_increment , eId bigint, .....
分类:
编程语言 时间:
2014-06-18 00:07:38
阅读次数:
317
1.增加一个旋转动画 UIImage *loadImage = [UIImageimageNamed:@"detailLoad.png"]; UIImageView *loadImageView = [[[UIImageViewalloc]initWithImage:loadImage ]auto....
分类:
其他好文 时间:
2014-06-17 20:03:06
阅读次数:
210
vi.profile-----------------aliasls=‘ls-F‘aliascls=‘clear‘aliasgrep=‘grep--color=auto‘CLICOLOR="xterm-color"LSCOLORS="gxfxcxdxcxegedabagacad"exportCLICOLORLsCOLORSvi.vimrc-----------------syntaxon
分类:
其他好文 时间:
2014-06-17 17:27:36
阅读次数:
280
//获取一个可写入的全路径
auto path =FileUtils::getInstance()->getWritablePath();
log("%s", path.c_str());
//在这个路径下添加一个json文件
path.append("myhero.json");
rapidjson::Document document;
document.SetObject()...
在计算机编程语言中用来为复杂的声明定义简单的别名,与宏定义有些差异。它本身是一种存储类的关键字,与auto、extern、mutable、static、register等关键字不能出现在同一个表达式中。
typedef声明,简称typedef,为现有类型创建一个新的名字,或称为类型别名,在结构体定义,还有一些数组等地方都大量的用到。
定义一种类型的别名,而不只是简单的宏替换。...
分类:
其他好文 时间:
2014-06-16 19:51:22
阅读次数:
164
1.碰撞检测回调方法编译出错;auto*listener=EventListenerPhysicsContact::create();listener->onContactBegin=CC_CALLBACK_1(HelloWorld::onContactBegin,this);在3.0rc版本中回调函数的参数变为一个,不能使用原来的两个参数;boolHelloWorld::onContactBegin(PhysicsContac..
分类:
其他好文 时间:
2014-06-16 17:03:46
阅读次数:
314