Tauri is an application building toolkit that enables you to build software for all major desktop operating systems using web technologies. Official w[......] 继续阅读

2022年12月28日 7条评论 25616点热度 0人点赞 痴者工良 阅读全文

Tauri 是一款应用构建工具包,让您能够为使用 Web 技术的所有主流桌面操作系统构建软件。 官网地址:https://tauri.app/zh-cn/ Tauri 可以构建跨平台的快速、安全、前端隔离应用,Tauri 支持多种创建项目模板的方式: 安装开发环境 Tauri 支持使用 Wind[......] 继续阅读

2022年12月28日 7条评论 33339点热度 0人点赞 痴者工良 阅读全文

Background: Unable to open remote settings. Also cannot open gpedit.msc. Repair Command (cmd): @echo off pushd "%~dp0" dir /b C:\Windows\[......]继续阅读

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

背景: 打不开远程设置。 也打不开 gpedit.msc。 修复命令(cmd): @echo off pushd "%~dp0" dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtension[......]继续阅读

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

首先打开 /etc/kubernetes/pki 目录,里面会有很多证书。 执行命令查看当前证书允许通过哪些地址访问 APIServer: openssl x509 -in apiserver.crt -noout -text | grep -A 2 'Alternative' 可以看到证书[......] 继续阅读

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

首先打开 /etc/kubernetes/pki 目录,里面会有很多证书。 执行命令查看当前证书允许通过哪些地址访问 APIServer: openssl x509 -in apiserver.crt -noout -text|grep -A 2 'Alternative' 可以看到证书允许的[......] 继续阅读

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

示例代码如下: void Main() { string pName = "程序的名称"; Process[] temp = Process.GetProcessesByName(pName); if (temp.Length > 0) { IntPtr han[......]继续阅读

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

示例代码如下: void Main() { string pName = "程序的名称"; Process[] temp = Process.GetProcessesByName(pName); if (temp.Length > 0) { In[......]继续阅读

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

MYSQL database transactions support the following isolation levels: Read Uncommitted Read Committed Repeatable Read Serializable In each session, the[......] 继续阅读

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

MYSQL 数据库事务支持以下几种隔离级别: Read Uncommitted(读取未提交内容) Read Committed(读取提交内容) Repeatable Read(可重读) Serializable(可串行化) 每个会话中,都可以设置事务的隔离级别,如果不设置,就会使用数据库默认的隔离级[......] 继续阅读

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

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条评论 3110点热度 0人点赞 痴者工良 阅读全文

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

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

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

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

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

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

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

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

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

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

我的 Elasticsearch 是单机部署的,因此要将 kubernetes Fluentd 接入 Elasticsearch,需要改点配置项。 首先是在 kubernetes 上安装 Fluentd。 下载 yaml 模板仓库: git clone https://github.com/flue[......]继续阅读

2022年10月20日 0条评论 3646点热度 0人点赞 痴者工良 阅读全文

My Elasticsearch is deployed on a single machine, so to connect Kubernetes Fluentd to Elasticsearch, I need to modify some configuration items. First,[......] 继续阅读

2022年10月20日 0条评论 6378点热度 0人点赞 痴者工良 阅读全文

参考文章: https://blog.csdn.net/UbuntuTouch/article/details/120524770 创建网络、存储卷: docker network create elastic docker volume create elasticsearch 创建容器: do[......]继续阅读

2022年10月20日 0条评论 4038点热度 1人点赞 痴者工良 阅读全文

Create Network and Volume: docker network create elastic docker volume create elasticsearch Create Container: docker run -itd --name elasticsearch \[......]继续阅读

2022年10月20日 0条评论 4100点热度 1人点赞 痴者工良 阅读全文