涛子 - 简单就是美

成单纯魁增,永继振国兴,克复宗清政,广开家必升

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2023年3月30日

摘要: https://dev.to/karanpratapsingh/go-course-advanced-concurrency-patterns-3ap4 1. Generator package main import "fmt" func generator() <-chan int { ch : 阅读全文
posted @ 2023-03-30 10:04 北京涛子 阅读(5) 评论(0) 推荐(0) 编辑

2023年3月21日

摘要: https://maas.io/docs/how-to-install-maas 阅读全文
posted @ 2023-03-21 16:09 北京涛子 阅读(5) 评论(0) 推荐(0) 编辑

2023年1月29日

摘要: https://www.jianshu.com/p/e8b26dc7884a package main import ( "fmt" "math/rand" "sync" "time" ) // SimpleData stuct type SimpleData struct { ID int } / 阅读全文
posted @ 2023-01-29 11:15 北京涛子 阅读(11) 评论(0) 推荐(0) 编辑

摘要: https://blog.csdn.net/qq_55752792/article/details/125917846 package main import ( "fmt" "math/rand" "sync" "time" ) // Job struct type Job struct { ID 阅读全文
posted @ 2023-01-29 10:04 北京涛子 阅读(58) 评论(0) 推荐(0) 编辑

2022年12月21日

摘要: http://events.jianshu.io/p/3ff594bb87de https://www.zhihu.com/question/318138275/answer/2127814257 Go语言的泛型(Generic)叫做类型参数。泛型可以让我们代码适应不同类型的参数 /* 声明一个带有 阅读全文
posted @ 2022-12-21 15:21 北京涛子 阅读(99) 评论(0) 推荐(0) 编辑

2022年12月13日

摘要: 1. 生成sshkey ssh-keygen -f root.pem -N '' -C 'root@local' ssh-keygen -f ansible.pem -N '' -C 'ansible@local' ssh-keygen -f app.pem -N '' -C 'app@local' 阅读全文
posted @ 2022-12-13 16:49 北京涛子 阅读(21) 评论(0) 推荐(0) 编辑

2022年11月3日

摘要: 1. 资源分配 ||主机名|组件| | | | | |1|vm-120|NameNode+RM+ZK+JN| |1|vm-120|NameNode+RM+ZK+JN| 阅读全文
posted @ 2022-11-03 10:40 北京涛子 阅读(33) 评论(0) 推荐(0) 编辑

2022年9月29日

摘要: 1. 安装collection devsec.hardening $ ansible-galaxy collection install devsec.hardening 2. 查看role $ tree -d /home/rocky/.ansible/collections/ansible_col 阅读全文
posted @ 2022-09-29 16:19 北京涛子 阅读(204) 评论(0) 推荐(0) 编辑

2022年8月30日

摘要: https://www.itzgeek.com/how-tos/linux/ubuntu-how-tos/install-containerd-on-ubuntu-22-04.html https://github.com/containerd/containerd/blob/main/docs/g 阅读全文
posted @ 2022-08-30 09:58 北京涛子 阅读(18) 评论(0) 推荐(0) 编辑

2022年8月25日

摘要: git clone https://github.com/adobe-fonts/source-code-pro.git git clone https://github.com/be5invis/Iosevka.git git clone https://github.com/tonsky/Fir 阅读全文
posted @ 2022-08-25 17:08 北京涛子 阅读(20) 评论(0) 推荐(0) 编辑