g++ http_client.cpp -I/usr/local/libevent-2.1.8-stable/include -L/usr/local/libevent-2.1.8-stable/.libs -levent -g -o http_client
g++ http_connect.cpp -o http_connect /usr/local/libevent-2.1.8-stable/.libs/libevent.so -I. -L.
pip 安装加快速度: pip install -i https://pypi.tuna.tsinghua.edu.cn/simple/ pandas
conda create -n your_env_name python=X.X
anaconda指定环境名安装包: conda install --name python36 pylint //python36--环境名 pyling--包名
启动 jupyer 命令:jupyter notebook --allow-root
scp上传文件目录到远程服务器
scp -r pyalgotrade/ root@192.168.0.8:/root/anaconda3/envs/python37/lib/python3.7/site-packages
调整jupyter输出图片大小
import matplotlib.pyplot as plt
plt.rcParams['figure.figsize'] = [10, 5]
npm i -g cnpm --registry=https://registry.npm.taobao.org
sudo npm audit fix --unsafe-perm --allow-root
sudo npm install node-sass@latest --unsafe-perm --allow-root