摘要: mac修改打开文件数和进程数 现象 sudo ulimit -n 65535/usr/bin/ulimit: line 4: ulimit: open files: cannot modify limit: Invalid argument 方案 ➜ ~ echo kern.maxfiles=655 阅读全文
posted @ 2020-05-12 15:11 zhonghuahero 阅读(178) 评论(0) 推荐(0) 编辑
摘要: 1:编码 session级别 sql即可,全局级别 需要修改配置文件 2:null值比较 is not null,is null ,<=>null 3:having where 可以代替where的地方,条件中的字段再查询结果中出现的,别名也可 阅读全文
posted @ 2019-11-28 18:16 zhonghuahero 阅读(70) 评论(0) 推荐(0) 编辑
摘要: 转自 : https://www.xncoding.com/2017/05/13/mq/rabbitmq-tutorial04.html Direct exchange也支持同一条消息发送到多个队列中: 同时还能支持交换机使用同一个binding key来和多个队列绑定, 这时候如果某个消息的rou 阅读全文
posted @ 2019-08-13 12:14 zhonghuahero 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 转自:https://blog.csdn.net/u011186019/article/details/78728376 1:windows -preferences- Contenttypes-text-展开-properties File 选中下面的*.properties(locaked) 将 阅读全文
posted @ 2019-05-28 18:24 zhonghuahero 阅读(991) 评论(0) 推荐(0) 编辑
摘要: https://serverfault.com/questions/214242/can-i-hide-all-server-os-info 阅读全文
posted @ 2019-05-22 16:31 zhonghuahero 阅读(214) 评论(0) 推荐(0) 编辑
摘要: 1:服务列表缓存 Reference.cache Dubbo通过注册中心发现服务,发现的服务Dubbo同时也会保存到本地缓存一份,缓存的好处有很多,比如不需要每次使用的时候都通过注册中心获取,注册中心不可用了,不影响消费端的调用,因为本地缓存了一份服务提供者列表。 Dubbo本地缓存默认采用的文件, 阅读全文
posted @ 2019-03-14 16:18 zhonghuahero 阅读(1540) 评论(0) 推荐(0) 编辑
摘要: 目前做微信支付,引入SDK, me.chanjar.weixin.common.util.xml.XStreamInitializer,引用了微信Xstream解析 目前版本不存在漏洞 https://github.com/Wechat-Group/WxJava/issues/967 阅读全文
posted @ 2019-03-12 20:38 zhonghuahero 阅读(849) 评论(0) 推荐(0) 编辑
摘要: 问题背景:微信支付通知响应报文,之前是response.print,后来改为了@ResponseBody String,发现不好使了,即使业务成功,返回success应答,微信仍然一直通知到极限次数。 排查思路:找convertor,json转换器的没问题,但是他只支持application/jso 阅读全文
posted @ 2019-02-25 17:56 zhonghuahero 阅读(5797) 评论(0) 推荐(0) 编辑
摘要: scheme 阅读全文
posted @ 2019-01-08 22:14 zhonghuahero 阅读(742) 评论(0) 推荐(0) 编辑
摘要: git push origin :branch-name 删除远程分支 git push --set-upstream origin branch-name 新分支推送到仓库 阅读全文
posted @ 2018-12-28 15:03 zhonghuahero 阅读(97) 评论(0) 推荐(0) 编辑