摘要: gdb 调试多进程 # 调试父进程 set follow-fork-mode parent # 调试子进程 set follow-fork-mode child # 设置调试模式,缺省是on, 表示调试当前进程的时候,其它的进程继续运行。如果用off,调试当前进程的时候,其它进程被gdb挂起。 se 阅读全文
posted @ 2024-03-14 22:03 FigureOut 阅读(15) 评论(0) 推荐(0)
摘要: # 服务端 import socket ip_port = ('127.0.0.1', 1234) sk = socket.socket(socket.AF_INET, socket.SOCK_DGRAM, 0) sk.bind(ip_port) while True: data = sk.recv 阅读全文
posted @ 2023-11-17 17:50 FigureOut 阅读(212) 评论(0) 推荐(0)
摘要: # 设置最小CMAKE版本号 cmake_minimum_required(VERSION 3.15) # 项目名称 project(test) # 设置变量SRC,将add.cpp div.cpp..等赋值给SRC set(SRC add.cpp div.cpp mult.cpp main.cpp 阅读全文
posted @ 2023-11-15 20:59 FigureOut 阅读(15) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/Hang14/article/details/79312450 阅读全文
posted @ 2023-09-15 17:24 FigureOut 阅读(127) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/doujingwei0825/article/details/126997189 https://blog.csdn.net/inthat/article/details/131365519 阅读全文
posted @ 2023-09-14 20:33 FigureOut 阅读(34) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_38043069/article/details/128400761 https://blog.csdn.net/weixin_43981221/article/details/90113079 https://zhuanlan.zhihu.com/ 阅读全文
posted @ 2023-09-14 20:27 FigureOut 阅读(405) 评论(0) 推荐(0)
摘要: pip install torch==1.11.0 torchvision==0.12.0 torchaudio==0.11.0 -i https://mirrors.aliyun.com/pypi/simple --trusted-host mirrors.aliyun.com 阅读全文
posted @ 2023-09-09 12:19 FigureOut 阅读(1873) 评论(0) 推荐(0)
摘要: ubuntu系统下安装cuda-toolkit步骤: 官网下载cuda-toolkit ,官网下载地址:https://developer.nvidia.com/cuda-toolkit-archive 官网中有多个版本可以安装,其中主要分为runfile(local)和deb(local) 版本, 阅读全文
posted @ 2023-09-06 16:23 FigureOut 阅读(3146) 评论(0) 推荐(0)
摘要: daemon启动docker服务以及停止 systemctl start docker systemctl stop docker systemctl status docker docker的镜像相关操作 #查看本地镜像 docker images #搜索镜像 docker search redi 阅读全文
posted @ 2023-08-03 21:22 FigureOut 阅读(89) 评论(0) 推荐(0)
摘要: password为sudo的密码 #include "include/rapidjson/stringbuffer.h" #include "include/rapidjson/writer.h" #include "include/rapidjson/document.h" #include <i 阅读全文
posted @ 2023-08-01 17:28 FigureOut 阅读(78) 评论(0) 推荐(0)