sudo lsof -i : 9000COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAMEjava 61342 a 313u IPv6 0x1111111111111 0t0 TCP *:cslistener (LISTEN)然后根据PID杀进程:sudo kill -9 61342...
分类:
其他好文 时间:
2014-07-06 11:40:03
阅读次数:
192
Elevator
Time Limit: 1000ms Memory limit: 32768K 有疑问?点这里^_^
题目描述
The highest building in our city has only one elevator. A request list is made up with N positive numbers. The numbers de...
分类:
其他好文 时间:
2014-07-06 10:52:11
阅读次数:
188
题目:
* 将 电话号码 one two 。。。nine zero 翻译成1 2 。。9 0
*
* 中间会有double
*
* 例如
* 输入:OneTwoThree
* 输出:123
* 输入:OneTwoDoubleTwo
* 输出:1222
* 输入:1Two2
* 输出:ERRO...
分类:
其他好文 时间:
2014-07-06 09:24:44
阅读次数:
229
使用node的定时器timer实现经典的生产者消费者模型。...
分类:
Web程序 时间:
2014-07-06 09:21:34
阅读次数:
317
按他的方法排序,每次移动一个数到顶点,排成需要的序列。
Problem D: ShellSort
He made each turtle stand on another one's back
And he piled them all up in a nine-turtle stack.
And then Yertle climbed up. He sat down on the p...
分类:
其他好文 时间:
2014-07-06 09:15:42
阅读次数:
211
Given a string S,
find the longest palindromic substring in S.
You may assume that the maximum length of S is
1000, and there exists one unique longest palindromic substring.
给定一个字符串S,找出其中的最长回文...
分类:
其他好文 时间:
2014-07-06 00:15:15
阅读次数:
240
罗列一下有关oprocd的知识点
oprocd是oracle在rac中引入用来fencing io的
在unix系统下,如果我们没有采用oracle之外的第三方集群软件,才会存在oprocd进程
在linux系统下,只有在10.2.0.4版本后,才会具有oprocd进程
在window下,不会存在oprocd 进程,但是会存在一个oraFenceService服务,用来实现相同的功能,该服...
分类:
数据库 时间:
2014-07-05 23:00:47
阅读次数:
461
这个函数是对 linux C函数 initgroups() 的包装 node.js 官方文档很含糊,还是看 linux C函数文档的解释!很清楚明白。
The initgroups() function uses the getgrouplist(3) function to calculate
the supplementary group IDs for the use...
分类:
其他好文 时间:
2014-07-05 22:52:21
阅读次数:
285
1.浮点数操作npminstallfloat2.MD5加密类npminstallMD53.xml解析类1npminstallelementtree4.转换字符串大小写1npminstallconvert_str5.SoapClient1npminstallsoap6.字符串操作类1npminstal...
分类:
Web程序 时间:
2014-07-05 21:46:52
阅读次数:
337
Description: Given two strings, write a method to decide if one is a permutation of the other.We could use the same idea from CTCI 1.1. The only diffe...
分类:
其他好文 时间:
2014-07-05 21:43:01
阅读次数:
231