摘要:
背景 笔者最近在项目中使用websocket,通过nginx进行代理,配置如下 server { listen 443 ssl; server_name www.example.com; ssl on; ssl_certificate www.example.com+5.pem; ssl_certi 阅读全文
摘要:
<dependency> <groupId>net.bramp.ffmpeg</groupId> <artifactId>ffmpeg</artifactId> <version>0.6.2</version> </dependency> import net.bramp.ffmpeg.FFmpeg 阅读全文
摘要:
stackoverflow代码 public static boolean isMatch(byte[] pattern, byte[] input, int pos) { for(int i=0; i< pattern.length; i++) { if(pattern[i] != input[p 阅读全文
摘要:
实体类 @XStreamAlias("ROOT") public class VehiclePassInfo { @Id @GeneratedValue(generator = "JDBC") private Integer id; @XStreamAlias("LICENSEKEY") priva 阅读全文
摘要:
申明:以下部分技术是网络上搜索来的,由于距离写本文时过去一段时间,无法再查找到原来网址, 无法署名版权,如果您看到此处引用您的文字,请留言联系我署名版权,相应的办法归原作者所有,在此表示感谢。 前文:本地安装SonarQube Community8.1社区版进行代码质量管控中已经详细讲解了Sonar 阅读全文
摘要:
在终端运行 mvn dependency:resolve -Dclassifier=sources 然后自动下载源代码 转载自:https://blog.csdn.net/weixin_42379136/article/details/87804492 阅读全文
摘要:
org.modelmapper.MappingException: ModelMapper mapping errors: 1) Converter org.modelmapper.internal.converter.NumberConverter@1c93b51e failed to conve 阅读全文
摘要:
1、背景 笔者经常把一些经常使用的数据放到redis缓存,方便程序进行读取。 比如按照不同的键名将数值存储到hash值类型中。示例如下 hash hashkey hashValue snapshot 999 "{\"id\":999,\"distId\":999,\"distName\":\"玄武区 阅读全文
摘要:
转载自:https://blog.csdn.net/qq_28082757/article/details/78932756 这篇文章主要讲解Java解压的操作,后续会写一篇关于压缩的文章。 提醒:文章中有些片段看似代码很多,其实去除trycatch、释放资源真正有用的代码没几句,解压其实都很简单, 阅读全文
摘要:
将字符串转成Date import java.text.SimpleDateFormat; import java.util.Date; public class DateUtil { public static Date ParseRFC3339DateFormat(String p_date) 阅读全文