随笔分类 - Tool
摘要:git fetch参数解释 git pull origin = git fetch + git merge origin/<branch> git fetch 将远程仓库的版本记录,同步到本地的远程仓库 终止合并 应用于git pull origin 操作完后,提示有冲突请求合并,但是想回滚到拉取前
阅读全文
摘要:pip3 pip3 instal -U xxx 安装 xx 包,且同步到requirements.txt文件中 pip3 freeze > requirements.txt 导出依赖包信息,到配置文件。 pip3 install xxxxx.whl 离线安装python包。
阅读全文
摘要:vsc使用jupyter 然后随便写行代码点击运行,他会自动帮你起服务,你需要自己添加个端口号8888 如果要用web链接,则jupyter notebook list即可查看token的值
阅读全文
摘要:更换apt-get源 执行以下脚本即可 cp /etc/apt/sources.list /etc/apt/sources.bak1 cat>/etc/apt/sources.list<<EOF deb http://mirrors.aliyun.com/ubuntu/ bionic main re
阅读全文
摘要:终端 使用 ⇧⌘]和⇧⌘[在终端组之间导航. ⌘⇧U显示或隐藏终端 vsc 账户登录github,进行同步失败 错误代码801 可能是还没安装git。
阅读全文
摘要:文档: http://esofar.gitee.io/cnblogs-theme-silence/#/?id=cnblogs-theme-silence github: https://github.com/esofar/cnblogs-theme-silence/releases gitee: h
阅读全文
摘要:brew install pyenv [^1] brew下载pyenv时,可能遇到403,无法解析,原因是DNS解析被污染,在/etc/hosts文件中添加 199.232.68.133 raw.githubusercontent.com 199.232.68.133 user-images.git
阅读全文
摘要:VBox-无法粘贴复制 首先吧虚拟机关闭,然后选中设置 VSC 免密登陆服务器 ssh-keygen -t rsa -C "xx@qq.com" linux下: ssh-copy-id -i /root/.ssh/id_rsa.pub root@192.168.3.22 windows下(待验证):
阅读全文
摘要:Pycharm连接mysql报错问题 java.lang.RuntimeException: com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value 'Öйú±ê׼ʱ¼ä'
阅读全文
摘要:git控制台输出中文乱码 原文链接 git config --global core.quotepath false git删除子模块 删除子模块(name 一般是仓库名,如果不确定看.gitmodules中的定义): git rm --cached <name> 编辑“.gitmodules”文件
阅读全文

浙公网安备 33010602011771号