linux27

pip换国内源

一、临时使用 可以在使用pip的时候在后面加上-i参数,指定pip源,例如 pip install scrapy -i https://pypi.tuna.tsinghua.edu.cn ...

pip的安装

可以通过以下命令来判断是否已安装: pip –version 如果还未安装,则可以使用以下方法来安装: curl https://bootstrap.pypa.io/get-pi ...

vim批量注释与反注释插件——NERD_commenter

这是对程序员非常实用的一款插件,支持多种语言的补全,还支持单行注释,批量注释,等各种命令映射。 1.使用方法,先下载该插件:http://www.vim.org/scripts/script. ...

通过python上传文件到百度网盘——bypy

bypy项目地址: https://github.com/houtianze/bypy 主机:centos7.5 python环境:2.7 1.首先安装pip yum ...

查看端口占用、查看进程

linux: 查看9090端口: netstat -antup | grep 9090 查看30658进程: ps aux | grep 30658 mac ...

查看本机IP

curl cip.cc ...

设置终端走代理的方法

1. 打开配置文件 vim ~/.bash_profile 2. 修改配置 function proxy(){ export http_proxy=http://127.0 ...