第一步:安装语言包进入 “System Settings”找到 “Language Support” 那一项,点击进入选择 “Install/Remove Languages”找到 “Chinese (simplified)” 那一项,把后面到勾打上然后点击 “Apply Changes” 等待一段...
分类:
其他好文 时间:
2014-07-22 22:56:33
阅读次数:
224
在修改/etc/apt/sources.list或/etc/apt/preferences之後运行该命令。此外您需要定期运行这一命令以确保您的软件包列表是最新的。apt-get install packagename安装一个新软件包(参见下文的aptitude)apt-get remove pack...
分类:
其他好文 时间:
2014-07-22 22:54:35
阅读次数:
158
接口Map 一、Map功能 1.添加 put(K key, V value) putAll(Map); 2.删除 clear() remove(Object key); 返回对应的值 3.判断 containsKey(Object key) containsValue(Object value) i...
分类:
其他好文 时间:
2014-07-18 15:06:12
阅读次数:
223
The key of this problem is about details especially boundary conditions.class Solution {public: ListNode *deleteDuplicates(ListNode *head) { ...
分类:
其他好文 时间:
2014-07-18 14:36:54
阅读次数:
189
In an attempt to remove duplicate elements from list, I go to the lengths to take advantage of methods in the java api. After investiagting the document of java api, the result is so satisfying that...
分类:
编程语言 时间:
2014-07-18 14:02:00
阅读次数:
282
Follow up for "Remove Duplicates":What if duplicates are allowed at mosttwice?For example,Given sorted array A =[1,1,1,2,2,3],Your function should ret...
分类:
其他好文 时间:
2014-07-17 22:24:40
阅读次数:
216
// remove instances with missing class Instances newData = new Instances(data); newData.deleteWithMissingClass(); m_structure = new Instance...
分类:
其他好文 时间:
2014-07-17 22:19:19
阅读次数:
332
创建软件RAID的指令是mdadm,允许将任何块设备做成RAID。mdadm是一个模式化的命令,有如下几种工作模式:创建模式:Create对应的选项:-C或--create管理模式:Manage对应的选项:--add、--fail、--remove监控模式:Monitor对应的选项:-F或--monitor增长模式:Grow对应的选项:..
分类:
其他好文 时间:
2014-07-17 15:35:18
阅读次数:
350
/** *删除数组指定下标或指定对象 */ Array.prototype.remove=function(obj){ for(var i =0;i 0){ if(randNum!=randomArray[j-1]){ randomArray[j]=randNum; j++; ...
分类:
Web程序 时间:
2014-07-16 17:58:47
阅读次数:
217
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.
For example,
Given 1->2->3->3->4->4->5, return 1->2->5.
Given 1->1-...
分类:
其他好文 时间:
2014-07-16 17:30:52
阅读次数:
230