- 博客(1)
- 资源 (11)
- 收藏
- 关注
转载 两种禁止选择网页文字的办法
方法一 user-select并不是一个W3C的CSS标准属性,浏览器支持的不完整,需要对每种浏览器进行适配,CSS代码如下: body { -moz-user-select: none; /*火狐*/ -webkit-user-select: none; /*webkit浏览器*/ -ms-user-select: none; /*IE10*/ -khtml-user-select: none;...
2018-11-17 16:13:26 837
pybootchartgui
bootchart ./bootchart.tgz 时error:
Traceback (most recent call last):
File "/usr/bin/bootchart", line 23, in
sys.exit(main())
File "/usr/lib/pymodules/python2.6/pybootchartgui/main.py", line
137, in main
render()
File "/usr/lib/pymodules/python2.6/pybootchartgui/main.py", line
128, in render
batch.render(writer, res, options, filename)
File "/usr/lib/pymodules/python2.6/pybootchartgui/batch.py", line
41, in render
draw.render(ctx, options, *res)
File "/usr/lib/pymodules/python2.6/pybootchartgui/draw.py", line
282, in render
draw_chart(ctx, IO_COLOR, True, chart_rect, [(sample.time,
sample.util) for sample in disk_stats], proc_tree)
File "/usr/lib/pymodules/python2.6/pybootchartgui/draw.py", line
201, in draw_chart
yscale = float(chart_bounds[3]) / max(y for (x,y) in data)
ZeroDivisionError: float division
---------------------
作者:harry_helei
来源:CSDN
原文:https://blog.csdn.net/harry_helei/article/details/8545032
版权声明:本文为博主原创文章,转载请附上博文链接!
2019-02-26
Package: pybootchartgui (0.14.4-3)
Package pybootchartgui (0.14.4-3),0.14.4-3 版本的,适用python2.6或者Python2.7
2019-02-26
tc_script.sh
Use tc_script.sh to control bandwidth. For both scripts, help for usage is provided in the script.
2017-12-05
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人