Dockerhub 镜像加速器
修改 /etc/docker/daemon.json 文件,添加如下镜像源:
1 | { |
或直接使用下面的脚本文件:
- 创建文件
replace.sh; - 添加可执行权限
chmod +x replace.sh - 执行
sudo sh replace.sh
修改 /etc/docker/daemon.json 文件,添加如下镜像源:
1 | { |
或直接使用下面的脚本文件:
replace.sh;chmod +x replace.shsudo sh replace.sh本文适用于 JetBrains 系软件,包含通用及单个软件的设置、使用技巧等,主要是在工作使用过程中遇到的问题及解决方式笔记。
菜单:Appearance & Behavior > System Settings > Synchronization
取消勾选:
Synchronize files on frame or editor tab activationSave files on frame deactiationUse "safe write"(save changes to a temporary file first)菜单:Editor > General > Editor Tabs > Appearance
勾选:
Mark modified (*)1 | curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash |
脚本的作用是将 nvm 仓库源码克隆到 ~/.nvm 下面,之后将环境变量添加到配置文件中,如:~/.bash_profile, ~/.zshrc,~/.profile,或 ~/.bashrc。
所以会用到 git 命令,如果没有 Git,请先安装。