朋友圈

夜轻Blog

Git 常用命令和用法

速查 Git 常用的命令和用法。分为基本(commit、branch、checkout、merge、rabase 等)和远程(clone、push、pull 等)两部分。 本文基于 chatGPT 自动生成初稿(省时省力😁),并参考 learngitbranching 进行调整。 基本命令 git init:创建一个新的 Git 仓库。 git add [file]:将文件添加到 Git 的暂存...

Wlcheng’ Life

Linux 服务器下 PyTorch 环境配置

记录在 Linux 下,Miniconda3 中配置 PyTorch 环境。 安装 Miniconda Miniconda 官网 下载安装包 bash wget https://repo.anaconda.com/miniconda/Miniconda3-py310_23.1.0-1-Linux-x86_64.sh 执行安装 bash bash Miniconda3-py310_23.1.0-1-...

Wlcheng’ Life

Github 图床 PicGo 使用

用 Github 仓库作为自用图床;用 PicGo 直接在 Typora 和 VS Code 中一键上传图床、粘贴图链。 搭建Github图床 Github仓库支持1G存储容量。 创建Github仓库 在Github主页点击New Repository开始创建仓库。 基本设置:仓库名,描述,仓库类型public,勾选Add a README file,其他保持默认即可。然后点击Create rep...

Wlcheng’ Life