1、按ALT+CTRL+F1切换到字符界面(Linux实体机) 如果是VMware虚拟机安装的Linux系统,则切换到字符界面的时候需要以下操作 按下ALT+CTRL+SPACE(空格),ALT+CTRL不松开,再按F1。这样就可以切换到字符界面了。2、按ALT+CTRL+F7切换到图形界面(Lin...
分类:
其他好文 时间:
2014-07-07 12:03:39
阅读次数:
231
1、在列表项和按钮上禁用文本截断 如果你的列表项或者按钮上是一个很长的文本,它将会被jQuery Mobile自动截断,要禁用这个截断设置,需要在CSS选择器上添加属性"white-space:normal"。例如,在按钮禁止截断: .ui-btn-text{ white-space:normal;...
分类:
Web程序 时间:
2014-07-07 09:37:53
阅读次数:
225
Sort a linked list in O(n log n) time using constant space complexity.merge sort、heap sort和quick sort都是O(nlgn),但是mergesort和quicksort都是递归的,不是constant s...
分类:
其他好文 时间:
2014-07-06 21:07:41
阅读次数:
210
CSLM工具(continuous space language model toolkit)用于训练NNLM,支持SRILM、KENLM(默认)语言模型工具,CUDA加速,CSTM统计机器翻译。本文粗略介绍在SRILM与CUDA环境下配置CSLM工具过程。操作系统为Ubuntu64bit 13.0...
分类:
其他好文 时间:
2014-07-05 18:32:34
阅读次数:
670
Determine whether an integer is a palindrome. Do this without extra space.
Some
hints:
Could negative integers be palindromes? (ie, -1)
If you are thinking of converting the integer to string...
分类:
其他好文 时间:
2014-07-05 10:44:29
阅读次数:
227
grep命令详解及相关事例一.匹配字符.匹配任意单个字符[]匹配指定范围内的任意字符[^]匹配飞指定范围内的任意字符[:alpha:]字母字符[:lower:]小写字母字符[:upper:]大写字母字符[:digit:]数字[:alnum:]字母数字字符[:space:]空白字符(禁止打印),如回车符、换行符、竖直制表符..
分类:
其他好文 时间:
2014-07-04 06:07:39
阅读次数:
207
题目:Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space fo...
分类:
其他好文 时间:
2014-07-03 20:58:08
阅读次数:
248
不戚戚于贫贱,不汲汲于富贵 ---五柳先生Given a stringsand a dictionary of wordsdict, determine ifscan be segmented into a space-separated sequence of one or more dict.....
分类:
其他好文 时间:
2014-07-03 20:21:27
阅读次数:
225
1、错误描述
严重:Exception occurred during processing request:null
java.lang.reflect.InvocationTargetException.
Caused by:java.lang.OutOfMemoryError:Java heap space.
2、错误原因
3、解决办法...
分类:
其他好文 时间:
2014-07-03 18:03:46
阅读次数:
171
The Story:Last week, I found one of our embedded arm linux device ran out of flash space( totally only 128M for apps and OS).After checking for a whil...
分类:
其他好文 时间:
2014-07-02 14:30:13
阅读次数:
317