当前进程消亡时主要做了三件大事:释放当前进程占用的资源;为当前进程的子进程重新寻找“养父”;通知当前进程的父进程,释放当前进程剩下的资源。...
分类:
系统相关 时间:
2014-05-01 22:09:35
阅读次数:
607
Linux
shell脚本中shift的用法说明
shift命令用于对参数的移动(左移)。
示例1:依次读取输入的参数并打印参数个数:
run.sh:
#!/bin/bash
while [ $# != 0 ];do
echo "第一个参数为:$1,参数个数为:$#"
shift
done
输入如下命令运行:run.sh a b c d e...
分类:
系统相关 时间:
2014-05-01 22:06:54
阅读次数:
475
答:这样的代码是在jsp里出现的吧, 那么他的含义就是为了得到一个路径,
做动态网站时,需要提交form表单 在表单的action里面就会这样来写 action="/add.do"
这样来提交到相应的servlet中去,这样可以避免路径的错误,而采用这样的相对路径会更好些答:request.getC...
分类:
其他好文 时间:
2014-05-01 21:19:06
阅读次数:
351
activating vt-x from biosIf you have HP
EliteBook 8770w do:Shutdown your mobile workstation.Push startup buttonpush ESC
keypush F10 to open BIOS setup...
分类:
其他好文 时间:
2014-05-01 21:08:36
阅读次数:
512
Problem DescriptionIgnatius has just come back
school from the 30th ACM/ICPC. Now he has a lot of homework to do. Every teacher
gives him a deadline o...
分类:
其他好文 时间:
2014-05-01 20:49:40
阅读次数:
563
题目: 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 lo...
分类:
其他好文 时间:
2014-05-01 20:07:13
阅读次数:
429
这个五月份,what will to
do?1、软件设计师考试2、英语六级考试3、暑假的实习前几天的教训,不会忘记,现在总会有那么一种模式叫做“许冰模式”。所有的语言都是苍白的,即使我们可以尽情的洋洋洒洒的描述,但是,最后提取的关键字,就是那几个名词,刺眼的名词,我会用实际行动去表达。还是那一句:做...
分类:
其他好文 时间:
2014-05-01 19:56:40
阅读次数:
334
Determine whether an integer is a palindrome.
Do this without extra space.Some hints:Could negative integers be palindromes?
(ie, -1)If you are thinki...
分类:
其他好文 时间:
2014-05-01 19:48:19
阅读次数:
344
ACM 二分搜索 Can you solve this equation? hdu2199 精度判定...
分类:
其他好文 时间:
2014-05-01 17:58:48
阅读次数:
337
1、
??
Reorder List
Given a singly linked list L: L0→L1→…→Ln-1→Ln,
reorder it to: L0→Ln→L1→Ln-1→L2→Ln-2→…
You must do this in-place without altering the nodes' values.
For example,
Given {1,2...
分类:
其他好文 时间:
2014-04-29 13:16:21
阅读次数:
250