上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页

2014年3月18日

摘要: Linux系统的iconv指令是一个很好的文件编码转换工具,支持的编码范围广,使用方便,例如将一个utf-8编码的文件(名为tic)转换为gbk编码:iconv -f utf-8 -t gbk tic > ticgbk可以用"iconv -l"查看支持的编码列表。另:用file -i 可以查看一个文件的编码方式。 阅读全文
posted @ 2014-03-18 08:04 leechau 阅读(111) 评论(0) 推荐(0)
摘要: 在window server 2003 下,利用apache2.2.11+tomcat6+terracotta 群集不能复制session(http://forums.terracotta.org/forums/posts/list/2342.page) 其中提到更新服务器配置的方法: bin/tim-get.sh upgrade tc-config.xml 实际upgrade应为update; ... 阅读全文
posted @ 2014-03-18 08:04 leechau 阅读(183) 评论(0) 推荐(0)
摘要: Backup Specified RevisionBackup specified revision (here is 20):$ cd /opt/svnRepo$ svnadmin dump deployTest/ -r 20 > deploy-r20.dumpRestore backup:$ mv deploy-r20.dump /opt/Gcp/tmp$ cd /opt/Gcp/tmp$ s... 阅读全文
posted @ 2014-03-18 08:04 leechau 阅读(445) 评论(0) 推荐(0)
摘要: Use logger in a non-static context:Logger logger = LoggerFactory.getLogger(this.getClass().getName());Use logger in a static context(for example in main() method):static Logger logger = LoggerFactory.... 阅读全文
posted @ 2014-03-18 08:04 leechau 阅读(113) 评论(0) 推荐(0)
摘要: 测试代码定时器类package business.util; import java.util.concurrent.Executors; import java.util.concurrent.ScheduledExecutorService; import java.util.concurrent.ScheduledFuture; import java.util.concurrent... 阅读全文
posted @ 2014-03-18 08:04 leechau 阅读(368) 评论(0) 推荐(0)
摘要: jdk1.6.0_35/src.zip, only java package is reviewd(full package review caused a OutofMemory on java heap size).Checkstyle ReviewtyRules.xml: ... 阅读全文
posted @ 2014-03-18 08:04 leechau 阅读(259) 评论(0) 推荐(0)
摘要: Synergy version: 1.4.12ServerDownload and install synergy-1.4.12-Linux-i686.deb on Mint 14;Run it under Desktop mode (in [Edit -> Settings -> Advanced -> Process mode]);Click "Configure Server", drag ... 阅读全文
posted @ 2014-03-18 08:04 leechau 阅读(364) 评论(0) 推荐(0)
摘要: Host Machine[root@bocoty49 ~]# lsb_release -aLSB Version: :base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarc... 阅读全文
posted @ 2014-03-18 08:04 leechau 阅读(193) 评论(0) 推荐(0)
摘要: gvim的文本比较功能很强,命令行用法:gvim -d file1 file2,hg自带的hg diff没有颜色标示,含义也不够清晰,所以需要用vim的diff代替它,实现方法是在全局配置文件中增加:[extensions] hgext.extdiff = [extdiff] cmd.vdiff = D:\Apps\Vim\vim73\gvim.exe opts.vdiff = -d 使用... 阅读全文
posted @ 2014-03-18 08:04 leechau 阅读(482) 评论(0) 推荐(0)
摘要: During unit test I encounter a "java.lang.NoSuchMethodError: net.sourceforge.cobertura.coveragedata.ClassData.touchJump(IIZ)V" exception. I find there are 2 cobertura.jar in classpath. That jar in /us... 阅读全文
posted @ 2014-03-18 08:04 leechau 阅读(225) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 17 下一页

导航