Harbor 的安装部署比较麻烦,需要依赖官方的配置文件生成 docker-compose.yml ,要确保本地已经部署了 docker 和 docker-compose。 手写打开 https://github.com/goharbor/harbor/releases 下载压缩包,解压后打开目录。[......] 继续阅读
Harbor's installation and deployment can be quite complicated, as it requires the official configuration file to generate the docker-compose.yml. Ensu[......] 继续阅读
Deploying Casdoor There are several types of single sign-on authentication sources (protocols): LDAP, SMTP, OAuth2.0, etc., with OAuth2.0 being the[......] 继续阅读
部署 Casdoor 单点登录认证源(协议)大概有这么几种: LDAP、SMTP、OAuth2.0 等,目前主流是 OAuth2.0 ,支持 OAuth 的平台在开源社区也有不少,有 Keycloak、Okta、Casdoor 等,还有很多第三方的 OAuth2 Server SDK 或者商业收[......] 继续阅读
项目中使用 Grpc 时,由于有大量 Proto,会导致引入的时候需要配置大量文件,因此需要批量导入。 假如有目录: servicea serviceb 只想引入 servicea 的 proto 文件,则: <ItemGroup> <Protobuf Include=&[......]继续阅读
项目中使用 Grpc 时,由于有大量 Proto,会导致引入的时候需要配置大量文件,因此需要批量导入。 假如有目录: servicea serviceb 只想引入 servicea 的 proto 文件,则: <ItemGroup> <Protobuf In[......]继续阅读
踩了不少坑,因为网上的资料实在太陈旧了。。。 安装 vue 后,首先检查 package.json 中的命令,是否为 vite。 然后根据需求,定义多个环境及其名称。 "dev": "vite", "build":&quo[......]继续阅读
踩了不少坑,因为网上的资料实在太陈旧了。。。 安装 vue 后,首先检查 package.json 中的命令,是否为 vite。 然后根据需求,定义多个环境及其名称。 "dev": "vite", "build":"vite build", "build:test": "v[......]继续阅读
当 PDF 包含 STSONG-light 字体时,会导致转换 PDF 为图片时文字丢失。这是由于 Ghostscript 的默认配置问题,通常在 Docker 中会遇到这个问题。 查看 Ghostscript 配置文件: cat /etc/ghostscript/cidfmap.d/90gs-cj[......]继续阅读
当 pdf 中包含 STSONG-light 字体时,会导致 pdf 转图片时,文字丢失。这是因为 GHostscript 默认配置的问题。在 Docker 中往往会出现这个问题。 查看 Ghostscript 配置文件: cat /etc/ghostscript/cidfmap.d/90gs-cj[......]继续阅读
Kiota is a command-line tool used to generate code files in various programming languages from Swagger and OpenAPI specifications. Currently, it suppo[......] 继续阅读
Kiota 是一个命令行工具,用于将 swagger、openapi 生成对应语言的的代码文件,目前支持: .NET CLI(C# 的 System.CommandLine) Go Java PHP Python TypeScript/JavaScript 官方文档: https://learn[......] 继续阅读
折腾了好一段时间,office 365、outlook 等的授权验证方式过于麻烦,因此记录开发步骤。 大概开发过程如下: Go to register an Azure account, and then register the application. The tenant invites[......] 继续阅读
折腾了好一段时间,office 365、outlook 等的授权验证方式过于麻烦,因此记录开发步骤。 大概开发过程如下: 1,去注册 Azure 账号,然后进行应用注册。 2,租户邀请该用户加入组织中。 3,使用应用通过 OAuth 2.0 链接,获取用户的授权。 4,获取用户的 access_to[......] 继续阅读
Debezium can monitor the incremental changes of the following databases: MongoDB MySQL PostgreSQL SQL Server Oracle Db2 Cassandra Then it synchroniz[......] 继续阅读
Debezium 可以监控以下数据的增量变化: MongoDB MySQL PostgreSQL SQL Server Oracle Db2 Cassandra 然后将增量数据同步到 Kafka。 当数据同步到 Kafka 时,我们可以选择自己研发工具读取 Kafka 的数据,然后从 Kafka[......] 继续阅读
swagger2tsclient 并不是一个 Vue.js 相关的库,而是一个用于将 Swagger API 定义文件转换为 TypeScript 客户端代码的工具。您可以将生成的 TypeScript 客户端代码与 Vue.js 项目一起使用,以简化与后端 API 的交互。以下是如何在 Vue.j[......] 继续阅读
swagger2tsclient is not a Vue.js related library, but a tool used to convert Swagger API definition files into TypeScript client code. You can use the[......] 继续阅读
Snort 是一款开源的入侵检测和防止系统(IDS/IPS),用于监控网络流量并阻止恶意行为。以下是 Snort 的基本使用方法: 安装 Snort: 对于 Debian/Ubuntu 系统,使用以下命令安装: sudo apt-get update sudo apt-get install[......]继续阅读
Snort is an open-source Intrusion Detection and Prevention System (IDS/IPS) used to monitor network traffic and block malicious behavior. Here are the[......] 继续阅读