上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 89 下一页
摘要: 在 DCGM(Data Center GPU Manager)中,"Collect Switch Metrics" 和 "Collect Link Metrics" 是两个功能选项,用于收集关于 GPU 交换机和连接的指标数据。它们的含义如下: Collect Switch Metrics(收集交换 阅读全文
posted @ 2023-09-27 20:52 牛奔 阅读(184) 评论(0) 推荐(0)
摘要: 前言 使用 gorm 查询时,报错:stdErr = sql: Scan error on column index 0, name "total": converting NULL to float64 is unsupported 代码如下 var total float64 res := db 阅读全文
posted @ 2023-09-13 23:09 牛奔 阅读(447) 评论(0) 推荐(0)
摘要: # 前言 搭建的 harbor 仓库为 http 协议,在本地登录后,推送镜像发生如下报错: ``` docker push 192.168.xx.xx/test/grafana:v10.1.1 The push refers to repository [192.168.xx.xx/test/gr 阅读全文
posted @ 2023-09-04 21:43 牛奔 阅读(339) 评论(1) 推荐(1)
摘要: # 前言 搭建的 `harbor` 仓库为 `http` 协议,在本地登录时出现如下报错: ``` docker login http://192.168.xx.xx Username: admin Password: Error response from daemon: Get "https:/ 阅读全文
posted @ 2023-09-04 21:24 牛奔 阅读(369) 评论(0) 推荐(0)
摘要: # 前言 `protoc` 是 `protobuf` 文件(.proto)的编译器,可以借助这个工具把 `.proto` 文件转译成各种编程语言对应的源码,包含数据类型定义、调用接口等。 `protoc` 在设计上把 `protobuf` 和不同的语言解耦了,底层用 `c++` 来实现 `proto 阅读全文
posted @ 2023-08-30 22:43 牛奔 阅读(398) 评论(0) 推荐(0)
摘要: # 前言 `google.protobuf.Struct` 是 `Google Protocol Buffers` 中的一种特殊类型,用于表示动态的键值对数据。它可以存储任意类型的数据,并提供了方便的方法来访问和操作这些数据。 `Struct` 类型通常用于在不事先知道数据结构的情况下传递和处理配置 阅读全文
posted @ 2023-08-10 21:03 牛奔 阅读(739) 评论(0) 推荐(0)
摘要: # 前言 [linux ubuntu安装mysql](https://www.cnblogs.com/niuben/p/17463159.html) Ubuntu 安装 MySQL 后,在 `/etc/mysql` 目录下有个 `debian.cnf`,这里存储着默认的密码。 ``` [client 阅读全文
posted @ 2023-08-07 20:43 牛奔 阅读(555) 评论(0) 推荐(0)
摘要: 在 `Ubuntu` 上安装 `MySQL` 的步骤如下: 更新系统软件包列表: ``` sudo apt update ``` 安装 `MySQL` 服务器: ``` sudo apt install mysql-server ``` 安装完成,可以使用以下命令检查 `MySQL` 服务器是否正在 阅读全文
posted @ 2023-08-07 20:33 牛奔 阅读(129) 评论(0) 推荐(0)
摘要: # 退出/切换 github 账号 左下角点击头像按钮,选择注销,然后再重新登录 ![](https://img2023.cnblogs.com/blog/1303876/202307/1303876-20230731091844606-2003362209.png) 阅读全文
posted @ 2023-08-01 23:24 牛奔 阅读(2484) 评论(0) 推荐(0)
摘要: # 前言 python 报错`python ImportError: libGL.so.1: cannot open shared object file: No such file or directory` 这个错误通常表示你的 `Python` 程序需要使用 `OpenGL` 库,但是该库未安 阅读全文
posted @ 2023-08-01 23:21 牛奔 阅读(1897) 评论(0) 推荐(0)
上一页 1 ··· 10 11 12 13 14 15 16 17 18 ··· 89 下一页