摘要: Nginx Use C1. Rule P1. The end symbol '/' location no many rules proxy_pass special: config: listen 9000; serrver_name testServer; location /test{ pro 阅读全文
posted @ 2024-07-30 11:54 逆态度22 阅读(10) 评论(0) 推荐(0)
摘要: C1.overview p1.concept problems People can use reflect mechanism to create other instance to violate singleton. The safety of thread Instruction reord 阅读全文
posted @ 2023-03-16 10:22 逆态度22 阅读(16) 评论(0) 推荐(0)
摘要: # 参数验证 ## C1.Springboot参数验证 > 步骤 一.`引入依赖` ```xml org.springframework.boot spring-boot-starter-validation ``` 二.`验证的参数加注解并在该参数后面加BindingResult(多个参数亦然)` 阅读全文
posted @ 2022-10-24 11:23 逆态度22 阅读(93) 评论(0) 推荐(0)
摘要: Url相关 ##C1.Get请求 P1.参数 可以携带json,但是不推荐,而且axios不支持 阅读全文
posted @ 2022-10-24 09:21 逆态度22 阅读(24) 评论(0) 推荐(0)
摘要: C1. window p1. 启动项 设置启动项 操作流程: win + r > shell:startup > 拖入需要启动的东西 P2.远程 设置 Q:config account strategy A: operation as follw: 1.win+r 2.print gpedit.ms 阅读全文
posted @ 2022-09-27 08:39 逆态度22 阅读(18) 评论(0) 推荐(0)
摘要: 部署相关 C1.jar包启动 问题现象: nacos注释使用中文,通过java -jar启动报注释的错误 解决方法: java -jar -Dfile.encoding=utf-8 xxx.jar P2.window用bat启动jar命令 @echo off color 09 cd D:\envir 阅读全文
posted @ 2022-09-21 16:02 逆态度22 阅读(26) 评论(0) 推荐(0)
摘要: C1 Mysql常用命令合集 P1.设置方面命令 连接 mysql -u root -p 授权指定ip访问 GRANT ALL PRIVILEGES ON *.* to 'root' @'172.17.0.3' IDENTIFIED BY 'xxxxxxxx' WITH GRANT OPTION; 阅读全文
posted @ 2022-09-13 15:03 逆态度22 阅读(53) 评论(0) 推荐(0)
摘要: 一.问题 注入过后不调用方法获取不到对应的value值 二.演示 @Component @RefreshScope public class Val { @Value("${schedule.detectAlarmCron}") public String detectAlarmCron; } 获取 阅读全文
posted @ 2022-09-08 09:17 逆态度22 阅读(472) 评论(0) 推荐(0)
摘要: 命令版 示例: 将main分支转到master分支上 切到需要使用的分支 git checkout master 强制忽略历史融合 git merge main --allow-unrelated-histories 3.提交融合冲突文件即可 阅读全文
posted @ 2022-09-07 17:17 逆态度22 阅读(144) 评论(0) 推荐(0)