周凯,个人博客

  • 前端
  • 嵌入式
  • 工具
  • 后端
  • 随笔
个人记录
前端

Node16+版本出现node-sass兼容性问题

警告如下 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…

2022年 11月 9日 0条评论 1372点热度 1人点赞 周凯 阅读全文
前端

spring-boot项目 nginx负载均衡

场景 大量用户请求的情况下,短时间并发很高 # 思路 nginx 通过反向代理 做负载均衡 # 基础概念 ### 反向代理(Reverse Proxy) 说明:就是代理服务器代理了目标服务器,去和客户端进行操作 用途 隐藏服务器的真实IP 负载均衡 通过缓存加速访问资源 提供安全保障 ### 负载均衡 实际生产环境中,反向代理服务器代理的目标服务器可能不止一个。比如开发好的某个应用部署在一台Tomcat服务器上,而Tomcat的并发上限不优化情况下,默认只有两百左右,这时候为了解决高并发的问题,就只能选择更替服务器…

2022年 11月 7日 0条评论 1206点热度 0人点赞 周凯 阅读全文
java

java 树形结构

递归查询出树形结构 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…

2022年 11月 7日 0条评论 748点热度 0人点赞 周凯 阅读全文
javascript

字符串转换16进制

具体实现: /** * 字符串转换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); } …

2022年 10月 31日 0条评论 877点热度 0人点赞 周凯 阅读全文
随笔

个人工具集

使用vue3+vite做的自己常用的一些小工具 个人工具集

2022年 10月 29日 0条评论 991点热度 0人点赞 周凯 阅读全文
随笔

头像生成网站

博客的头像直接生成,有多种属性可以选择 头像地址 为您的应用程序和游戏随机生成的角色

2022年 10月 29日 0条评论 1014点热度 0人点赞 周凯 阅读全文
编辑器

apk反编译用到的工具

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…

2022年 10月 29日 0条评论 1022点热度 0人点赞 周凯 阅读全文
java

java8 Bas64操作

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…

2022年 10月 29日 0条评论 602点热度 0人点赞 周凯 阅读全文
java

可以设置过期时间的缓存Map

expiringmap ExpiringMap使用 - 掘金 (juejin.cn) 可以设置过期时间的缓存Map expiringmap github地址

2022年 10月 29日 0条评论 656点热度 0人点赞 周凯 阅读全文
spring-boot

阿里 druid配置

需要的依赖 <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>8.0.29</version> </dependency> <!--druid 数据库链接--> <dependency> <groupId>com.alibaba</groupId…

2022年 10月 29日 0条评论 534点热度 0人点赞 周凯 阅读全文
1…1617181920
搜索
分类
归档

COPYRIGHT © 2022-现在 周凯,个人博客. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

蒙ICP备18004897号