上一页 1 2 3 4 5 6 7 8 ··· 17 下一页
2019年1月2日
摘要: linux 复制命令 cp: 如果是文件夹需要加 -r即:cp -r 文件夹路径 目标路径 查看端口占用情况: netstat -apn|grep 端口号 查看进程命令: ps -ef|grep 进程号或者应用名 杀死进程: kill -9 pid 赋权 : chmod 777用户 (具体权限看情况 阅读全文
posted @ 2019-01-02 10:02 改变一下 阅读(130) 评论(0) 推荐(0)
2018年12月20日
摘要: http://archive.apache.org/dist/tomcat/tomcat-7/ 修改对应版本号即可比如 tomcat-8 阅读全文
posted @ 2018-12-20 17:37 改变一下 阅读(191) 评论(0) 推荐(0)
2018年11月28日
摘要: 在日志格式后面加上 $request_body 配置信息 log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http... 阅读全文
posted @ 2018-11-28 12:42 改变一下 阅读(5310) 评论(0) 推荐(0)
2018年11月25日
摘要: package www.demo.Designpattern.单件模式; public class Singleton { private static Singleton uniqueSingleton; private Singleton(){ } private static synchronized Singleton getInstance(){ if (uniqu... 阅读全文
posted @ 2018-11-25 14:24 改变一下 阅读(108) 评论(0) 推荐(0)
2018年11月20日
摘要: git查看分支: git branch -l :查看本地分支 git branch -r :查看远程分支 git branch -a :查看全部分支(远程的和本地的) git签出指定分支的指定文件或文件夹替换当前分支对应的文件或文件夹: git checkout 分支名 要替换的文件或文件 阅读全文
posted @ 2018-11-20 10:05 改变一下 阅读(104) 评论(0) 推荐(0)
2018年11月17日
摘要: 参考这篇文章: https://www.cnblogs.com/qlqwjy/p/9275415.html https://blog.csdn.net/tanga842428/article/details/52924883 阅读全文
posted @ 2018-11-17 17:09 改变一下 阅读(105) 评论(0) 推荐(0)
2018年11月16日
摘要: 将本地jar包安装到本地仓库中,记得参数上有双引号 mvn install:install-file -Dfile="jar全路径" -DgroupId="groupId名称" -DartifactId="artifactId名称" -Dversion="版本号" -Dpackaging=jar 阅读全文
posted @ 2018-11-16 18:31 改变一下 阅读(118) 评论(0) 推荐(0)
摘要: 对称加密: 加密与解密用的是同样的密钥 非对称加密: 加密解密不是使用同相同的密钥而是使用了一对密钥:公钥和私钥 公钥和私钥都是可以加解密的,只要加密解密是一对密钥就可以具体使用看系统对接的系统要求 一般用法: 发送方:用别人的公钥做加密,用自己的私钥做加签 接受方:用自己的私钥做解密,用别人的公钥 阅读全文
posted @ 2018-11-16 10:18 改变一下 阅读(104) 评论(0) 推荐(0)
2018年11月8日
摘要: 1.异常抛出时,一定要用log先记录起来,方便上线查找问题 2.每种异常最好有不同的code对应,这时在对不同code的异常处理起来就会很方便 阅读全文
posted @ 2018-11-08 11:03 改变一下 阅读(87) 评论(0) 推荐(0)
2018年10月31日
摘要: 参考文章 https://www.cnblogs.com/onmyway20xx/p/4469202.html http://blog.51cto.com/iyull/2129220 阅读全文
posted @ 2018-10-31 17:50 改变一下 阅读(612) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 ··· 17 下一页