2015-06-04 by komilevim基础命令打开一个文件 vim index.php几种模式说明Normal Mode也就是最一般的普通模式,默认进入vim之后,处于这种模式。Insert Mode插入模式,其实就是指处在编辑输入的状态。普通模式下,可以按i进入。Command-Line....
分类:
系统相关 时间:
2015-06-04 15:38:59
阅读次数:
191
以下是对上面几个属性的测试效果如下: 具体代码如下: white-space white-space: normal this is a test ! white-space: pre this is ...
分类:
Web程序 时间:
2015-06-03 19:33:14
阅读次数:
136
12.00 Normal 0 7.8 磅 0 2 false false false EN-US ZH-CN X-NONE Mic...
分类:
其他好文 时间:
2015-06-03 19:11:46
阅读次数:
117
如题,代码如下:
void reverse_words(std::string& original)
{
enum {
scan_normal,
scan_frag,
} state;
char buf[4];
memset(buf, 0, sizeof(buf));
int last = original.size() - 1;
int cur = original....
分类:
其他好文 时间:
2015-06-02 21:56:13
阅读次数:
168
TutorTime Limit: 20 SecMemory Limit: 256 MB题目连接http://acm.hdu.edu.cn/showproblem.php?pid=4493DescriptionLilin was a student of Tonghua Normal Universi...
分类:
其他好文 时间:
2015-06-02 21:32:36
阅读次数:
108
Android把屏幕大小分成四种:small, normal, large, xlarge;
屏幕密度分成:low(ldpi), medium(mdpi), high(hdpi), extra high(xhdpi);各个屏幕密度之间的关系如下:
密度名称
密度的参考值(dpi)
关系
对应的屏幕分辨率 xxxhdpi
640dpi
xxhdpi
480d...
分类:
移动开发 时间:
2015-06-02 20:16:31
阅读次数:
150
1、控制字体 指定字体 font-family:value1,value2; 字体大小 font-size:value; 字体加粗 font-weight:normal/bold; p{ font-family:Times,'NEW York',serif; f...
分类:
其他好文 时间:
2015-06-02 15:00:22
阅读次数:
102
CSS控制字体1.设置字号 font-size:12px2.设置字色 color:red3.设置字体 font-family:Arial,‘宋体‘4.设置行高 line-height:150% line-height:1.5em5.设置字体粗细 font-weight:normal/bold6.设置字体样式 font-style:normal/italic(斜体)7.修饰文字 text-decoration:none(正常)..
分类:
Web程序 时间:
2015-06-01 20:44:28
阅读次数:
182
1、show()显示效果 语法:show(speed,callback) Number/String,Function speend为动画执行时间,单位为毫秒。也可以为slow","normal","fast" callback可选,为当动画完成时执行的函数。 show(speed,[e...
分类:
Web程序 时间:
2015-05-30 22:34:30
阅读次数:
213
commentBtn.adjustsImageWhenHighlighted = NO; //背景:做博客的时候,写到工具条时,设置了评论、转发等button的高亮时的背景图片,但是点击button的时候,发现normal状态的image也会有变化,这样不太好。button的字体可以通过titleL...
分类:
其他好文 时间:
2015-05-30 13:25:20
阅读次数:
105