Fork me on GitHub
摘要: 安装Docker | 安装 Homebrew(如果未安装) /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" 安装 Docker CLI brew insta 阅读全文
posted @ 2025-07-16 12:01 逍遥メ风 阅读(10) 评论(0) 推荐(0)
摘要: Function FindCellByText(searchRange As Range, searchText As String) As Range ' 功能:在指定列中查找包含特定文本的单元格 ' 参数: ' searchRange - 要搜索的列范围 ' searchText - 要查找的文 阅读全文
posted @ 2025-06-26 17:19 逍遥メ风 阅读(24) 评论(0) 推荐(0)
摘要: JDK version: 1.8 Gradle version: 6.8 生成Credential gcloud auth application-default login --impersonate-service-account Gradle config plugins { id 'java 阅读全文
posted @ 2024-10-08 17:13 逍遥メ风 阅读(67) 评论(0) 推荐(0)
摘要: Install Kubectl https://kubernetes.io/docs/tasks/tools/install-kubectl-linux/#install-using-native-package-management install kubectl plugins krew htt 阅读全文
posted @ 2024-10-08 17:01 逍遥メ风 阅读(13) 评论(0) 推荐(0)
摘要: Pod kubectl --kubeconfig=kubeconfig.yaml get pods kubectl --kubeconfig=kubeconfig.yaml describe pod hello-api kubectl --kubeconfig=kubeconfig.yaml edi 阅读全文
posted @ 2023-10-18 18:01 逍遥メ风 阅读(6) 评论(0) 推荐(0)
摘要: 一般错误处理 app.use((err, req, res, next) => { const statusCode = err.statusCode || 500; console.error(new Date().toLocaleString(), req.originalUrl, status 阅读全文
posted @ 2023-02-10 11:17 逍遥メ风 阅读(237) 评论(0) 推荐(0)
摘要: 安装依赖包 ## 为了方便写API我引入了express npm i express npm i sequelize npm i mysql2 新建appConfig.js用于读取多环境下的配置 const AppConfig = { nodeEnv: process.env.NODE_ENV, n 阅读全文
posted @ 2022-10-03 23:25 逍遥メ风 阅读(515) 评论(0) 推荐(0)
摘要: 导入依赖包 npm i dotenv 设置系统环境变更NODE_ENV export NODE_ENV=dev 添加不同环境配置文件 .env.dev ENV_NAME=Dev SERVER_PORT=3000 .env.test ENV_NAME=Test SERVER_PORT=3001 .en 阅读全文
posted @ 2022-10-03 19:14 逍遥メ风 阅读(686) 评论(0) 推荐(0)
摘要: 因现在微服务项目多,服务之间接口调用也用的多,加上每次写项目都的弄次这HTTPS的配置东东,今天没事记录下来。 POM配置 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter 阅读全文
posted @ 2022-08-26 16:59 逍遥メ风 阅读(2275) 评论(0) 推荐(0)
摘要: 添加依赖 dependencies { compile group: 'com.google.code.gson', name: 'gson', version: '2.8.6' compile group: 'io.jsonwebtoken', name: 'jjwt-api', version: 阅读全文
posted @ 2020-12-08 18:04 逍遥メ风 阅读(353) 评论(0) 推荐(0)