03 2017 档案

摘要:* 文件结构: 代码如下: 1, 2, 3, 4, * 阅读全文
posted @ 2017-03-31 10:45 野鹤闲人 阅读(7562) 评论(1) 推荐(0)
摘要:* 本例子来自于Java核心技术卷一,14章多线程 功能:指定一个目录,查找 包含 keyword 的内容 有三个类: BlockingQueueTest:测试类 FileEnumerationTask:将目录下的文件递归遍历到 BlockingQueue<File> 中 SearchTask:从B 阅读全文
posted @ 2017-03-30 14:31 野鹤闲人 阅读(404) 评论(0) 推荐(0)
摘要:使用ASpose Cells for java,将excel 转成pdf,会出现一个sheet分页成多页,而且规律奇怪 可以设置 资源地址:excel 和doc 转换成pdf需要的jar 参考Aspose官网文档:convert excel to pdf * 阅读全文
posted @ 2017-03-30 10:18 野鹤闲人 阅读(3538) 评论(0) 推荐(0)
摘要:* 安装hexo$ cd d:/hexo$ npm install hexo-cli -g$ hexo init blog$ cd blog$ npm install$ hexo g # 或者hexo generate$ hexo s # 或者hexo server,可以在http://localh 阅读全文
posted @ 2017-03-24 17:42 野鹤闲人 阅读(238) 评论(0) 推荐(0)
摘要:* *** 注意,使用 on confict,需要这个建立约束,否则错误如下 [Err] ERROR: there is no unique or exclusion constraint matching the ON CONFLICT specification 具体建立 * 阅读全文
posted @ 2017-03-24 15:49 野鹤闲人 阅读(2903) 评论(0) 推荐(0)
摘要:* ServiceImpl.java Mapper.java Mapper.xml * 阅读全文
posted @ 2017-03-16 09:15 野鹤闲人 阅读(343) 评论(0) 推荐(0)
摘要:* 背景:在eclipse中,先svn检出项目,发现项目没有grable的图标,于是删除项目(不删除实际文件夹),然后import- gradle project,导入后项目会显示gradle的图标了, 然后先build path,添加jre 和 tomcat,这个做好后,还有很多其他问题: 1,右 阅读全文
posted @ 2017-03-14 12:00 野鹤闲人 阅读(3845) 评论(0) 推荐(0)
摘要:* 系统环境: cat /etc/issueUbuntu 16.04.1 LTS \n \l python --versionPython 2.7.12 先看命令 pip install numpy pip install pandas 我是按着tushare的要求 pip install lxml 阅读全文
posted @ 2017-03-03 12:03 野鹤闲人 阅读(911) 评论(0) 推荐(0)