警告如下 DEPRECATION WARNING: The selector ".jnpf-editor-quill > > > .ql-container.ql-snow" is invalid CSS. It will be omitted from the generated CSS. This will be an error in Dart Sass 2.0.0. More info: https://sass-lang.com/d/bogus-combinators…
警告如下 DEPRECATION WARNING: The selector ".jnpf-editor-quill > > > .ql-container.ql-snow" is invalid CSS. It will be omitted from the generated CSS. This will be an error in Dart Sass 2.0.0. More info: https://sass-lang.com/d/bogus-combinators…
场景 大量用户请求的情况下,短时间并发很高 # 思路 nginx 通过反向代理 做负载均衡 # 基础概念 ### 反向代理(Reverse Proxy) 说明:就是代理服务器代理了目标服务器,去和客户端进行操作 用途 隐藏服务器的真实IP 负载均衡 通过缓存加速访问资源 提供安全保障 ### 负载均衡 实际生产环境中,反向代理服务器代理的目标服务器可能不止一个。比如开发好的某个应用部署在一台Tomcat服务器上,而Tomcat的并发上限不优化情况下,默认只有两百左右,这时候为了解决高并发的问题,就只能选择更替服务器…
递归查询出树形结构 public class TreeNodeDTO { private String id; private String parentId; private String name; private List children = new ArrayList(); public void add(TreeNodeDTO node) { if ("0".equals(node.parentId)) { this.children.add(node); } else if (node.parentI…
具体实现: /** * 字符串转换16进制进制 * @returns {string} * @param str */ strToHexadecimal(str) { let val = ''; for (let i = 0; i < str.length; i++) { if (val === '') val = str.charCodeAt(i).toString(16); else val += str.charCodeAt(i).toString(16); } …
apk编译过程 ## 需要的工具 - jadx(Dex到Java反编译器) [github地址](https://github.com/skylot/jadx/) - jd-ui(查看jar包内容) [下载地址](http://java-decompiler.github.io/) - apktool (解包、打包) [https://ibotpeaches.github.io/Apktool/install/](https://ibotpeaches.github.io/Apktool/install/) - a…
final Base64.Decoder decoder = Base64.getDecoder(); final Base64.Encoder encoder = Base64.getEncoder(); final String text = "字串文字"; final byte[] textByte = text.getBytes("UTF-8"); //编码 final String encodedText = encoder.encodeToString(textB…
expiringmap ExpiringMap使用 - 掘金 (juejin.cn) 可以设置过期时间的缓存Map expiringmap github地址
需要的依赖 <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>8.0.29</version> </dependency> <!--druid 数据库链接--> <dependency> <groupId>com.alibaba</groupId…