上一页 1 2 3 4 5 6 7 ··· 19 下一页
摘要: * 1,sudo su 切换到root 用户 2,uname -a 查看系统版本 3,apt-get install tomcat7,如果能找到源,就可以下载安装 期间可能会有其他依赖,导致失败,可以按提示先下载其他,安装完后,tomcat7自动注册了服务 可以用 service tomcat7 s 阅读全文
posted @ 2017-06-10 19:26 野鹤闲人 阅读(1161) 评论(0) 推荐(0)
摘要: * tomcat 解决跨域, 1,据说tomcat7.0.40以上才有自带的CrosFilter,在WEB-INF/web.xml中配置即可: 2,tomcat7.0.40以下解决跨域,web.xml中 ,需要引入两个包,如果是用maven,则pom.xml中可以加上下面这句,保存后自动会下载: m 阅读全文
posted @ 2017-06-10 18:54 野鹤闲人 阅读(2054) 评论(0) 推荐(0)
摘要: * 安装SourceTree后,怎么绕过账号登录页面 1,C:\Users\Administrator\AppData\Local\Atlassian\SourceTree目录(具体情况按你的安装目录看)下手动创建 accounts.json, 内容是: 2,然后重新启动就直接进来了,希望有帮助 * 阅读全文
posted @ 2017-05-25 07:33 野鹤闲人 阅读(6168) 评论(0) 推荐(0)
摘要: * 廖雪峰 git 教程 git clone git地址 git pull 拉取文件到本地 如果需要提交文件,先push 废弃某个加在了缓冲区的文件git checkout -- aa.txt git添加一个文件 --git add aa.txt git撤销本地所有未提交的更改 [有效] 1. gi 阅读全文
posted @ 2017-05-12 20:36 野鹤闲人 阅读(232) 评论(0) 推荐(0)
摘要: * 文件结构: 代码如下: 1, 2, 3, 4, * 阅读全文
posted @ 2017-03-31 10:45 野鹤闲人 阅读(7564) 评论(1) 推荐(0)
摘要: * 本例子来自于Java核心技术卷一,14章多线程 功能:指定一个目录,查找 包含 keyword 的内容 有三个类: BlockingQueueTest:测试类 FileEnumerationTask:将目录下的文件递归遍历到 BlockingQueue<File> 中 SearchTask:从B 阅读全文
posted @ 2017-03-30 14:31 野鹤闲人 阅读(406) 评论(0) 推荐(0)
摘要: 使用ASpose Cells for java,将excel 转成pdf,会出现一个sheet分页成多页,而且规律奇怪 可以设置 资源地址:excel 和doc 转换成pdf需要的jar 参考Aspose官网文档:convert excel to pdf * 阅读全文
posted @ 2017-03-30 10:18 野鹤闲人 阅读(3542) 评论(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 野鹤闲人 阅读(241) 评论(0) 推荐(0)
摘要: * *** 注意,使用 on confict,需要这个建立约束,否则错误如下 [Err] ERROR: there is no unique or exclusion constraint matching the ON CONFLICT specification 具体建立 * 阅读全文
posted @ 2017-03-24 15:49 野鹤闲人 阅读(2907) 评论(0) 推荐(0)
摘要: * ServiceImpl.java Mapper.java Mapper.xml * 阅读全文
posted @ 2017-03-16 09:15 野鹤闲人 阅读(345) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 ··· 19 下一页