Spring Boot 3 请求追踪 传统的 Spring Cloud Sleuth[1] 追踪已经不适用于 Spring Boot 3,本文将介绍如何在 Spring Boot 3 中配置 Micrometer 追踪请求。 2023-12-24 技术 > 软件开发 > 后端开发 #Spring #Spring Boot #Java #Spring Cloud
浅谈基于在线 Git 的爱好社区困境 随着经济和社会发展、生活水平提高、精神文化需求更加丰富多彩,人们逐渐具有相同爱好的数字社区。而在线 Git 如 GitHub 逐渐成为了这些社区的平台选择,它能提供方便的协同交互和标记语言的文档撰写功能,可以有效减少传统论坛的维护成本。但是,这些社区也面临着一些困境,本文将基于一个运转超 6 年的社区和一个新建社区的现实情况,浅谈基于在线 Git 的爱好社区困境。 2023-12-24 杂谈 #Git #GitHub #Gitea #社区 #杂谈
How Does Compiler Explorer (Godbolt) Work? Compiler Explorer (Godbolt) is an interactive online compiler, which shows corresponding assembly code compiled by high-level language compilers. This article explores its principles and implements 2023-12-12 学术 > 编译原理 #C++ #汇编 #Compiler Explorer #编译器
Compiler Explorer(Godbolt)是如何工作的? Compiler Explorer(Godbolt)是一个交互式在线汇编语言编译器,本文主要分享探索其原理的过程,并提取其开源代码实现了一个本地命令行版本。 2023-12-11 学术 > 编译原理 #C++ #汇编 #Compiler Explorer #编译器
下载 PDF.js 禁止下载的文件 部分使用 PDF.js 提供 PDF 预览的网站会禁止下载文件,本文介绍了如何绕过限制,下载这些文件。 2023-08-18 技术 > 逆向工程 #前端 #逆向工程 #PDF.js
Spring Security 自定义 @Anonymous 和 @HasRole 注解 使用 SpringSecurity 时,不同接口的鉴权较为麻烦,本文实现了 @Anonymous 和 @HasRole 注解,使得鉴权更加简单。 2023-08-06 技术 > 软件开发 > 后端开发 #Spring #Spring Boot #Spring Security #Java #注解
解决 WebStorm 开发 uni-app 时 rpx 单位不识别问题 问题WebStorm 开发 uni-app 时,rpx 单位不识别,且无法正常格式化。 2023-07-25 技术 > 软件开发 > 前端开发 #WebStorm #微信小程序 #uni-app
Spring Security customizing status code, and prevent other codes overridden by 403 The Spring Security will override all errors like 400, 405, and 500 to 403, and we may want to use 401 for unauthorized requests. This article will solve this problem by customizing an Authenticati 2023-07-05 技术 > 软件开发 > 后端开发 #Spring #Spring Boot #Spring Security #HTTP
Spring Security 自定义状态码,防止正常状态码被 403 覆盖 在项目中加入 Spring Security 后,它会将所有的错误状态码覆盖为 403,例如 400, 405 和 500,我们也可能需要将 403 改为 401 作为未登录的状态码。本文将介绍如何自定义 AuthenticationEntryPoint 以解决此问题。 2023-07-05 技术 > 软件开发 > 后端开发 #Spring #Spring Boot #Spring Security #HTTP
Element UI 通用图片骨架屏组件 近年来,骨架屏(Skeleton)逐渐成为一种流行的加载动画,其显著增强了用户等待过程中的体验。本文实现了 Vue.js + Element UI 的通用图片骨架屏组件。 2022-11-16 技术 > 软件开发 > 前端开发 #前端 #Vue.js #Element UI #骨架屏