Background: Unable to open remote settings. Also cannot open gpedit.msc. Repair Command (cmd): @echo off pushd "%~dp0" dir /b C:\Windows\[......]继续阅读
Background: Unable to open remote settings. Also cannot open gpedit.msc. Repair Command (cmd): @echo off pushd "%~dp0" dir /b C:\Windows\[......]继续阅读
背景: 打不开远程设置。 也打不开 gpedit.msc。 修复命令(cmd): @echo off pushd "%~dp0" dir /b C:\Windows\servicing\Packages\Microsoft-Windows-GroupPolicy-ClientExtension[......]继续阅读
WorkflowDefinitionValidator is the main entry point for validation, which has a very complex object structure. Reference: https://github.com/serverles[......] 继续阅读
WorkflowDefinitionValidator 是整个验证入口,上一个非常复杂的对象结构。 参考:https://github.com/serverlessworkflow/specification/blob/main/specification.md 通过依赖注入,继续检查下一层的字段。[......] 继续阅读
The code example is as follows: System.Net.ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, sslPoli[......]继续阅读
代码示例如下: System.Net.ServicePointManager.ServerCertificateValidationCallback += (sender, certificate, chain, sslPolicyErrors) => true;[......]继续阅读
Establishing Link SDK Official Repository Address: https://github.com/open-telemetry/opentelemetry-go Design an execution flow like this: Run execute[......] 继续阅读
建立链路 SDK 官方仓库地址: https://github.com/open-telemetry/opentelemetry-go 设计一个这样的执行流程: Run 先后执行 Run1、Run2: a.Run1(newCtx) a.Run2(newCtx) Run1 中,还执行[......] 继续阅读
package main import ( "fmt" "os" "os/signal" ) func main() { // Set up channel on which to send signal notificatio[......]继续阅读
使用示例: package main import ( "fmt" "os" "os/signal" ) func main() { // Set up channel on which to send signal notifications. // W[......]继续阅读
Usage Common log methods in Go: Print/Printf/Println : Print log information Panic/Panicf/Panicln : Print log information and call Panic with the form[......]继续阅读
使用 Go 中常用的 log 方法: Print/Printf/Println : 打印日志信息 Panic/Panicf/Panicln : 打印日志信息后,以拼装好的字符串为参数调用 Panic Fatal/Fatalf/Fatalln : 打印日志信息后,os.Exit(1) 退出程序 New[......] 继续阅读
首先在要被执行的类型加上参数: [Option(Description = "CloudEvents 'source' (default: urn:example-com:mysource:abc)", LongName = "source",[......]继续阅读
首先在要被执行的 类型 加上参数: [Option(Description = "CloudEvents 'source' (default: urn:example-com:mysource:abc)", LongName = "source", ShortName = "s")][......]继续阅读
Introduce this library: YamlDotNet Configuration example: services.AddYamlDotNetSerializer( serializer => serializer[......]继续阅读
引入这个库: YamlDotNet 配置示例: services.AddYamlDotNetSerializer( serializer => serializer .IncludeNonPubli[......]继续阅读
From ServerlessWorkflow, I learned an interesting configuration for NewtonsoftJson. var newtonsoftJsonDefaultConfig = (JsonSerializerSetti[......]继续阅读
从 ServerlessWorkflow 中学习到一个有趣的 NewtonsoftJson 配置。 var newtonsoftJsonDefaultConfig = (JsonSerializerSettings settings) => {[......]继续阅读
ISO 8601 specifies the time format. In Go language, Duration implements this time format. package main import ( "fmt" "time&q[......]继续阅读
ISO8601 规定了时间格式。 在 Go 语言中,Duration 就实现了这种时间格式。 package main import ( "fmt" "time" ) func main() { t := time.Now() fmt.Println(t) } 输[......] 继续阅读