摘要:
解决方案:在数据库连接后面指定编码 &useUnicode=true&characterEncoding=UTF-8 比如 url: jdbc:mysql://localhost:3306/store_category?useSSL=false&?useUnicode=true&characterE 阅读全文
摘要:
public class FileServer { public static void main(String[] args) { try { File file = new File("data.txt"); Scanner scanner = new Scanner(file); while 阅读全文
摘要:
typora已经收费,推荐使用vscode的typora插件,很好用 阅读全文
摘要:
建议使用微软商店的远程桌面,默认的远程连接会导致Ctrl+Alt+方向键失效 阅读全文
摘要:
1. 笔记本建议使用带有non-free固件的dvd版本,否则需要自己将wifi的固件放进启动盘里面 2. 调整系统快捷键(防止idea快捷键失效),主要有 Ctrl+Alt+Left/Right/L,Alt+Insert,基本都在window manager里面调整,或者直接使用备份好的xfce配 阅读全文
摘要:
.idea /target/ !.mvn/wrapper/maven-wrapper.jar ### STS ### .apt_generated .classpath .factorypath .project .settings .springBeans .sts4-cache # Create 阅读全文
摘要:
services: mysql: image: mysql:5.7 ports: - "3306:3306" expose: - "3306" environment: - MYSQL_USER=test - MYSQL_PASSWORD=123456 - MYSQL_DATABASE=test - 阅读全文
摘要:
先安装docker-ce-cli https://download.docker.com/linux/ubuntu/dists/jammy/pool/stable/amd64/ 选择对应版本的deb下载 下载docker desktop https://docs.docker.com/desktop 阅读全文
摘要:
![](https://img2022.cnblogs.com/blog/2083141/202208/2083141-20220820173943848-1741139203.png) 阅读全文
摘要:
springboot默认情况下可以直接访问四个目录下的静态文件(https://www.cnblogs.com/realzhaijiayu/p/16566667.html) public static resources META-INF/resources 引入 thymeleaf 之后才能访问 阅读全文