```yaml kind: Deployment apiVersion: apps/v1 metadata: name: jenkins namespace: paas-jenkins spec: replicas: 1 selector: matchLabels: app: jenkins tem... ...
分类:
其他好文 时间:
2020-05-01 00:57:36
阅读次数:
69
从 maven mybatis-plus 导的坐标为 <!-- https://mvnrepository.com/artifact/com.baomidou/mybatis-plus --> <dependency> <groupId>com.baomidou</groupId> <artifac ...
分类:
编程语言 时间:
2020-04-29 23:28:09
阅读次数:
319
反射reflect 一、引入 先看官方Doc中Rob Pike给出的关于反射的定义: 维基百科中的定义: 不同语言的反射模型不尽相同,有些语言还不支持反射。《Go 语言圣经》中是这样定义反射的: Go 语言提供了一种机制在运行时更新变量和检查它们的值、调用它们的方法,但是在编译时并不知道这些变量的具 ...
分类:
编程语言 时间:
2020-04-26 10:39:57
阅读次数:
61
DBGvpp# show vxlan tunnel [0] instance 0 src 192.168.1.229 dst 192.168.1.82 vni 10 fib-idx 0 sw-if-idx 2 encap-dpo-idx 1 DBGvpp# DBGvpp# show vxlan tu ...
分类:
其他好文 时间:
2020-04-22 16:43:11
阅读次数:
136
The "eight queens puzzle" is the problem of placing eight chess queens on an 8 chessboard so that no two queens threaten each other. Thus, a solution ...
分类:
其他好文 时间:
2020-04-21 23:40:06
阅读次数:
92
微信公众号:Dotnet9,网站:Dotnet9,问题或建议:请网站留言, 如果对您有所帮助:欢迎赞赏。 .NET CORE(C#) WPF 值得推荐的动画菜单设计 阅读导航 本文背景 代码实现 本文参考 源码 1. 本文背景 YouTube上老外的一个设计,站长觉得不错,分享给大家作为参考,抽屉菜 ...
一键部署rsync服务 [root@m01 conf] cat /server/scripts/rsync.yaml command playbook hosts: 172.16.1.41 tasks: name: setup01:install rsync yum: name: rsync sta ...
分类:
其他好文 时间:
2020-04-20 15:22:10
阅读次数:
63
Problem : Given two integers L and R, find the count of numbers in the range [L, R] (inclusive) having a prime number of set bits in their binary repr ...
分类:
其他好文 时间:
2020-04-20 11:50:44
阅读次数:
65
图示 set的两个主要实现类,TreeSet和HashSet,底层存储结构都是用的map,而且是将set需要存储的值放在map的key里的,PRESENT是一个空的object对象。 map每次put如果key值不存在,返回的是null,key值如果存在,则返回之前key的oldValue,这样与n ...
分类:
其他好文 时间:
2020-04-18 09:38:02
阅读次数:
76
该项目的目的是建立一个有关于人脸的二分类器。 steps : 1. Load the data2. Define a Convolutional Neural Network3. Train the Model4. Evaluate the Performance of our trained mo ...
分类:
其他好文 时间:
2020-04-17 16:00:26
阅读次数:
145