运行环境:Ubuntu12.04PC提前安装库:flex,bison,libncureses5-dev,texinfo,这些库提前apt-get
install。需要重新安装:gawk(先apt-get remove mawk, 然后apt-get install gawk,工具链构建完成后可恢复)...
分类:
其他好文 时间:
2014-05-09 13:27:20
阅读次数:
686
When you’re running Ubuntu and updating your
system frequently, there is a high chance that older kernels that are no longer
needed are still installe...
分类:
其他好文 时间:
2014-05-09 13:19:09
阅读次数:
311
两次通过,考虑漏了一种情况:input: {1}, 1,
这种情况的output是null,应特殊处理; 同时,另外一个问题是:当要被删除的元素是最后一个元素的时候,我的方法又只能从头找起,不够简洁 1 /** 2 *
Definition for singly-linked list. 3 *.....
分类:
其他好文 时间:
2014-05-09 08:57:45
阅读次数:
278
一
Sort组件Sort组件是用来排序,我们在做join时也必须进行排序,排序的键值作为数据源关联的key而在sort组件中有一个选项“Remove Rows
with duplicate sort values”经过测试,这个选项的作用是只保留不重复的sort key值,而其他的列随机出现(有一个...
分类:
其他好文 时间:
2014-05-09 05:31:26
阅读次数:
316
题目链接简单题,就是从单链表中删除重复元素。附上代码: 1 /** 2 * Definition
for singly-linked list. 3 * struct ListNode { 4 * int val; 5 * ListNode *next; 6
* L...
分类:
其他好文 时间:
2014-05-08 18:02:52
阅读次数:
338
Foreword Need to remove a batch of VMs, which
named with same prefix or belong to same Cloud Service. After remove VMs, should
automatically remove re...
分类:
其他好文 时间:
2014-05-08 09:18:56
阅读次数:
265
卸载LDAP1、注销服务器到目录/ldap/iamldap/dscc6/bin下# ./dsccreg
remove-server -h 主机名 /ldap/iamldap/var/dscc6/dcc/iamEnter DSCC administrator’s
password:/ldap/iaml...
分类:
其他好文 时间:
2014-05-07 17:22:58
阅读次数:
363
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...
分类:
其他好文 时间:
2014-05-07 14:07:56
阅读次数:
345
Given a sorted linked list, delete all nodes
that have duplicate numbers, leaving onlydistinctnumbers from the original
list.For example,Given1->2->3-...
分类:
其他好文 时间:
2014-05-07 13:42:51
阅读次数:
278
工欲善其事,必先利其器。对IDE的熟练程度,真能影响开发效率 。
先普及下常识,以后有新的收获再补充。
最常用快捷键:
Ctrl+E Delete current line
Ctrl-Shift-Up/D Copy lines up/down
Ctrl-/ Add/remove comment lines
Alt-Shift-F Format select...
分类:
Web程序 时间:
2014-05-06 19:54:58
阅读次数:
486