上一页 1 2 3 4 5 6 7 ··· 31 下一页
摘要: Replace environment variables in a file with their actual values? # config.xml <property> <name>instanceId</name> <value>$INSTANCE_ID</value> </proper 阅读全文
posted @ 2023-07-09 20:26 lvmxh 阅读(13) 评论(0) 推荐(0) 编辑
摘要: REF: grpc golang example Golang gRPC In-Depth Tutorial [Create Server & Client] This is a simple and good example. grpcurl -import-path ./proto -proto 阅读全文
posted @ 2023-07-08 19:16 lvmxh 阅读(39) 评论(0) 推荐(0) 编辑
摘要: How to define global shell functions in a Makefile? makfile with shell code block and function 阅读全文
posted @ 2023-07-07 19:01 lvmxh 阅读(4) 评论(0) 推荐(0) 编辑
摘要: we use ubuntu as example: open the ubuntu docker hub, https://hub.docker.com/_/ubuntu # with the right sha256, can works, suffix with 20 docker pull u 阅读全文
posted @ 2023-07-05 14:20 lvmxh 阅读(17) 评论(0) 推荐(0) 编辑
摘要: Golang test https://go.dev https://go.dev/testing/ Users who want to have more control over which packages are included for coverage can build with th 阅读全文
posted @ 2023-07-05 09:13 lvmxh 阅读(38) 评论(0) 推荐(0) 编辑
摘要: json(JSON标签) orm(Beego标签)、gorm(GORM标签)、bson(MongoDB标签)、form(表单标签)、binding(表单验证标签) Go系列:结构体标签 阅读全文
posted @ 2023-07-05 07:13 lvmxh 阅读(41) 评论(0) 推荐(0) 编辑
摘要: https://stackoverflow.com/questions/29396154/jq-setdiff-of-two-arrays 1. echo -n '{"all":["A","B","C","ABC"],"some":["B","C"]}' | jq '. as $d | .all | 阅读全文
posted @ 2023-06-12 19:54 lvmxh 阅读(128) 评论(0) 推荐(0) 编辑
摘要: ns=${ns:-maestro-platform-system} secret=${secret:-maestro-ca} kubectl get secret -n $ns $secret -o jsonpath='{.data.*}' | base64 -d | openssl x509 -n 阅读全文
posted @ 2023-06-06 11:58 lvmxh 阅读(4) 评论(0) 推荐(0) 编辑
摘要: How To Use Bash Wildcards For Globbing? shell中的文件名扩展和通配符的使用说明 10 Practical Examples Using Wildcards to Match Filenames in Linux 阅读全文
posted @ 2023-06-03 09:29 lvmxh 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 1. use awk https://stackoverflow.com/questions/2371248/how-to-convert-timestamps-to-dates-in-bash https://www.oreilly.com/library/view/learning-awk-pr 阅读全文
posted @ 2023-05-27 23:41 lvmxh 阅读(73) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 31 下一页