http://docs.grafana.org/installation/debian/
1 | sudo service grafana-server start |
http://docs.grafana.org/installation/debian/
1 | sudo service grafana-server start |
ubuntu默认已经装了qt5, 但是缺少组件(designer等)1
2# (全平台完整下载链接) http://download.qt.io/archive/qt/
sudo apt install qttools5-dev-tools
1 | sudo pip3 install QScintilla PyQt5 PyQt5-sip |
1 | cd eric6-18.12/ |
PyQt5 Reference Guide — PyQt 5.11.1 Reference Guide
用 eric6 与 PyQt5 实现python的极速GUI编程(系列01)–Hello world! - 罗兵 - 博客园
sed是一种流编辑器,它是文本处理中非常中的工具,能够完美的配合正则表达式使用,功能不同凡响。处理时,把当前处理的行存储在临时缓冲区中,称为“模式空间”(pattern space),接着用sed命令处理缓冲区中的内容,处理完成后,把缓冲区的内容送往屏幕。接着处理下一行,这样不断重复,直到文件末尾。文件内容并没有 改变,除非你使用重定向存储输出。Sed主要用来自动编辑一个或多个文件;简化对文件的反复操作;编写转换程序等。
平台 | 值 |
---|---|
Linux (2.x and 3.x) | ‘linux2’ |
Windows | ‘win32’ |
Windows/Cygwin | ‘cygwin’ |
Mac OS X | ‘darwin’ |
OS/2 | ‘os2’ |
OS/2 EMX | ‘os2emx’ |
RiscOS | ‘riscos’ |
AtheOS | ‘atheos’ |
1 | from scipy.misc import comb |
Optimization and root finding (scipy.optimize) — SciPy v0.18.1 Reference Guide
Minimize the sum of squares of a set of equations.
1 | ###最小二乘法试验### |
1 | Minimize a linear objective function subject to linear equality and inequality constraints. |
Minimization of scalar function of one or more variables.
In general, the optimization problems are of the form:
minimize f(x) subject to1
2g_i(x) >= 0, i = 1,...,m
h_j(x) = 0, j = 1,...,p
where x is a vector of one or more variables. g_i(x) are the inequality constraints. h_j(x) are the equality constrains.
Optionally, the lower and upper bounds for each element in x can also be specified using the bounds argument.
针对hexo-next搭建的博客,写了几个方便操作的脚本:
wget 递归爬取网站并存在本地
1 | wget -L 仅跟踪相对链接 |