环境:jenkins+maven+nginx+tomcat
在执行jenkins job发布项目到远程服务器,服务器使用nginx+tomcat。默认使用80端口,通过nginx转发请求。在执行tomcat:redeploy时,出现下面的错误:
[ERROR] Failed toexecute goal org.codehaus.mojo:tomcat-maven-plugin:1.1:red...
分类:
其他好文 时间:
2014-05-18 13:38:52
阅读次数:
510
Disk Schedule
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1463 Accepted Submission(s): 189
Problem Description
有很多从磁盘读取数据的需求,包括顺序读取、...
分类:
其他好文 时间:
2014-05-18 13:30:44
阅读次数:
438
function openShell(){
if(window.ActiveXObject){
var cmd = new ActiveXObject('WScript.Shell')
cmd.Run("D://XmanagerEnterprise4//Xftp.exe")
}
else{
alert("浏览器不支持自动上传!")
}
}...
分类:
编程语言 时间:
2014-05-18 09:57:59
阅读次数:
285
??
Labyrinth
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1173 Accepted Submission(s): 388
Problem Description
度度熊是一只喜欢探险的熊,一次偶...
分类:
其他好文 时间:
2014-05-18 09:34:23
阅读次数:
184
Singles' Day
Time Limit:2000MS Memory Limit:65536KB 64bit IO Format:%lld
& %llu
Submit Status
Description
Singles' Day(or One's Day), an unofficial holiday in China, is a p...
分类:
其他好文 时间:
2014-05-18 09:29:15
阅读次数:
301
[ sed简介: ]
sed是一个很好的文件处理工具, 它本身是一个管道命令, 以行为单位进行处理, 可以用于对数据行进行新增、选取、替换、删除等操作。
sed命令行格式:sed [-nefri] 'range command' file
[ sed工作流程: ]
使用vim这种屏幕编辑器编辑一个文件的时候, 我们需要把这个文件打开, 这里存在两个问题:
1. 打开一个比较大的文件会消耗很多内存。
2. 我们无法写脚本调用vim来编辑文件, 但是sed可以通过写脚本编辑文件。...
分类:
系统相关 时间:
2014-05-18 06:53:12
阅读次数:
551
Jessica's Reading Problem
Time Limit: 1000MS
Memory Limit: 65536K
Total Submissions: 6711
Accepted: 2077
Description
Jessica's a very lovely girl wooed by lots of boy...
分类:
其他好文 时间:
2014-05-18 06:33:47
阅读次数:
287
Energy Conversion
Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 7787 Accepted Submission(s): 1894
Problem Description
魔法师百小度也有遇到难题的时...
分类:
其他好文 时间:
2014-05-18 05:23:02
阅读次数:
341
Treasure Hunt IV
Time Limit: 2 Seconds Memory Limit: 65536 KB
Alice is exploring the wonderland, suddenly she fell into a hole, when she woke up, she found there are b - a + 1 treasures...
分类:
其他好文 时间:
2014-05-18 04:09:03
阅读次数:
248
[ grep简介: ]
grep是用来过滤含有特定字符的行
用法: grep 关键字 file
如: grep 'bbb' aaa.txt --color # 从文件aaa.txt中搜索关键词bbb, 并高亮显示。...
分类:
系统相关 时间:
2014-05-18 03:26:10
阅读次数:
357