摘要: 点击查看 import jakarta.annotation.Resource; import jakarta.servlet.http.HttpServletResponse; import org.apache.poi.ss.usermodel.*; import org.apache.poi. 阅读全文
posted @ 2025-11-26 23:28 凛冬雪夜 阅读(5) 评论(0) 推荐(0)
摘要: 代码执行节点安装 python 依赖包,如: requests, pandas 1. 替换 docker-compose.yaml 中的 sandbox 镜像 默认情况下,dify 使用的是官方的 sandbox 镜像,不支持直接扩展库。 # image: langgenius/dify-sandb 阅读全文
posted @ 2025-11-22 16:31 凛冬雪夜 阅读(8) 评论(0) 推荐(0)
摘要: 点击查看代码 # linux 查看日志 参考: https://juejin.cn/post/7157900335539814430 ## 模糊匹配关键字,查看关键字所在行上面 5 行内容 grep test a.txt -B5 ## 模糊匹配关键字,查看关键字所在行下面 5 行内容 grep te 阅读全文
posted @ 2025-11-17 21:54 凛冬雪夜 阅读(5) 评论(0) 推荐(0)
摘要: 点击查看 import org.junit.Test; import java.time.*; import java.time.format.DateTimeFormatter; import java.time.temporal.ChronoUnit; import java.time.temp 阅读全文
posted @ 2025-11-16 20:47 凛冬雪夜 阅读(12) 评论(0) 推荐(0)
摘要: 点击查看 import lombok.Data; import java.sql.*; import java.util.*; public class CodeGenerator { // 数据库连接配置 private static final String DB_URL = "jdbc:mys 阅读全文
posted @ 2025-11-16 15:39 凛冬雪夜 阅读(7) 评论(0) 推荐(0)
摘要: UserInfoMapper import org.apache.ibatis.annotations.Param; import org.springframework.stereotype.Repository; import java.util.List; @Repository public 阅读全文
posted @ 2025-11-16 14:33 凛冬雪夜 阅读(4) 评论(0) 推荐(0)
摘要: docker 基本概念 仓库(Repository) 类似于 git,可看做是一个代码控制中心,用来保存镜像 镜像(Image) 相当于是一个 root 文件系统 容器(Container) 镜像和容器的关系,java 中的类和实例一样,镜像是静态的定义,容器是镜像运行时的实例,容器可以被创建、启动 阅读全文
posted @ 2025-11-02 17:44 凛冬雪夜 阅读(17) 评论(0) 推荐(0)
摘要: IDEA快捷键 最常用 Ctrl+X: 删除行 Ctrl+D: 1. 复制行 2. git日志中文件对比提交前后的文件 Ctrl+Shift+Up/Down: 向上/下移动语句 Ctrl+Alt+M: Extract Method Ctrl+Alt+T: Surround With Ctrl+F: 阅读全文
posted @ 2025-11-02 17:39 凛冬雪夜 阅读(15) 评论(0) 推荐(0)
摘要: 在本地当前分支已提交代码的基础上,新建本地分支 git branch 分支名称 切换到指定分支 git checkout 分支名称 上面 2 个命令可以合并为一个命令: 在本地当前分支已提交代码的基础上,新建本地分支,并切换到新建的分支 git checkout -b 分支名称 也可以使用 idea 阅读全文
posted @ 2025-11-02 17:38 凛冬雪夜 阅读(17) 评论(0) 推荐(0)
摘要: 点击查看代码 # oracle存储过程 # 测试用 sql ```sql CREATE TABLE TB_A ( ID VARCHAR2 ( 255 ) NOT NULL ENABLE, NAME VARCHAR2 ( 255 ), AGE NUMBER, CHECK ( ID IS NOT NUL 阅读全文
posted @ 2025-07-17 23:55 凛冬雪夜 阅读(14) 评论(0) 推荐(0)