[lvhongmin@AY1401201736089361adZ start_svr]$ cat killall_svr.sh
#!/bin/bash
unrun[0]=''
unnum=0
runnum=0
#进程的名字
array[${#array[*]}]=paiyouQuan.svr
array[${#array[*]}]=jjm.cornucopia.svr...
分类:
其他好文 时间:
2014-06-05 08:04:29
阅读次数:
277
class Solution {private: static int
compare(const Interval& a, const Interval& b) { return a.start
merge(vector &intervals) { vector...
分类:
其他好文 时间:
2014-06-03 12:32:23
阅读次数:
228
You have decided to start up a new social
networking company. Other existing popular social networksalready have billions
of users, so the only way to...
分类:
其他好文 时间:
2014-05-31 04:34:45
阅读次数:
275
本文体验在MVC中使用ASP.NET Identity 2.0,体验与用户身份安全有关的功能:
→install-package Microsoft.AspNet.Identity.Samples -Version 2.0.0-beta2 -Pre
安装后,在App_Start,Controller...
分类:
Web程序 时间:
2014-05-31 04:30:44
阅读次数:
461
题目:输入一个整数s,打印出全部和为s的连续整数序列(至少含有2个数)。比如输入9,则输出2、3、4和4、5两个序列方案一:因为序列至少要2个数,则两个数上限值为(1+s)/2,我们能够枚举该序列的起点和终点求全部满足的序列。时间复杂度为O(n^2),效率比較低方案二:我们设置两个指针start和e...
分类:
其他好文 时间:
2014-05-31 04:07:27
阅读次数:
282
05-29 21:23:28.406: E/AndroidRuntime(23636):
java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.***.Main}: java.lang.IllegalStateE...
分类:
其他好文 时间:
2014-05-30 21:14:57
阅读次数:
376
Given a binary tree, find the maximum path
sum.The path may start and end at any node in the tree.For example:Given the
below binary tree, 1 ...
分类:
其他好文 时间:
2014-05-30 16:10:54
阅读次数:
185
cron是一个linux下的定时执行工具,可以在无需人工干预的情况下运行作业。由于Cron
是Linux的内置服务,但它不自动起来,可以用以下的方法启动、关闭这个服务: 1.cron的启动/sbin/service crond start
//启动服务/sbin/service crond stop...
分类:
系统相关 时间:
2014-05-30 06:07:07
阅读次数:
312
docker基础教程Docker使用基本教程Docker中文文档1.启动docker--有两种方式如果你是二进制安装的,你可以使用sudo
/docker -d &来启动如果你是apt-get安装的你可以用service docker start开启2.搜索安装镜像官方安装方式docker
pull...
分类:
其他好文 时间:
2014-05-29 18:57:30
阅读次数:
788
intent大全:1.从google搜索内容Intent intent = new
Intent();intent.setAction(Intent.ACTION_WEB_SEARCH);intent.putExtra(SearchManager.QUERY,"searchString")start...
分类:
移动开发 时间:
2014-05-29 15:41:29
阅读次数:
430