123456789101112131415161718 // add "HelloWorld" splash screen"auto sprite = Sprite::create("HelloWorld.png");// position the sprite on the center of t...
分类:
其他好文 时间:
2015-05-25 18:01:07
阅读次数:
122
UILabel自适应 UILabel* labelJinE = [[UILabel alloc]init];
labelJinE.text = @"到账金额:--元";
labelJinE.font = [UIFont systemFontOfSize:16];
[labelJinE sizeToFit];
labelJinE.center = CGPointM...
分类:
移动开发 时间:
2015-05-25 16:50:03
阅读次数:
139
经常可以在文献上看到2D-FFT能够以两个1D-FFT来实现,今天我用MATLAB证明了,的确如此。MATLAB的代码如下clearall;
clc;
f=ones(256,256);
center_loc=size(f);
rd=2;
f(round(center_loc(1)/2)-rd:round(center_loc(1)/2)+rd,round(center_loc(2)/2)-rd:round(center_loc(2)/2..
分类:
其他好文 时间:
2015-05-25 14:52:54
阅读次数:
333
转自:How to Center Anything With CSShttp://designshack.net/articles/css/how-to-center-anything-with-css盘点8种CSS实现垂直居中水平居中的绝对定位居中技术 http://blog.csdn.net/f...
分类:
Web程序 时间:
2015-05-25 13:02:46
阅读次数:
158
【书评:Oracle查询优化改写】第14章结尾章一.1相关参考文章链接前13章的链接参考相关连接:【书评:Oracle查询优化改写】第一章http://blog.itpub.net/26736162/viewspace-1652985/【书评:Oracle查询优化改写】第二章http://blog.itpub.net/26736162/viewspace-1654252/【书评:O..
分类:
数据库 时间:
2015-05-24 19:06:27
阅读次数:
273
如果要跳转页面,那么form上要定义action跳转到相关页面,同时提交按钮的type要为submit,如下:<formaction="test2.php"method="post"><inputtype="submit"value="提交"/>不跳转用ajax刷新的代码如下:html代码:<body><divalign="center"><formid=..
分类:
数据库 时间:
2015-05-22 19:28:06
阅读次数:
238
Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric: 1 / \ ...
分类:
编程语言 时间:
2015-05-22 01:54:09
阅读次数:
189
Problem DescriptionA number of students sit in a circle facing their teacher in the center. Each student initially has an even number of pieces of can...
分类:
其他好文 时间:
2015-05-22 00:23:25
阅读次数:
125
varqingjia_panel=newExt.panel.Panel({
id:panelId,
layout:{
type:‘vbox‘,
align:‘center‘
},
items:[{//请假标题
border:false,
layout:{
align:‘middle‘,
pack:‘center‘,
type:‘hbox‘,
width:850
},
..
分类:
Web程序 时间:
2015-05-21 19:46:56
阅读次数:
173