06 2020 档案

摘要:原文链接:https://blog.csdn.net/lxq_9532/article/details/82893170 faststone-capture下载链接: https://en.softonic.com/download/faststone-capture/windows/post-do 阅读全文
posted @ 2020-06-28 16:58 salami_china 阅读(14507) 评论(2) 推荐(10) 编辑
摘要:两种 go 实现 set 的思路, 分别是 map 和 bitset。 map 的 key 肯定是唯一的,而这恰好与 set 的特性一致,天然保证 set 中成员的唯一性。而且通过 map 实现 set,在检查是否存在某个元素时可直接使用 _, ok := m[key] 的语法,效率高。 原文链接: 阅读全文
posted @ 2020-06-28 14:07 salami_china 阅读(2487) 评论(0) 推荐(0) 编辑
摘要:a := []int{0, 1, 2, 3, 4} //删除第i个元素 i := 2 a = append(a[:i], a[i+1:]...) 阅读全文
posted @ 2020-06-24 21:26 salami_china 阅读(1165) 评论(0) 推荐(0) 编辑
摘要:原文链接:https://www.jianshu.com/p/603be4962a62 demo package main import ( "fmt" "sort" ) /*slice 简单排序示例*/ func main() { //定义一个年龄列表 ageList := []int{1, 3, 阅读全文
posted @ 2020-06-19 17:42 salami_china 阅读(1907) 评论(0) 推荐(0) 编辑
摘要:原文链接:https://opendev.org/starlingx/ha/src/commit/045a37c672a92f1412629a176f51183c88882e61/service-mgmt-api/sm-api/sm_api/cmd/api.py make_server 接口配置 h 阅读全文
posted @ 2020-06-18 14:09 salami_china 阅读(206) 评论(0) 推荐(0) 编辑
摘要:OpenStack Restful API框架介绍 阅读全文
posted @ 2020-06-18 10:07 salami_china 阅读(121) 评论(0) 推荐(0) 编辑
摘要:https://book-v1.book.kubebuilder.io/basics/simple_controller.html 阅读全文
posted @ 2020-06-16 09:33 salami_china 阅读(185) 评论(0) 推荐(0) 编辑
摘要:原文链接:https://s0godoc0org.icopy.site/sigs.k8s.io/controller-runtime/pkg/controller/controllerutil import "sigs.k8s.io/controller-runtime/pkg/controller 阅读全文
posted @ 2020-06-15 10:37 salami_china 阅读(362) 评论(0) 推荐(0) 编辑
摘要:原文链接:http://cngolib.com/container-list.html(中文),https://golang.org/pkg/container/list/(英文) 示例: package main import ( "container/list" "fmt" ) func mai 阅读全文
posted @ 2020-06-10 15:20 salami_china 阅读(421) 评论(0) 推荐(0) 编辑
摘要:num = [1,2,3,4,5,6,7,8,9] for i in range(0, num.__len__())[::-1]: print num[i] 阅读全文
posted @ 2020-06-10 10:21 salami_china 阅读(1722) 评论(0) 推荐(0) 编辑
摘要:demo1 package main import ( "fmt" "reflect" ) func main() { sliceMap1 := make([]map[interface{}]interface{},0) sliceMap2 := make([]map[interface{}]int 阅读全文
posted @ 2020-06-09 18:18 salami_china 阅读(712) 评论(0) 推荐(0) 编辑
摘要:原文链接:MPLS L3VPN为什么要使用两层MPLS标签? 阅读全文
posted @ 2020-06-09 09:24 salami_china 阅读(2) 评论(0) 推荐(0) 编辑
摘要:原文链接:http://www.52bd.net/code/210.html demo: package main import ( "fmt" ) //通知行为的接口 type notifier interface{ notify() } //自定义的用户类型 type user struct{ 阅读全文
posted @ 2020-06-08 16:34 salami_china 阅读(525) 评论(0) 推荐(0) 编辑
摘要:原文链接:https://blog.csdn.net/skh2015java/article/details/90720692omitempty作用是在json数据结构转换时,当该字段的值为该字段类型的零值时,忽略该字段。 package main import ( "fmt" "encoding/ 阅读全文
posted @ 2020-06-08 09:43 salami_china 阅读(1358) 评论(0) 推荐(0) 编辑
摘要:原文链接:https://blog.csdn.net/weixin_43223076/article/details/83550229 demo1: package main import ( "net/http" "log" "encoding/json" ) type User struct{ 阅读全文
posted @ 2020-06-08 09:37 salami_china 阅读(232) 评论(0) 推荐(0) 编辑
摘要:原文:https://www.jianshu.com/p/e53083132a25 Buffer 介绍 Buffer 是 bytes 包中的一个 type Buffer struct{…} A buffer is a variable-sized buffer of bytes with Read 阅读全文
posted @ 2020-06-05 19:04 salami_china 阅读(3095) 评论(0) 推荐(1) 编辑
摘要:Linux高性能交流社区 阅读全文
posted @ 2020-06-02 11:18 salami_china 阅读(169) 评论(0) 推荐(0) 编辑
摘要:原文:https://ericfu.me/aws-notes-vpc/ VPC 把 VPC 想象成一个逻辑上的数据中心 包含一个 IGW (Internet Gateway)或者 Virtual Private Gateway,Route Tables,Network ACLs,Subnets,Se 阅读全文
posted @ 2020-06-02 09:24 salami_china 阅读(494) 评论(0) 推荐(0) 编辑
摘要:原文:https://colobu.com/2017/10/11/badger-a-performant-k-v-store/ github地址:https://github.com/dgraph-io/badger badger 大家好,给大家介绍一下, 新晋的高性能的 K/V数据库: badge 阅读全文
posted @ 2020-06-01 09:27 salami_china 阅读(765) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示