Proxy

不能使用问题

手机上能用,电脑上不能用

时间不同步导致

由于双系统等原因,导致时间不对,导致代理不能使用

解决办法:

  • 手动校对时间
  • 双系统问题,修改 linux 时区配置

Emacs-Jupyter

功能简介

  1. 提供一个 emacs 内部界面友好的 ipython 命令行(自动补全,帮助弹出)
  2. 提供 org babel 支持,类似 ob-ipython

依赖

默认 python 环境要安装 jupyter

ipython notes

多行换行问题

  • Ctrl + O 强制插入新行

magic

matplotlib

1
2
3
4
5
import matplotlib
%matplotlib inline              # 直接在代码块显示图片

%matplotlib gtk                 # 弹出独立的窗口,gtk 库
%matplotlib qt                  # 弹出独立的窗口,qt 库