一、注入简单属性 1 package soundsystem.properties; 2 import org.springframework.beans.factory.annotation.Autowired; 3 4 import soundsystem.CompactDisc; 5 impo
分类:
编程语言 时间:
2016-03-02 10:55:30
阅读次数:
223
.shortNameShow{ overflow:hidden; text-overflow:ellipsis; -o-text-overflow:ellipsis; white-space:nowrap; } 1.overflow:hidden;隐藏多余的内容 2.text-overflow:el
分类:
Web程序 时间:
2016-03-01 18:35:03
阅读次数:
196
如果想永久设置那么,vi ~/.vimrc,将以下内容加到文件中:set tabstop=4 设定tab宽度为4个字符:set shiftwidth=4 设定自动缩进为4个字符:set expandtab 用space替代tab的输入不用空格代替tab就把上面的最后一行换成下面这一行,或删除上面最后...
分类:
系统相关 时间:
2016-02-28 15:08:58
阅读次数:
257
题目:Given a sorted array, remove the duplicates in place such that each element appear only once and return the new length. Do not allocate extra space
分类:
其他好文 时间:
2016-02-27 15:03:03
阅读次数:
111
打开文件 vi [file name];前滚半屏 Ctrl + u后滚半屏 Ctrl + d前滚一屏 Ctrl + b后滚一屏 Ctrl + f第n行滚至屏幕顶 nz光标右移一格 ?? l Space光标左移一格 ?? h Backspace光标上移 ?? k Ctrl + p光标下移 ?? j C
分类:
其他好文 时间:
2016-02-26 23:36:51
阅读次数:
348
(1)Ctrl+Space 说明:内容助理。提供对方法,变量,參数,javadoc等得提示, 应运在多种场合,总之须要提示的时候可先按此快捷键。 注:避免输入法的切换设置与此设置冲突 (2)Ctrl+Shift+Space 说明:变量提示 (3)Ctrl+/ 说明:加入/消除//凝视,在eclips
分类:
系统相关 时间:
2016-02-26 20:40:45
阅读次数:
310
创建一个把表记录转换成SQL语句CREATEPROC[dbo].[up_tb_tosql]
@tbnamevarchar(200)=‘‘,<spanstyle="white-space:pre"> </span>--表名
@rownumvarchar(10)=‘1000‘<spanstyle="white-space:pre"> </span>--转换条数
as
BEGIN
--表名检查
IF@tbname=‘‘
B..
分类:
数据库 时间:
2016-02-26 19:13:00
阅读次数:
188
对于div,p等块级元素:正常文字的换行(亚洲文字和非亚洲文字)元素拥有默认的white-space:normal,当定义的宽度之后自动换行html正常文字的换行(亚洲文字和非亚洲文字)元素拥有默认的white-space:normal,当定义css#wrap{white-space:normal;
分类:
其他好文 时间:
2016-02-26 16:48:56
阅读次数:
117
PermGen space的全称是Permanent Generation space,是指内存的永久保存区域OutOfMemoryError: PermGen space从表面上看就是内存益出,解决方法也一定是加大内存。说说为什么会内存益出:这一部分用于存放Class和Meta的信息,Class在
分类:
编程语言 时间:
2016-02-26 15:29:40
阅读次数:
190
Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the last word
分类:
其他好文 时间:
2016-02-26 06:54:37
阅读次数:
187