摘要: 阅读全文
posted @ 2024-07-12 17:53 xiluhua 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 解决办法:启动命令加上 -Dfile.encoding=UTF-8 nohup java -Dfile.encoding=UTF-8 -jar xxx.jar 阅读全文
posted @ 2024-07-10 21:00 xiluhua 阅读(2) 评论(0) 推荐(0) 编辑
摘要: docker报错:Got permission denied while trying to connect to the Docker daemon socket at unix:///var/ru https://blog.csdn.net/zh515858237/article/details 阅读全文
posted @ 2024-07-08 17:58 xiluhua 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 解决办法: 对于只需要Base64编码的简单场景,可以考虑使用Java 8及以上版本提供的内置`java.util.Base64`类,这是一个标准API,无需额外引入任何库: //import sun.misc.BASE64Encoder; // java8 import java.util.Bas 阅读全文
posted @ 2024-07-03 21:17 xiluhua 阅读(7) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/qq_34254642/article/details/104641591 阅读全文
posted @ 2024-06-30 18:25 xiluhua 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 因为在使用shell连接虚拟机时连接等待时长太长,ssh的服务端在连接时会自动检测dns环境是否一致导致的,修改为不检测即可。1.执行vi /etc/ssh/sshd_config把UseDNS yes,改为UseDNS no 2.重启SSHD服务 systemctl restart sshd 或 阅读全文
posted @ 2024-06-30 00:21 xiluhua 阅读(4) 评论(0) 推荐(0) 编辑
摘要: centos7 添加新账户 #!/bin/bash # 新账户的用户名 username=$1 # 添加新账户 useradd $username # 为新账户设置密码,这里需要输入密码,也可以通过stdin来自动设置密码 #echo "$1" | passwd --stdin $username 阅读全文
posted @ 2024-06-29 22:15 xiluhua 阅读(2) 评论(0) 推荐(0) 编辑
摘要: vue3 引入 element-ui 报错。 PS E:\ws06\test-new\20240620-syt\syt-01> npm i element-ui@2.3.5 -S npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve d 阅读全文
posted @ 2024-06-24 22:06 xiluhua 阅读(71) 评论(0) 推荐(0) 编辑
摘要: 背景: 在 bootstrap.yaml 配置 nacos。但是怎么样都注册不上, 然后发现是没有加载 bootstrap.yaml 导致的。 最初以为是 springcloud 版本问题,折腾了1个小时才发现是模块的父工程里面配置的插件 spring-boot-maven-plugin 导致的。 阅读全文
posted @ 2024-06-21 20:42 xiluhua 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 将对象集合转为字段值的 list List<Integer> countList = videoVisitorVoList.stream().map(VideoVisitorCountVo::getUserCount).collect(Collectors.toList()); 阅读全文
posted @ 2024-06-18 12:39 xiluhua 阅读(2) 评论(0) 推荐(0) 编辑
摘要: <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> <resourc 阅读全文
posted @ 2024-06-17 17:59 xiluhua 阅读(4) 评论(0) 推荐(0) 编辑
摘要: easyExcel & poi 比较 阅读全文
posted @ 2024-06-15 10:54 xiluhua 阅读(4) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash MODULE=$1 ENV=$2 IS_PRINT_LOG=$3 PORT=1 case "$MODULE" in "blade-gateway") PORT=8000 ;; "blade-user") PORT=8017 ;; "blade-team") PORT=8016 阅读全文
posted @ 2024-06-05 00:01 xiluhua 阅读(3) 评论(0) 推荐(0) 编辑
摘要: .bashrc 给文件夹添加颜色 # ~/.bashrc: executed by bash(1) for non-login shells. # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # f 阅读全文
posted @ 2024-05-20 12:43 xiluhua 阅读(11) 评论(0) 推荐(0) 编辑
摘要: [[ : not found 解决方法: https://www.cnblogs.com/w787815/p/17772384.html 阅读全文
posted @ 2024-05-19 16:09 xiluhua 阅读(78) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/devhg/p/13969647.html 阅读全文
posted @ 2024-05-18 14:06 xiluhua 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 遇到的问题: [2024-05-14T15:23:17,530][INFO ][logstash.runner ] Logstash shut down. [2024-05-14T15:23:17,534][FATAL][org.logstash.Logstash ] Logstash stoppe 阅读全文
posted @ 2024-05-18 14:05 xiluhua 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 重启 restart.sh #!/bin/bash LOG=nohup.out PID=$(netstat -tpln|grep 5044 | cut -d 'N' -f2 | sed -s "s/\/java//g") #PID=$(jps | grep $MODULE | cut -f 1 -d 阅读全文
posted @ 2024-05-17 19:27 xiluhua 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 下载地址 https://www.elastic.co/cn/downloads 阅读全文
posted @ 2024-05-17 12:16 xiluhua 阅读(3) 评论(0) 推荐(0) 编辑
摘要: Centos同步网络时间 https://www.cnblogs.com/devhg/p/13969647.html 阅读全文
posted @ 2024-05-16 22:14 xiluhua 阅读(1) 评论(0) 推荐(0) 编辑
摘要: git 免密推送代码到github。 参考:https://www.bilibili.com/video/BV1vy4y1s7k6?p=26&vd_source=ad97a93a8a42c9559b03a66114d94d18 关键动作: 然后: 阅读全文
posted @ 2024-05-14 00:17 xiluhua 阅读(4) 评论(0) 推荐(0) 编辑
摘要: springmvc 在 tomcat-maven-plugin 中配置 contentPath 参考:https://blog.csdn.net/weixin_44454512/article/details/110202174 启动时:配置 tomcat7:run 阅读全文
posted @ 2024-05-13 21:30 xiluhua 阅读(24) 评论(0) 推荐(0) 编辑
摘要: mysql 远程无法连接,解决办法: https://blog.csdn.net/Dontla/article/details/133213538 阅读全文
posted @ 2024-05-06 00:21 xiluhua 阅读(3) 评论(0) 推荐(0) 编辑
摘要: npm 查看现有 webpack 版本命令: npm view webpack versions 阅读全文
posted @ 2024-05-03 15:49 xiluhua 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 视屏地址:https://www.bilibili.com/video/BV1Zy4y1K7SH?p=14&spm_id_from=pageDriver&vd_source=ad97a93a8a42c9559b03a66114d94d18 vue2 学习笔记: 1. 对象里面写方法,不用写 func 阅读全文
posted @ 2024-04-27 22:23 xiluhua 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 比如: 阅读全文
posted @ 2024-04-23 16:38 xiluhua 阅读(18) 评论(0) 推荐(0) 编辑
摘要: vue-element-admin中如何打断点 1、vue.config.js中加一行 devtool: ‘source-map’ 阅读全文
posted @ 2024-04-22 11:40 xiluhua 阅读(6) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2024-04-20 21:03 xiluhua 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 感谢作者:https://www.cnblogs.com/lvbok/p/logback.html 解决方案 在配置文件中指定日志配置文件地址: logging: config: classpath:logback-spring.xml 阅读全文
posted @ 2024-04-17 16:59 xiluhua 阅读(68) 评论(0) 推荐(0) 编辑
摘要: 首先,感谢 http://www.manongjc.com/detail/42-hiwfjklnbpukjgd.html & https://huaweicloud.csdn.net/654a1218525bff6100e99afd.html 在jdk8 升级 jdk17,项目 docker 部署失 阅读全文
posted @ 2024-04-14 22:51 xiluhua 阅读(83) 评论(0) 推荐(0) 编辑
摘要: 1. 参考资料https://blog.csdn.net/weixin_33850015/article/details/88659213https://github.com/mengyunzhi/springBootSampleCode/tree/master/log-backhttps://se 阅读全文
posted @ 2024-04-14 18:06 xiluhua 阅读(1) 评论(0) 推荐(0) 编辑
摘要: yt-dlp --format='bv*[height=720P]+ba' --proxy=socks5://127.0.0.1:8088/ https://www.youtube.com/watch?v=ZEjJpXTQvgo yt-dlp --help yt-dlp -F --list-form 阅读全文
posted @ 2024-02-22 19:43 xiluhua 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 大数据 https://www.zhihu.com/question/299830109 阅读全文
posted @ 2024-02-11 13:07 xiluhua 阅读(8) 评论(0) 推荐(0) 编辑
摘要: 主要参考此blog: https://blog.csdn.net/rimke/article/details/133740041 命令: schtasks /create /SC daily /ST 16:02 /TN dailyBreakingNews /TR C:\Users\Administr 阅读全文
posted @ 2024-01-19 16:18 xiluhua 阅读(11) 评论(0) 推荐(0) 编辑
摘要: chromedriver 版本:120.0.6099.***下载 https://googlechromelabs.github.io/chrome-for-testing/ 阅读全文
posted @ 2024-01-17 16:07 xiluhua 阅读(479) 评论(0) 推荐(0) 编辑
摘要: 转自 https://baijiahao.baidu.com/s?id=1764575146418823393&wfr=spider&for=pc 虚拟语气的十大句型 一、虚拟条件句: 条件状语从句是非真实情况,在这种情况下要用虚拟语气。 1.条件从句与现在事实不一致,其句型为: 句型1:If +主 阅读全文
posted @ 2023-10-21 21:02 xiluhua 阅读(4) 评论(0) 推荐(0) 编辑
摘要: Do you think the advantages outweigh the disadvantages?1. 这是两面写作题2. 必须分出多少/高低3. 所以说这个题目基本等同于 discuss 的弱强写作结构,不要给自己增加负担觉得新学了一种题目。结构安排:1. 引出争论/背景句 + 给出明 阅读全文
posted @ 2023-09-29 15:04 xiluhua 阅读(31) 评论(0) 推荐(0) 编辑
摘要: Object 对象划分 1.PO(persistant object) 持久对象PO 就是对应数据库中某个表中的一条记录,多个记录可以用 PO 的集合。PO 中应该不包含任何对数据库的操作。 2.DO(Domain Object)领域对象就是从现实世界中抽象出来的有形或无形的业务实体。 3.TO(T 阅读全文
posted @ 2023-04-15 13:23 xiluhua 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 1.this.$nextTick 什么意思? 阅读全文
posted @ 2023-04-13 15:25 xiluhua 阅读(3) 评论(0) 推荐(0) 编辑
摘要: https://baijiahao.baidu.com/s?id=1756323888696693422&wfr=spider&for=pc 阅读全文
posted @ 2023-04-03 22:37 xiluhua 阅读(6) 评论(0) 推荐(0) 编辑