09 2014 档案

摘要:一、关于scpscp是英文secure copy (remote file copy program)的简称,主要用于在两台主机之间通过网络拷贝文件。scp使用ssh协议进行数据传递,其认证方式和安全性同ssh一致。二、ssh客户端的安装在使用过程中如果出现提示“-bash: scp: comman... 阅读全文
posted @ 2014-09-29 14:49 yshy 阅读(791) 评论(0) 推荐(0) 编辑
摘要:/** * 比较两个日期的大小: * 2 发生异常 * 1 firstDate>secondDate * 0 firstDate==secondDate * -1 firstDatesDate.getTime()){ result... 阅读全文
posted @ 2014-09-28 14:57 yshy 阅读(671) 评论(0) 推荐(0) 编辑
摘要:(1)下载链接http://pinyin.sogou.com/linux/(2)清除fcitx$sudo apt-get purge fcitx*(3)使用deb安装工具gdebi,这个工具能解决所有依赖问题$sudo apt-get install gdebi(4)进行安装以及配置$gdebi s... 阅读全文
posted @ 2014-09-26 07:50 yshy 阅读(423) 评论(0) 推荐(0) 编辑
摘要:HttpClient client = new HttpClient(); GetMethod get = new GetMethod(URL); get.setRequestHeader("Content-Type","application/x-www-fo... 阅读全文
posted @ 2014-09-24 11:14 yshy 阅读(3545) 评论(0) 推荐(0) 编辑
摘要:看到《MongoDB 权威指南》第二版P30提到了一个batchInset的插入方法,对于一次性插入大量数据时可以提高性能。按照书上的列子,却提示错误:本书是基于MongoDB V2.4.0进行讲解,而我的测试环境是V2.4.9。此帖中http://f.dataguru.cn/thread-2521... 阅读全文
posted @ 2014-09-22 08:07 yshy 阅读(1371) 评论(0) 推荐(0) 编辑
摘要:安装参考:http://www.postgresql.org/download/linux/ubuntu/y@y:~$ sudo apt-get install postgresql-9.3 postgresql-client-9.3 postgresql-contrib-9.3 postgre... 阅读全文
posted @ 2014-09-19 15:33 yshy 阅读(1378) 评论(0) 推荐(0) 编辑
摘要:我本地Tomcat版本:Apache Tomcat/8.0.3.0服务器端:Apache Tomcat/6.0.37JVM都是:1.7.0_40-b43之前项目运行正常,在我更新了一些模块后,重新部署(导出WAR包)出现问题,但是在我本机上测试没有问题,服务端提示错误如下:The following... 阅读全文
posted @ 2014-09-15 17:42 yshy 阅读(484) 评论(0) 推荐(0) 编辑
摘要:#include#includeint compare_integers(void const *a, void const *b){ register int const *pa = a; register int const *pb = b; return *pa > ... 阅读全文
posted @ 2014-09-14 09:37 yshy 阅读(468) 评论(0) 推荐(0) 编辑
摘要:官网:http://robomongo.org/提供Mac 、Windows 、Linux三种版本;robomongo界面简洁功能强大人性化; 阅读全文
posted @ 2014-09-02 13:39 yshy 阅读(315) 评论(0) 推荐(0) 编辑
摘要:在Eclipse中新建一个Clojure工程clj01clojure 操作mysql需要依赖mysql-connector-java、clojure-contrib与java.jdbc三个jar包。project.clj配置信息如下:配置完:dependencies 保存,系统会自动下载所配置的ja... 阅读全文
posted @ 2014-09-01 16:16 yshy 阅读(529) 评论(0) 推荐(0) 编辑
摘要:参考:http://doc.ccw-ide.org/documentation.html#install-as-plugin安装Eclipse Clojure插件这里安装的插件是Counterclockwise,可以通过Eclipse自动安装软件的功能直接安装,具体如下:Eclipse菜单Help-... 阅读全文
posted @ 2014-09-01 13:09 yshy 阅读(712) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示