Cursor + Bruno + IntelliJ IDEA 2025:自动扫 Controller、生成接口请求、一键运行的爽感工作流

把 Cursor 拉来帮 IntelliJ 读 Controller,再让 Bruno 自动接收生成的接口请求文件,最终实现 Java 后端接口从代码到调试的一整套自动化流程。写完就能跑,完全不用手工敲请求,爽到飞起。
Read more →

Summary of Configuring Multiple Data Sources With Spring Boot 2.7.10 + JPA and Troubleshooting

配置 Spring Boot 2.7.10 + JPA 支持多数据源 (使用 PostgreSQL 和 Nacos 配置) 总结Spring Boot 2.7.10 + JPA 多数据源配置与问题解决 Summary of Configuring Multiple Data Sources with Spring Boot 2.7.10 + JPA and Troubleshooting 我有一个项目需要访问多个数据库源,ccdb接口访问服务器ip为:10.10.5.10的ccdb数据库,而tbdb接口需要访问服务器ip为:10.10.5.9的tbdb数据库 ccdb接
Read more →

Thingsboard Getway Debug

记一次thingsboard gateway 调试总结 背景 在使用 ThingsBoard 3.6.4 网关thingsboard gateway 3.5.1的过程中,我们需要配置和调试 MQTT 连接器,以便子设备能够正确处理来自网关的 RPC 请求。此次调试过程中,遇到了一些问题,包括 JSON 格式错误、消息未正确替换变量、以及消息处理超时等。 但凡遇到网关问题,官方文档少知又少。gith
Read more →

Records of Problems Encountered During the Installation and Initialization of Thingsboard 3.6.4

# Records of Problems Encountered During the Installation and Initialization of Thingsboard 3.6.4 记录thingsboard3.6.4在导入 IntelliJ IDEA 2022.2.3 编译报错的一些问题 记录 如何从thingsboard3.6.4弃坑到thingsboard3.6.3最后又回到了thingsboard3.6.4 导入步骤简单说一下,先从github下载thingsboard3.6.4 源码 导入代码
Read more →

Smart Air Conditioning Control With ThingsBoard

Automating Climate Control: Leveraging Dual Thermometers for Smart Air Conditioning via ThingsBoard 记录一次在thingsboard中通过同时满足两个温度计的温度条件来控制空调开关机 当然这并不是真实过程对接调式,只是通过模拟的方法来熟练一下thingsboard的ruleChain 第一步,创建一个空的规则链,名称就叫两个温度计控制空调的规则链 第二步,创建一个设备配置,名称就
Read more →

Server setup process using Headscale with Docker.

Server setup process using Headscale with Docker. 记录采用headscale & docker 异地组网过程 需求背景 曾经我尝试使用ZeroTier,最初的体验非常不错。然而,随着时间的推移,我发现连接速度变得缓慢和卡顿, 有时甚至需要借助特殊的网络加速技术来提高性能。后来,在X社区中,我看到有人分享了Tailscale的好评, 这促使我安装了Tailsc
Read more →

Solving HTTPS Debugging Issues with SSO Integration Using Ngrok on Windows

介绍 在这篇文章中,我们将探讨如何使用ngrok在Windows环境下解决与公司SSO系统对接时的HTTPS调试问题。我们将逐步介绍如何配置ngrok以实现内网穿透,从而允许远程服务器访问您的本地开发环境。 步骤1: 安装ngrok 首先,需要在Windows系统上安装ngrok。请按照以下步骤操作: 访问n
Read more →

Configure Direct Domain in Clash

In Clash, if you want a specific domain to bypass the proxy and connect directly, you can utilize the mixin and rules settings. Below is an example of how to set up a direct connection for the domain baolei.xxxx.com: dns: enable: true enhanced-mode: redir-host # 或者使用 fake-ip,根据你的需求选择 listen: 0.0.0.0:53 nameserver: - 172.20.128.2 # 你的首选DNS服务器,家庭内网dns,公司内网dns - 172.20.128.3 # 你的备用DNS服务器,家庭内网dns,公司内网dns # - "8.8.8.8" # 公共DNS,仅在访问互联网时使用 # - "8.8.4.4" #
Read more →

Resolving the Issue of Centos 7 Vm Unable to Ping Its Host Machine

解决因docker网络导致的网络问题,无法ping通局域网ip 背景 在我的办公室网络环境中,我有一个 Windows 10 宿主机,上面安装了 VMware,并在 VMware 中运行了一个 CentOS 7 虚拟机。虽然宿主机和 CentOS 7 虚拟机都可以正常上网并 ping 通外部地址,但 CentOS 7 无法 ping 通宿主机。这让我非常困惑,并最初怀疑可能是公司的网管对我的 MAC 地址进行了某
Read more →

OpenResty Lua Lapis and Redis Cluster Setup Guide

安装模块 下载并安装lua-resty-redis-cluster模块 lua-resty-redis-cluster模块的GitHub地址:https://github.com/iresty/lua-resty-redis-cluster 这个模块可以用来连接redis集群。 请将这个模块下载到任意的目录
Read more →