返回博主主页
上一页 1 2 3 4 5 6 7 8 9 10 ··· 30 下一页
摘要: StampedLock 是 Java 8 引入的一种新的锁机制,它是 ReadWriteLock 的改进版,提供了更高的并发性和更好的性能。下面是一个使用 StampedLock 的示例: import java.util.concurrent.locks.StampedLock; public c 阅读全文
posted @ 2024-02-26 15:19 懒惰的星期六 阅读(53) 评论(0) 推荐(0)
摘要: Spring-generator https://mirren.gitee.io/spring-generator-doc/?spm=a2c6h.12873639.article-detail.8.5f6a27fexATC6d#link-help 阅读全文
posted @ 2024-02-26 15:01 懒惰的星期六 阅读(18) 评论(0) 推荐(0)
摘要: 要删除分支中的 commit,可以使用 git rebase 命令。以下是具体步骤: 首先,使用 git log 命令查看要删除的 commit 的哈希值。 然后,使用 git rebase -i <commit> 命令进入交互式 rebase 模式,其中 <commit> 是要删除的 commit 阅读全文
posted @ 2024-02-23 17:18 懒惰的星期六 阅读(201) 评论(0) 推荐(0)
摘要: 1、前端上传文件 -> 接口接收文件 MultiPartFile -> 转发到其它接口 //a)Multipart 转 File public static File convert(MultipartFile multipartFile) throws IOException { File fil 阅读全文
posted @ 2024-02-22 09:39 懒惰的星期六 阅读(23) 评论(0) 推荐(0)
摘要: 已知: public interface A { default void fun(){ System.out.println("A"); } } public interface B extends A{ default void fun(){ System.out.println("B"); } 阅读全文
posted @ 2024-02-05 10:08 懒惰的星期六 阅读(36) 评论(0) 推荐(0)
摘要: #user nobody; worker_processes 1; #error_log logs/error.log; #error_log logs/error.log notice; #error_log logs/error.log info; #pid logs/nginx.pid; ev 阅读全文
posted @ 2024-01-25 11:41 懒惰的星期六 阅读(128) 评论(0) 推荐(0)
摘要: 1 package.json vite build 和 vite 是 Vite.js 的两个命令。 vite 是一个开发服务器,它可以快速地在浏览器中启动一个开发环境,并支持热更新。使用 vite 命令可以启动 Vite.js 的开发服务器。 vite build 是一个命令行工具,它可以将 Vit 阅读全文
posted @ 2024-01-25 11:33 懒惰的星期六 阅读(549) 评论(1) 推荐(0)
摘要: 同步develop分支的代码 git checkout develop git remote -v git remote add upstream ‘被fork代码仓的 git 地址’ git fetch upstream git merge upstream/develop git push or 阅读全文
posted @ 2024-01-12 09:44 懒惰的星期六 阅读(564) 评论(0) 推荐(0)
摘要: 在 web 应用程序中,当发起一个跨域请求, MDN-access-controll A.example.com 发送请求 POST 请求会发送一个预检请求(OPTIONS),GET 不会 首先是请求。预检请求是 OPTIONS 包含三个预检请求标头的某种组合的请求: Access-Control- 阅读全文
posted @ 2024-01-02 20:59 懒惰的星期六 阅读(83) 评论(0) 推荐(0)
摘要: OAuth 2.0 的标准是 RFC-6749文件 阅读全文
posted @ 2023-10-20 11:12 懒惰的星期六 阅读(30) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 10 ··· 30 下一页