摘要: 微信公众平台》基本设置》最下方有小程序ID 阅读全文
posted @ 2024-04-01 21:20 玉北 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 目录查看NVIDIA驱动版本conda相关创建conda环境进入/退出conda环境安装pytorchpytorch数据类型等基础编程 查看NVIDIA驱动版本 nvidia-smi conda相关 创建conda环境 conda create -n pytorch-xxx python=3.10 阅读全文
posted @ 2023-11-06 22:41 玉北 阅读(3) 评论(0) 推荐(0) 编辑
摘要: 基于hello_world.cc的IO流程 // 创建rados对象 librados::Rados rados; // 初始化rados对象 ret = rados.init("admin"); // 读取配置文件,-c 或 --config后接配置文件 ret = rados.conf_pars 阅读全文
posted @ 2023-03-26 21:27 玉北 阅读(25) 评论(0) 推荐(0) 编辑
摘要: git init 初始化git git remote add -f origin git@github.com:digLopez/knowledge_platform_server.git 关联github仓库并fetch全部分支 git checkout -b local origin/maste 阅读全文
posted @ 2023-03-05 16:10 玉北 阅读(5) 评论(0) 推荐(0) 编辑
摘要: wget --no-check-certificate https://www.python.org/ftp/python/3.11.2/Python-3.11.2.tgz tar -xzf Python-3.11.2.tgz cd Python-3.11.2 ./configure make su 阅读全文
posted @ 2023-02-12 11:35 玉北 阅读(21) 评论(0) 推荐(0) 编辑
摘要: 使用的目录结构 在lc684目录下使用go mod init main创建go.mod 命令行下 go build 根据go.mod中的module进行编译 go clean 根据go.mod中的module进行清理 main.exe 直接运行 阅读全文
posted @ 2022-07-06 22:15 玉北 阅读(154) 评论(0) 推荐(0) 编辑
摘要: 网页版vscode https://vscode.dev/ 阅读全文
posted @ 2021-11-15 22:58 玉北 阅读(16) 评论(0) 推荐(0) 编辑
摘要: # diff.py 仅比较两个路径下的同名文本文件,遇到不同名或内容不同的则停止 import os import sys def compare_2_file(path1, path2): try: fd1 = open(path1, "r", encoding="utf-8") fd2 = op 阅读全文
posted @ 2021-09-17 17:09 玉北 阅读(138) 评论(0) 推荐(0) 编辑
摘要: linux tar压缩解压缩详解 https://www.cnblogs.com/jyaray/archive/2011/04/30/2033362.html 阅读全文
posted @ 2021-09-11 09:51 玉北 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 统计多个目录或文件的单测覆盖率 pytest --cov ztp --cov _autoconfig --cov-report=html 阅读全文
posted @ 2021-09-09 10:55 玉北 阅读(16) 评论(0) 推荐(0) 编辑