11 2023 档案

摘要:一、SSH的概述1.1.ssh的含义SSH(Secure Shell)是一种安全通道协议,主要用来实现字符界面的远程登录、远程复制等功能。SSH协议对通信双方的数据传输进行了加密处理,其中包括用户的登录时输入的用户口令,SSH为建立在应用层和传输层基础上的安全协议。 1.2.SSH服务的特点网络 S 阅读全文
posted @ 2023-11-23 09:19 Arxu 阅读(99) 评论(0) 推荐(0) 编辑
摘要:Git是分布式版本控制系统 Workspace: 工作区 Index / Stage: 暂存区 Repository: 仓库区(或本地仓库) Remote: 远程仓库 SVN与Git的最主要的区别? SVN是集中式版本控制系统, 版本库是集中放在中央服务器的, 而干活的时候, 用的都是自己的电脑, 阅读全文
posted @ 2023-11-22 23:52 Arxu 阅读(9) 评论(0) 推荐(0) 编辑
摘要:import os import shutil data = """E670Z""" # 按照 "E" 进行分割,并保留 "E" 在每个元素前面 elements = ["E" + item.strip() for item in data.split("E") if item] print(ele 阅读全文
posted @ 2023-11-19 14:17 Arxu 阅读(14) 评论(0) 推荐(0) 编辑
摘要:from cadquery import * import cadquery as cq from math import * def helix(r0, r_eps, p, h, d=0, frac=1e-1): def func(t): if frac < t < 1 - frac: z = h 阅读全文
posted @ 2023-11-19 13:44 Arxu 阅读(54) 评论(0) 推荐(0) 编辑
摘要:旋转角度,逆时针为正 pathdemo4 = pathdemo.rotate((0, 0, 0),(0,0,10),10) pathdemo3 = pathdemo.rotateAboutCenter((10,0,0),30) 阅读全文
posted @ 2023-11-10 17:05 Arxu 阅读(13) 评论(0) 推荐(0) 编辑
摘要:import cadquery as cq # 用于创建样条曲线和折线路径的点集 pts = [(0, 1), (1, 2), (2, 4)] # 从点集生成样条曲线路径 path = cq.Workplane("XZ").spline(pts) # 沿着刚刚创建的样条曲线路径扫描一个直径为 1.0 阅读全文
posted @ 2023-11-10 16:19 Arxu 阅读(27) 评论(0) 推荐(0) 编辑
摘要:os.environ["CUDA_VISIBLE_DEVICES"] = "0" os.environ["CUDA_VISIBLE_DEVICES"] = "0" 是Python中的代码,它用于设置环境变量 CUDA_VISIBLE_DEVICES 的取值为 "0"。 在深度学习和GPU加速的环境中 阅读全文
posted @ 2023-11-04 22:01 Arxu 阅读(97) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示