我们常常需要在文本过长时显示,将超出显示成省略号:思想为:首先设置宽度,然后让超出的部分隐藏如果有超出则在最后显示省略号让文本不换行具体css代码为:.title{width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowra...
分类:
Web程序 时间:
2016-01-19 12:17:04
阅读次数:
149
本文主要描述Oracle备库日志与主库日志之间有gap,切主库这部分gap的归档日志已经删除或丢失,如何在不重建备库的情况下,恢复备库。 欢迎转载,请注明作者、出处。 作者:张正 blog:http://space.itpub.net/26355921 QQ:17603...
分类:
数据库 时间:
2016-01-19 12:05:34
阅读次数:
283
题目链接:space=1&num=1728" target="_blank">http://acm.timus.ru/problem.aspx?space=1&num=17281728. Curse on Team.GOVTime limit: 0.5 secondMemory limit: 64 ...
分类:
其他好文 时间:
2016-01-19 12:00:14
阅读次数:
167
Given arotatedsorted array, recover it to sorted array in-place.Example[4, 5, 1, 2, 3]->[1, 2, 3, 4, 5]ChallengeIn-place, O(1) extra space and O(n) ti...
分类:
其他好文 时间:
2016-01-19 10:37:48
阅读次数:
129
more命令,功能类似cat,cat命令是整个文件的内容从上到下显示在屏幕上。more会以一页一页的显示方便使用者逐页阅读,而最基本的指令就是按空白键(space)就往下一页显示,按b键就会往回(back)一页显示,而且还有搜寻字串的功能 ,more命令从前向后读取文件,因此在启动时就加载整个文.....
分类:
系统相关 时间:
2016-01-18 22:33:51
阅读次数:
301
Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a...
分类:
其他好文 时间:
2016-01-18 22:30:22
阅读次数:
219
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -o-text-overflow: ellipsis; -webkit-text-overflow: ellipsis...
分类:
其他好文 时间:
2016-01-18 10:24:37
阅读次数:
132
1,Fragmentation分为Internal Fragmentationand External Fragmentation。Internal fragmentation 是指(index or data)page内部的fragmentation,在Page内部存在没有使用的space。Int...
分类:
其他好文 时间:
2016-01-16 19:24:56
阅读次数:
177
Linked List Cycle: Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? 题意:判断一个链表中是否存在环。 思路:...
分类:
其他好文 时间:
2016-01-15 23:10:41
阅读次数:
171
得出三点结论 一,java.lang.OutOfmemoryError:PermGenSpace报错一种可能是tomcat内存不足,一种可能是jvm内存不足。对于后者,有种可能性是,myeclipse里用的还是自带的jdk。 二,web无法启动,有一种可能是web项目里面不是webroot而是web...
分类:
编程语言 时间:
2016-01-15 20:09:43
阅读次数:
202