非技术
文章平均质量分 75
tj_boce_gjp
乐观向上
展开
-
一道面试题
题目:有足够的水,有一个3升水桶和一个5升水桶,要求准确的称出4升水。(大概的意思就是这样)。 过程:把装满5升水桶中的水倒入3升的水桶中,这样5升水桶中就剩下2升水了,然后把3升水桶中的水倒掉,把5升水桶中的2升水,倒入3升的水桶中,然后把5升的水桶装满,向已经装了2升水的3升的水桶中倒水,直到3升的水桶装满,那么5升的水桶中就剩下4升水了。...原创 2014-06-25 13:00:23 · 92 阅读 · 0 评论 -
findbus 使用
配置FindBugs: 在Bugs Explorer视图中,选择项目à右键àProperties àFindBugsDetector Configuration在这里你可以选择所要进行检查的相关的Bug Pattern条目可以从Bug codes、Detector name、Detector description中看到相应的是要检查哪些方面的内容,你可以根据需要选择或去掉相应...原创 2014-07-30 17:18:31 · 284 阅读 · 0 评论 -
myeclipse8.5 安装svn
安装subclipse, MyEclipse8.5 SVN插件 1、从官网下载site-1.6.9.zip文件,网址是:subclipse.tigris.org, 2、从中解压出features与 plugins文件夹,复制到E:\MyEclipse\myPlugin\svn里面,其它的*.xml文件不要。 3、在 E:\MyEclipse\MyEclipse8.5\dropins下新建文...原创 2015-05-18 16:46:44 · 209 阅读 · 0 评论 -
idea 2017 添加tomcat和设置热部署
1.构建项目 ctr + F9 或者 build->build project [img]http://dl2.iteye.com/upload/attachment/0125/4680/d744f415-05ed-3b75-9458-41cb6d855236.png[/img]2.单击右上角的“edit configurtions ” 如图[img]http://d...原创 2017-06-15 15:05:32 · 235 阅读 · 0 评论 -
在idea中使用 maven插件mybatis-generator自动生成mybatis配置文件
1.在pom.xml文件中添加: org.mybatis.generator mybatis-generator-maven-plugin 1.3.2 false false 2.在项目src/main/reso...原创 2017-06-23 14:07:51 · 659 阅读 · 0 评论 -
隐藏 git Untracked files文件
在项目上,单击右键“git bash here”,然后输入 git status 发现有很多untracked files 文件,如图:[img]http://dl2.iteye.com/upload/attachment/0125/6558/a637fe19-4b00-3add-8212-7a68a1f7d897.png[/img]如何隐藏这些untracked fil...原创 2017-06-23 14:35:32 · 2196 阅读 · 1 评论 -
eclipse 中使用gradle 远程发布web程序到tomcat
1.在eclipse 中的 help ->Eclipse market 中下载 buildship ,如图: 2.安装后就可以看到 gradle tasks , 如果没有看到 可以在 window ->show view -> other 中找到 1: 双击 “war” 是打包程序。2:双击“deploy” 是否发布程序。...原创 2017-02-22 17:18:57 · 395 阅读 · 0 评论 -
nginx 配置https 并解决重定向后https协议变成了http的问题
配置如下:server { listen 80; server_name localhost; return 301 https://localhost$request_uri; charset UTF-8; location / { root html; ...原创 2018-08-03 14:06:20 · 4807 阅读 · 1 评论