sudo apt install python3-pip
pip3 install pip -U
pip3 config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
git config --global http.proxy socks5://127.0.0.1:1080
git config --global https.proxy socks5://127.0.0.1:1080
/etc/hosts
151.101.72.249 http://global-ssl.fastly.Net
alias mv='mv -i'
alias rm='rm -i'
#任何以空格开头的命令都不会保存到历史记录列表中
#HISTCONTROL=ignorespace
#从历史记录文件中删除之前出现的所有相同命令,并且只将最后一次调用保存到历史记录列表中。
HISTCONTROL=ignorespace:erasedups
sudo apt-get install nvidia-xxx nvidia-settings nvidia-prime
sudo add-apt-repository ppa:plushuang-tw/uget-stable
sudo add-apt-repository ppa:t-tujikawa/ppa
sudo apt-get install uget
sudo apt-get install aria2
git clone https://github.com/pytorch/pytorch.git # Get the full repo down
cd pytorch/docs/
git checkout v0.2.0
. ~/env3/bin/activate # Or whatever you are using for a VirtualEnv
pip install -r requirements.txt
pip install doc2dash
make docset
cp -r PyTorch.docset ~/.local/share/Zeal/Zeal/docsets/
cd ~/.local/share/Zeal/Zeal/docsets/
tar -xzf TensorFlow-1.xx.0.tgz
https://github.com/gpakosz/.tmux
wget -qO - https://apt.v2raya.mzz.pub/key/public-key.asc | sudo apt-key add -
echo "deb https://apt.v2raya.mzz.pub/ v2raya main" | sudo tee /etc/apt/sources.list.d/v2raya.list sudo apt update
sudo apt install v2raya
启动 v2rayA
sudo systemctl start v2raya.service
sudo systemctl enable v2raya.service