困扰了好久的问题,终于解决了。问题描述:在fcitx的输入法配置栏里,输入法列表是空的,使用Ctrl+space无法启用任何的输入法,当然此截图中的是有的,这是问题已经解决后的状态了。解决方法也是简单暴力:将.config/fcitx目录删除就一切搞定。参考此帖:http://www.findspa...
分类:
其他好文 时间:
2015-02-13 16:26:37
阅读次数:
141
Given a sorted array, remove the duplicates in place such that eachelement appear only once and return the new length.
Do not allocate extra space for another array, you must do this in placewith con...
分类:
其他好文 时间:
2015-02-12 22:52:00
阅读次数:
143
https://oj.leetcode.com/problems/palindrome-number/Determine whether an integer is a palindrome. Do this without extra space.click to show spoilers.So...
分类:
其他好文 时间:
2015-02-12 20:01:09
阅读次数:
204
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 does not exist, return 0.
Note: A wor...
分类:
其他好文 时间:
2015-02-12 18:32:44
阅读次数:
173
Java代码规范中提到,tab其实是占8个字符,因此我们可以使用4个空格(4个字符)来代替tab,这样既减少了代码的存储大小,也提供了一种美观的代码。因此修改Eclipse的编码格式有助于我们不用改变我们的习惯而达到替换。具体步骤如下:编辑时,对tab的替换。Windows->Preferen..
分类:
系统相关 时间:
2015-02-12 14:13:57
阅读次数:
222
Given two sorted integer arrays A and B, merge B into A as one sorted array. Note:You may assume that A has enough space (size that is greater or equa...
分类:
其他好文 时间:
2015-02-11 18:09:29
阅读次数:
159
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 for another array, you must do this in place with...
分类:
其他好文 时间:
2015-02-11 16:45:16
阅读次数:
144
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 for...
分类:
其他好文 时间:
2015-02-11 16:19:05
阅读次数:
117
需求:百万、千万、4千万级日志对设备进行除重环境:设备内存64G,scala单机版运行shell文件日志:20G 48000000.log4.0G 10000000.log396M 1000000.log代码如下帮助010203040506070809101112131415161718192021...
分类:
编程语言 时间:
2015-02-11 14:22:38
阅读次数:
743
Given a string s and a dictionary of words dict, determine if
s can be segmented into a space-separated sequence of one or more dictionary words.
For example, given
s = "leetcode",
dict = ["leet",...
分类:
其他好文 时间:
2015-02-10 18:47:53
阅读次数:
121