上一页 1 ··· 5 6 7 8 9 10 下一页
摘要: 本篇主要讲述是Java中JDK1.8的一些新语法特性使用,主要是Lambda、Stream和LocalDate日期的一些使用讲解。 Lambda Lambda介绍 Lambda 表达式(lambda expression)是一个匿名函数,Lambda表达式基于数学中的λ演算得名,直接对应于其中的la 阅读全文
posted @ 2021-07-24 10:08 MaskerFan 阅读(271) 评论(0) 推荐(0)
摘要: #user nobody; worker_processes 4; error_log /home/nginx/log/error.log error; #error_log logs/error.log; #error_log logs/error.log notice; #error_log l 阅读全文
posted @ 2021-04-08 17:56 MaskerFan 阅读(102) 评论(0) 推荐(0)
摘要: 安装插件 ESlint vetur vscode-icons Bracket Pair Colorizer Beautify Document This 1 2 5必须装 最新的版本 // { // "editor.suggestSelection": "first", // "vsintellic 阅读全文
posted @ 2021-03-06 22:31 MaskerFan 阅读(538) 评论(0) 推荐(0)
摘要: 拉取Redis镜像 # 拉取最新的Redis镜像 $docker pull redis 进入旧的Redis容器保存数据 $docker exec -it old_aley_redis redis-cli 127.0.0.1:6379>save 拷贝dump.rdb文件 通过上一步save命令会生成d 阅读全文
posted @ 2021-03-02 21:29 MaskerFan 阅读(876) 评论(0) 推荐(0)
摘要: 国内镜像地址 https://npm.taobao.org/mirrors/git-for-windows/ 阅读全文
posted @ 2021-03-02 08:47 MaskerFan 阅读(88) 评论(0) 推荐(0)
摘要: Linux服务器上如何设置MySQL的max_allowed_packe mysql根据配置文件会限制server接受的数据包大小。 有时候大的插入和更新会被max_allowed_packet 参数限制掉,导致失败。 查看目前配置 show VARIABLES like '%max_allowed 阅读全文
posted @ 2021-02-08 15:13 MaskerFan 阅读(197) 评论(0) 推荐(0)
摘要: 阿里云官方镜像站: https://developer.aliyun.com/mirror/ 查看镜像debian版本: cat /etc/debian_version 2:清空/etc/apt/sources.list文件 echo > /etc/apt/sources.list 3:查看/etc 阅读全文
posted @ 2021-02-03 15:55 MaskerFan 阅读(493) 评论(0) 推荐(0)
摘要: ###一、使用注解 假设Filter类的路径为com.sanro.filter @Slf4j @WebFilter(filterName = "authFilter", urlPatterns = "/*") @Order(1) //测试好像这个参数不生效,实际生效的是Filter扫描到的顺序(所以 阅读全文
posted @ 2020-12-18 13:29 MaskerFan 阅读(336) 评论(0) 推荐(0)
摘要: ####新增配置文件logback-spring.xml <?xml version="1.0" encoding="UTF-8"?> <configuration debug="false"> <!--定义日志文件的存储地址 勿在 LogBack 的配置中使用相对路径--> <property n 阅读全文
posted @ 2020-12-17 11:00 MaskerFan 阅读(1847) 评论(0) 推荐(0)
摘要: 开放防火墙端口 firewall-cmd --zone=public --add-port=8887/udp --permanent firewall-cmd --zone=public --add-port=8887/tcp --permanent systemctl restart firewa 阅读全文
posted @ 2020-12-17 10:31 MaskerFan 阅读(140) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 下一页