maven war:war命令 本文翻译自: http://maven.apache.org/plugins/maven-war-plugin/war-mojo.htmlwar:war全路径: org.apache.maven.plugins:maven-war-plugin:3.1.0:war描述: 构建一个 WAR文件.特征:* [必须] 一个maven工程用于执行* [必须] artifacts的依赖范围: comp...
mac idea 所有全部快捷键列表 按字母排序 通过idea的api导出来的,所以可以保证是最全的快捷键按字母排序快捷键, 可以清楚的全面记忆快捷键idea "mac os X 10.5+" 版本的CMD+A$SelectAllCMD+BGotoDeclarationCMD+C$CopyCMD+DCompareTwoFilesCMD+DDiff.ShowDiffCMD+...
小清新网站标准 [size=large][b]小清新网站标准[/b][/size] 纯属YY[list][*] 采用微博登录[*] 提供iphone,android,html5版本[*] 采用小新清设计原则: 色块背景, 图文混排, 配色明亮, 合适留白[*] 新删改采用ajax请求, 支持滚动式翻页[*] restful url[*] icon式文字, 文字式按钮...
wget 整站下载 下载整站[code="shell"]wget -r -nv --restrict-file-names=nocontrol http://seavers.iteye.com/[/code]下载时可以加 -np, 不下载父目录[code="shell"]wget -r -nv --restrict-file-names=nocontrol -np http://seave...
wget 整站下载 下载整站[code="shell"]wget -r -nv --restrict-file-names=nocontrol http://seavers.iteye.com/[/code]下载时可以加 -np, 不下载父目录[code="shell"]wget -r -nv --restrict-file-names=nocontrol -np http://seave...
ubuntu ipconfig sudo vi /sbin/ipconfig[code="bash"]#! /bin/bashfor word in `ifconfig eth0 | grep "inet addr" | sed 's/ inet addr/addr/g'`; do echo $word | sed 's/:/\t/g'; doneroute -n | awk '/UG/ ...
ubuntu 注册 wins 以下是为了让ubuntu进入windows网络,实现互ping,互连1. ubuntu进入windows网络,必须安装samba[code="shell"]sudo apt-get install samba[/code]2. 修改/etc/samba/smb.conf, 将wins server修改为正确的ip 可以在windows上, 敲入ipconf...
ubuntu 五笔 ubuntu 使用五笔输入法ubuntu 13.10 测试通过[list][*]sudo apt-get install ibus-table-wubi[*]ibus-daemon -x -r -d[*]选择五笔输入,生效[/list]使用SHIFT+SPACE切换全半角使用SHIFT切换中英文输入...
pycompile not found sudo apt-get remove python 后, 出现了很多错误, 导致后续的无法进行pycompile not found解决方案: 删掉 /usr/bin/pycompile, 然后继续apt-get -f install / removegconf2 not found 错误sudo dpkg-reconfigure gconf2sudo apt...
pycompile not found sudo apt-get remove python 后, 出现了很多错误, 导致后续的无法进行pycompile not found解决方案: 删掉 /usr/bin/pycompile, 然后继续apt-get -f install / removegconf2 not found 错误sudo dpkg-reconfigure gconf2sudo apt...
maven的全局去除依赖 我们在maven中有时候希望将某个依赖包彻底去除如我们的系统使用的是spring3.1.2, 但是依赖的二方包中, 总是或多或少依赖了spring2.5.6, 希望有个方法, 能全局去除掉[code="java"] org.springframework spring 2.5.6.SEC03 provided[/code]以上方式, ...
Class.forName 返回 String[].class A: 如何通过Class.forName 返回 String[].classQ: Class.forName("[Ljava.lang.String;")因为 String[].class.getName() => "[Ljava.lang.String;"经测试, 反过来, 也成立因此: 在sqlmap-config.xml可以这样写[code="xml"...
ibatis typehandler 今天配置typehandler时碰到一个问题主要解决的问题是java.sql.SQLException: Cannot convert value '0000-00-00 00:00:00' from column 18 to TIMESTAMP解决方案: 替换掉系统默认的 typehandler, 抛出异常时,改为null[code="xml"] ...
下列签名无效: NODATA 1 NODATA 2 ubuntu下 apt-get update 时,报错下列签名无效: NODATA 1 NODATA 2原因是: 网络连接出错了, 对应的网址连不上去比如: archive.ubuntu.com, 连接不上, 可换成 cn.archive.ubuntu.com或者: 网络有代理, 什么的被拦截了...
ubuntu安装maven3 ubuntu 安装 maven3的方法就是[code="shell"] sudo apt-get install maven[/code]一直以来, 以为 install maven安装的是 maven1.x而 install maven2 安装的是 maven2.x而看到某些论坛说安装maven3, 要使用 ppa ,后来才知道错了install m...
git 与 svn 同步 svn 与 git 保持同步[list][*]先svn checkout url 把svn上的代码checkout下来[*]进入工程目录[*]git init[*]git remote add origin git@github.com:username/project.git[*]git pull[*]git branch --set-upstream mas...
nginx expires 绝对过期时间 [size=large]nginx expires 绝对过期时间[/size]参考: http://wiki.nginx.org/HttpHeadersModule[code="conf"] expires 24h; expires modified +24h; expires @15h30m; expires ...
curlftpfs 多数curlftpfs的例子是这样的[code="shell"]sudo curlftpfs –o rw,allow_other ftp://username:password@192.168.1.111 /ftp[/code]这种写法,有一个缺点,就是,当mount查看时, 会显示出密码换成另一种写法吧:[code="shell"]sudo curlf...
curlftpfs 多数curlftpfs的例子是这样的[code="shell"]sudo curlftpfs –o rw,allow_other ftp://username:password@192.168.1.111 /ftp[/code]这种写法,有一个缺点,就是,当mount查看时, 会显示出密码换成另一种写法吧:[code="shell"]sudo curlf...