又一个博客
首先 创建一个 Spring Boot 工程,引入 Web、Spring Session 以及 Redis:
阅读全文
创建一个 Spring Boot 项目,只需要添加 Web 依赖即可:项目创建成功后,加入 Shiro 相关的依赖,完整的 pom.xml 文件中的依赖如下
windows10 ltsc
Docker
Docker下载
Eclipse下springboot maven项目,报错如下
springboot maven
Description Resource Path Location Type An error occurred while filtering
1
defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder
12345678910111213141516171819202122232425
import java.util.*;public class HelloWorld{ public static String randomString(int i) { Random ran = new Random(i); StringBuilder sb = new StringBuilder(); for (int n = 0; ; n++) { int k = ran.nextInt(27); if (k == 0) break; sb.append((char)('`' + k)); } return sb.toString(); } public static void main(String[] args){ System.out.println(randomString(-229985452)+" "+randomString(-147909649)); }}
1234567891011121314151617181920212223
DELETE consum_recordFROM consum_record, ( SELECT min(id) id, user_id, monetary, consume_time FROM consum_record GROUP BY user_id, monetary, consume_time HAVING count(*) > 1 ) t2WHERE consum_record.user_id = t2.user_idAND consum_record.monetary = t2.monetaryAND consum_record.consume_time = t2.consume_timeAND consum_record.id > t2.id;
lorem
输入 lorem 然后按 tab
tab