shell中存在一些通配符,为了要我们实现一些模糊匹配使用,主要分为以下几类:
(1)*:0个或多个连续的字符
(2)?:任何单个字符
(3)[abc]:出现在abc中的任何单个字符
(4)[^abc]:任何在abc中未出现的单个字符
(5)[!abc]:和(4)相同
(6){a,b,c}:可以扩展成多个参数,首先扩展为a、再次为b,最后为c...
分类:
其他好文 时间:
2014-07-30 20:49:54
阅读次数:
169
http://acm.hdu.edu.cn/showproblem.php?pid=1176
免费馅饼
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)
Total Submission(s): 25157 Accepted Submission(s): 852...
分类:
其他好文 时间:
2014-07-30 20:49:14
阅读次数:
207
http://acm.cug.edu.cn/JudgeOnline/problem.php?cid=1030&pid=0 Problem A: 高次同余Time Limit: 1 Sec Memory Limit: 128 MBSubmit: 43 So...
分类:
其他好文 时间:
2014-07-30 20:31:24
阅读次数:
226
System.Timers.Timer t = new System.Timers.Timer(5000); //设置时间间隔为5秒 private void Form1_Load(object sender, EventArgs e) { t.Elapsed += new System.Time....
分类:
其他好文 时间:
2014-07-30 20:24:24
阅读次数:
206
man命令相关的数字代表的意义1。通过man 7 man 查看 1 使用者在shell环境中可以操作的命令或可运行文件 如which 2 系统核心可呼叫的函数与工具等 3 一些常用的函数(function)与函式库(library),大部分为C的函式库(libc) 例如 malloc 4 装置文.....
分类:
系统相关 时间:
2014-07-30 20:08:44
阅读次数:
247
cysnc+lsync配置安装环境ubuntu12.041)两台机器安装配置:apt-getinstallxinetdcsync2lsyncdcat/etc/xinetd.d/csync2
servicecsync2
{
disable=no
port=30865
socket_type=stream
protocol=tcp
wait=no
user=root
passenv=PATH
server=/usr/sbin/csync2
server_args=-i
}2)no..
分类:
其他好文 时间:
2014-07-30 17:56:34
阅读次数:
1527
这是一个经常可以看到的页面跳转效果。使用到的是delaygotourl.首先要加入这样一个标签,数字5表示几秒后跳转。<spanid="time">5</span>秒钟后跳转,如不跳转,请点击下面链接这是方法部分:<scriptlanguage="JavaScript1.2"type="text/javascript">
functio..
分类:
Web程序 时间:
2014-07-30 17:49:44
阅读次数:
180
A - Colored Sticks
Time Limit:5000MS Memory Limit:128000KB 64bit IO Format:%I64d & %I64u
Submit Status
Description
You are given a bunch of wooden sticks. Each endpoint of each...
分类:
其他好文 时间:
2014-07-30 17:45:54
阅读次数:
246
The Accomodation of Students
Time Limit: 5000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 2244 Accepted Submission(s): 1056
Problem Description
There a...
分类:
其他好文 时间:
2014-07-30 17:45:44
阅读次数:
266
B - Balance
Time Limit:1000MS Memory Limit:30000KB 64bit IO Format:%I64d
& %I64u
Submit Status
Description
Gigel has a strange "balance" and he wants to poise it. Actually, t...
分类:
其他好文 时间:
2014-07-30 17:45:24
阅读次数:
271