#include<stdio.h> #include<stdlib.h> #include<conio.h> #include<string.h> #define LEN sizeof(struct scorenode) #define DEBUG struct scorenode{ int num ...
分类:
其他好文 时间:
2021-01-02 11:46:23
阅读次数:
0
clientset := K8sClient() var ( err error data []byte deployment =&v1.Deployment{} ) if data, err = ioutil.ReadFile("C:/Users/72088854/go/src/config"); ...
分类:
其他好文 时间:
2021-01-02 11:33:55
阅读次数:
0
[html] view plain copy [root@zookeeper1 zookeeper-3.4.5]# bin/zkServer.sh status JMX enabled by default Using config: /usr/local/zookeeper-3.4.5/bin/. ...
分类:
其他好文 时间:
2021-01-02 11:24:19
阅读次数:
0
goroutine 池工具已经有好多了,好多都会基于channel或者cas 进行开发设计 谷歌的errgroup以及machine 都是一个不错的选择,Jeffail/tunny 也是一个比较稳定 的包 参考使用 main.go package main ? import ( "io/ioutil ...
分类:
其他好文 时间:
2021-01-02 11:17:37
阅读次数:
0
1 struct{}类型的chan只能接受struct{}{},其余的都不行, package main import ( "fmt" "time" ) func fun1(m chan int) { time.Sleep(5*time.Second) m <- 4 } func fun2(m ch ...
分类:
其他好文 时间:
2021-01-01 12:06:12
阅读次数:
0
本文参考自 https://blog.csdn.net/bohu83/article/details/105320327 假设现在有两张表 CREATE TABLE `tradelog` ( `id` int(11) NOT NULL, `tradeid` varchar(32) DEFAULT N ...
分类:
数据库 时间:
2021-01-01 11:54:50
阅读次数:
0
public 任意包的任意类都可以访问 protected 可以在不同的包的子类中被访问 其他的类不能访问 默认(default) 同一个包的子类访问 private 只能在本类中访问 ...
分类:
其他好文 时间:
2020-12-31 12:57:03
阅读次数:
0
Nginx代理Portainer 背景 微服务项目中用到了Portainer来作为Docker Swarm集群的管理工具。 由于生产环境IT管理员仅允许开放80端口,因此希望可以使用Nginx进行代理,与业务公用一个80端口号 配置 修改/etc/nginx/conf.d/default.conf ...
分类:
其他好文 时间:
2020-12-31 12:22:56
阅读次数:
0
在C#中,如果有一个方法我们不想继续使用,需要废弃的时候,可以在该方法前面加上一个[Obsolete]。例如: [Obsolete] public double GetArea() { switch (_arg) { case CIRCLE: return _size * _size; case S ...
https://www.hex-rays.com/wp-content/static/products/ida/idapro_cheatsheet.html File Operations Parse C header file... Ctrl+F9 Create ASM file... Alt+F ...
分类:
其他好文 时间:
2020-12-30 11:11:25
阅读次数:
0