Background During local development, the internal network's HTTPS is considered insecure. This can result in JS requests not being sent. To secure HT[......] 继续阅读

2022年11月9日 0条评论 98点热度 5人点赞 痴者工良 阅读全文

背景 因为本地开发时,内网的 https 是不安全的 https。 会导致 js 发不出请求。 为了让 https 安全,这里实现了本地 localhost 自动生成证书以及安装的过程。 写代码 生成证书使用的是 .NET 自带的库,不需要引入第三方包。 using System.Security[......]继续阅读

2022年11月9日 0条评论 7023点热度 5人点赞 痴者工良 阅读全文

Fluentd is deployed in Kubernetes using the fluentd-daemonset-elasticsearch-rbac.yaml file, which contains configurations for RBAC permissions, etc. H[......] 继续阅读

2022年11月9日 0条评论 2106点热度 0人点赞 痴者工良 阅读全文

Fluentd 在 Kubernetes 下部署时,需要使用 fluentd-daemonset-elasticsearch-rbac.yaml 文件,里面配置了 RABC 权限等,但是启动起来后,查看 Fluentd 日志,发现 unread ,原因是日志位置的问题。 原版日志收集配置: [......]继续阅读

2022年11月9日 0条评论 2074点热度 0人点赞 痴者工良 阅读全文

地址: https://devblogs.microsoft.com/dotnet/configuring-https-in-asp-net-core-across-different-platforms/ 创建一个 https.config 文件: [ req ] default_bits[......]继续阅读

2022年11月7日 1条评论 2298点热度 0人点赞 痴者工良 阅读全文

地址: https://devblogs.microsoft.com/dotnet/configuring-https-in-asp-net-core-across-different-platforms/ 创建一个 https.config 文件: [ req ] default_bits[......]继续阅读

2022年11月7日 1条评论 2276点热度 0人点赞 痴者工良 阅读全文

默认情况下,MAUI 全屏的时候,任务栏会被屏蔽掉。 参考解决方法:GitHub Issue 5478 获取窗口对象: IntPtr nativeWindowHandle = WinRT.Interop.WindowNative.GetWindowHa[......]继续阅读

2022年11月7日 0条评论 126点热度 1人点赞 痴者工良 阅读全文

默认情况下,MAUI 全屏的时候,任务栏会被屏蔽掉。 参考解决方法:https://github.com/dotnet/maui/issues/5478 获取窗口对象: IntPtr nativeWindowHandle = WinRT.Interop[......]继续阅读

2022年11月7日 0条评论 2523点热度 1人点赞 痴者工良 阅读全文

Due to the requirements of the new versions of Docker and Kubernetes for the system, the following operations must first be performed to ensure that D[......] 继续阅读

2022年11月6日 0条评论 2956点热度 0人点赞 痴者工良 阅读全文

由于新版本的 docker 跟 kubernetes 对系统有要求,因此首先要做以下操作,确保 docker、kubelet 可以正常工作。 首先修改或添加 /etc/docker/daemon.json,内容替换如下: { "registry-mirrors": ["https://94[......]继续阅读

2022年11月6日 0条评论 2964点热度 0人点赞 痴者工良 阅读全文

有以下 N 个因子: new List<string>{"A","B","C"}, // Position 0 new List<string>{"1","[......]继续阅读

2022年11月2日 0条评论 92点热度 0人点赞 痴者工良 阅读全文

有以下 N 个因子: new List<string>{"A","B","C"}, // 位置 0 new List<string>{"1","2","3"}, // 位置 1 new List<str[......]继续阅读

2022年11月2日 0条评论 2814点热度 0人点赞 痴者工良 阅读全文