上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
摘要: 使用IDEA 的时候,当在一个类中导入另一个包下很多类的时候,因为导入的类都在同一个包下,导入数量过多的时候,IDEA会自动帮你变成import * 阅读全文
posted @ 2022-01-07 09:39 明知山有小脑斧 阅读(696) 评论(0) 推荐(0) 编辑
摘要: 1.打开设置 设置路径: 2.文件编码模板 3.常用模板推荐 推荐1: /** * @author ${USER} * @date ${DATE} ${TIME} */ 推荐2: /** * Created by ${USER} on ${DATE}. */ 推荐3: /** * user: ${U 阅读全文
posted @ 2022-01-06 14:21 明知山有小脑斧 阅读(1235) 评论(0) 推荐(0) 编辑
摘要: 1.导入maven包 <!-- 语音播报类 --> <dependency> <groupId>com.hynnet</groupId> <artifactId>jacob</artifactId> <version>1.18</version> </dependency> 2.编写语音播报工具类 阅读全文
posted @ 2022-01-05 11:19 明知山有小脑斧 阅读(1555) 评论(0) 推荐(0) 编辑
摘要: 1.快速复制 ctrl+D 2.一键删除重复项 ^(.*?)$\s+?^(?=.*^\1$) 阅读全文
posted @ 2021-12-17 10:49 明知山有小脑斧 阅读(59) 评论(0) 推荐(0) 编辑
摘要: 1.本月第一天 select date_add(curdate(), interval - day(curdate()) + 1 day); 2.本月最后一天 select last_day(curdate()); 3.上个月第一天 select date_add(curdate()-day(cur 阅读全文
posted @ 2021-12-01 10:31 明知山有小脑斧 阅读(3125) 评论(0) 推荐(0) 编辑
摘要: 1.引入maven依赖 如果是springboot项目,就可以不必引入,这个存在最核心的web开发包里 <!-- web --><dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-start 阅读全文
posted @ 2021-11-25 15:16 明知山有小脑斧 阅读(1238) 评论(0) 推荐(0) 编辑
摘要: nohup java -jar test.jar > nohup.out & java -jar test.jar & nohup java -jar test.jar > /dev/null 2>&1 & 1.nohup 启动输出nohup文件 2.& 后台启动 3.如果有自己的日志文件,nohu 阅读全文
posted @ 2021-08-30 13:28 明知山有小脑斧 阅读(2511) 评论(0) 推荐(0) 编辑
摘要: 1 把bind 127.0.0.1 注释 2 把protected-mode yes 改为 protected-mode no 3 重启redis服务器 阅读全文
posted @ 2021-06-23 14:43 明知山有小脑斧 阅读(103) 评论(0) 推荐(0) 编辑
摘要: 1 //前提为a、b均不能为null 2 if(a.compareTo(b) == -1){ 3 System.out.println("a小于b"); 4 } 5 6 if(a.compareTo(b) == 0){ 7 System.out.println("a等于b"); 8 } 9 10 i 阅读全文
posted @ 2021-05-19 09:07 明知山有小脑斧 阅读(161) 评论(0) 推荐(0) 编辑
摘要: <template> <div id="app"> <router-view /> </div> </template> <script> export default { name: 'App', data() { return { //设置超时时间: 30分种 timeOut : 30 * 60 阅读全文
posted @ 2021-02-05 10:44 明知山有小脑斧 阅读(1088) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页
点击右上角即可分享
微信分享提示