11 2020 档案

摘要:实体环境 c:\users\xxx\appdata\local\programs\python\python38-32\python.exe -m pip ... 虚拟环境 %windir%\system32\cmd.exe "/K" C:\Users\xxx\AppData\Local\Progr 阅读全文
posted @ 2020-11-29 17:14 该显示昵称已被使用了 阅读(179) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/94931255aede 阅读全文
posted @ 2020-11-29 16:30 该显示昵称已被使用了 阅读(62) 评论(0) 推荐(0)
摘要:https://zhuanlan.zhihu.com/p/95625996 https://www.jianshu.com/p/6004f298ae5e https://github.com/pyecharts/pyecharts 源码安装 # pip 安装 # 安装 v1 以上版本 $ pip i 阅读全文
posted @ 2020-11-29 16:26 该显示昵称已被使用了 阅读(95) 评论(0) 推荐(0)
摘要:Tesseract: https://swiftcafe.io/post/tesseract 阅读全文
posted @ 2020-11-29 10:31 该显示昵称已被使用了 阅读(77) 评论(0) 推荐(0)
摘要:https://github.com/kerlomz/captcha_trainer 阅读全文
posted @ 2020-11-29 09:57 该显示昵称已被使用了 阅读(97) 评论(0) 推荐(0)
摘要:vxlan: http://www.h3c.com/cn/Service/Document_Software/Document_Center/Switches/Catalog/S6800/S6800/Configure/Typical_Configuration_Example/H3C_VXLAN_ 阅读全文
posted @ 2020-11-27 14:40 该显示昵称已被使用了 阅读(550) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/nvd11/article/details/79323412 阅读全文
posted @ 2020-11-27 14:34 该显示昵称已被使用了 阅读(72) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/9d232e4a3c28 https://www.cnblogs.com/jhao/p/7610218.html https://www.bilibili.com/video/BV1YK4y1875p?p=3 阅读全文
posted @ 2020-11-26 20:54 该显示昵称已被使用了 阅读(108) 评论(0) 推荐(0)
摘要:# 0 数据制造 import pandas as pd df1 =pd.DataFrame(10*np.random.rand(7,3),index=["A","B","C","D","E","F","G"],columns=["ALL","Fail","PASS"]) df1=pd.DataFr 阅读全文
posted @ 2020-11-25 16:20 该显示昵称已被使用了 阅读(93) 评论(0) 推荐(0)
摘要:Django应用 #重写函数,返回json class JSONResponse(HttpResponse): """ An HttpResponse that renders its content into JSON. """ def __init__(self, data, **kwargs) 阅读全文
posted @ 2020-11-24 11:37 该显示昵称已被使用了 阅读(337) 评论(0) 推荐(0)
摘要:分类 # 监督学习 # 非监督学习 ,半监督学习 # 强化学习 # 遗传算法 工具 pip install numpy pip install -U scikit-learn scipy matplotlib 流程图 阅读全文
posted @ 2020-11-22 19:23 该显示昵称已被使用了 阅读(72) 评论(0) 推荐(0)
摘要:实验 # 可迭代对象就是你可以迭代的任何东西,而迭代器就是实际迭代的东西 my_iter = iter([1,2]) # 返回可迭代对象list的迭代器,就可以用next了 next(my_iter ) # 没有元素就会返回错误 # range不是迭代器的理由 # 1 不能调用next # 2 可以 阅读全文
posted @ 2020-11-22 17:27 该显示昵称已被使用了 阅读(145) 评论(0) 推荐(0)
摘要:# 安装TestLink python2 -m pip install TestLink-API-Python_client # 安装jenkins # 注意不要 pip install jenkins python2 -m pip install python-jenkins 阅读全文
posted @ 2020-11-21 17:15 该显示昵称已被使用了 阅读(220) 评论(0) 推荐(0)
摘要:Open_vSwitch https://pve.proxmox.com/wiki/Open_vSwitch 阅读全文
posted @ 2020-11-19 09:23 该显示昵称已被使用了 阅读(174) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/wongbingming/p/6807771.html https://blog.csdn.net/GeekLeee/article/details/52550630 阅读全文
posted @ 2020-11-19 07:31 该显示昵称已被使用了 阅读(95) 评论(0) 推荐(0)
摘要:https://zhuanlan.zhihu.com/p/49118355 备份 INFO: starting new backup job: vzdump 100 --node intra --compress zstd --storage local --remove 0 --mode snap 阅读全文
posted @ 2020-11-19 07:28 该显示昵称已被使用了 阅读(131) 评论(0) 推荐(0)
摘要:深入浅出 kvm qemu libvirt https://www.cnblogs.com/qiaoyanlin/p/6888408.html 阅读全文
posted @ 2020-11-19 07:26 该显示昵称已被使用了 阅读(74) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/kevingrace/p/5707003.html ubuntu: https://wiki.ubuntu.com/FocalFossa/ReleaseNotes OpenStack Ussuri Ubuntu 20.04 LTS includes t 阅读全文
posted @ 2020-11-19 07:25 该显示昵称已被使用了 阅读(94) 评论(0) 推荐(0)
摘要:pip3 install numpy scipy matplotlib -i https://pypi.tuna.tsinghua.edu.cn/simple 阅读全文
posted @ 2020-11-17 12:35 该显示昵称已被使用了 阅读(107) 评论(0) 推荐(0)
摘要:# 写 sync; dd if=/dev/zero of=/tmp/tempfile bs=1M count=1024; sync 1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 2.55 阅读全文
posted @ 2020-11-16 16:51 该显示昵称已被使用了 阅读(333) 评论(0) 推荐(0)
摘要:Matplotlib 是 Python 的绘图库。 它可与 NumPy 一起使用,提供了一种有效的 MatLab 开源替代方案。 import pandas as pd import altair as alt %matplotlib inline df = pd.read_csv('pandas- 阅读全文
posted @ 2020-11-15 19:11 该显示昵称已被使用了 阅读(108) 评论(0) 推荐(0)
摘要:https://github.com/peiss/ant-learn-pandas https://gitee.com/yzw554350785/ant-learn-pandas https://www.kesci.com/mw/project/59e77a636d213335f38daec2 一般 阅读全文
posted @ 2020-11-15 12:08 该显示昵称已被使用了 阅读(163) 评论(0) 推荐(0)
摘要:常用画图 df5 = df.loc[(df["主管部门"] == '教育部'), :].groupby(['所在省市']).count().reset_index() # df5.plot() # set_index("time",inplace=True) # df.plot() alt.Char 阅读全文
posted @ 2020-11-14 18:21 该显示昵称已被使用了 阅读(140) 评论(0) 推荐(0)
摘要:安装 brew install python3 python3 --version # 确认安装成功 pip3 --version # 确认pip3安装成功 pip install jupyterlab #出现tornado错误 pip uninstall tornado pip install t 阅读全文
posted @ 2020-11-10 21:54 该显示昵称已被使用了 阅读(91) 评论(0) 推荐(0)
摘要:下载资源 curl https://cdn.jsdelivr.net/npm/vega-tooltip@0.16.0/build/vega-tooltip.min.js -o vega-tooltip.min.js 放到本地 # flask 放到 statci 修改html 阅读全文
posted @ 2020-11-08 19:18 该显示昵称已被使用了 阅读(249) 评论(0) 推荐(0)
摘要:https://www.cnblogs.com/liang2580/articles/8400140.html 表和链的对应关系: 各个表的详细 filter表介绍: nat表介绍: mangle表介绍:(不常用) 工作流程 阅读全文
posted @ 2020-11-08 10:58 该显示昵称已被使用了 阅读(79) 评论(0) 推荐(0)
摘要:四种模式: 自动创建(安装Docker时) host:容器将不会虚拟出自己的网卡,配置自己的IP等,而是使用宿主机的IP和端口。 相当于Vmware中的桥接模式,与宿主机在同一个网络中,但没有独立IP地址。 Bridge:此模式会为每一个容器分配、设置IP等,并将容器连接到一个docker0虚拟网桥 阅读全文
posted @ 2020-11-08 10:44 该显示昵称已被使用了 阅读(325) 评论(0) 推荐(0)
摘要:在线编辑器: http://www.mdeditor.com/ # 字体颜色 <font color='red'> text </font> <font face="黑体" color=green size=5>我是黑体,绿色,尺寸为5</font> # 背景颜色 <p style="right;b 阅读全文
posted @ 2020-11-08 10:36 该显示昵称已被使用了 阅读(74) 评论(0) 推荐(0)
摘要:查询操作 # set的用法;like的用法,注意‘’ # 方法1 set @var1=1, @var4=(select report_uuid from report_reportinfo where report_path like '%20210112%' limit 1); select @v 阅读全文
posted @ 2020-11-08 09:59 该显示昵称已被使用了 阅读(188) 评论(0) 推荐(0)
摘要:(数据库)CSV操作 # 从CSV中读取数据 df = pd.read_csv('pandas.csv',encoding = "utf-8",delimiter=",",error_bad_lines=False) # 读取本地CSV文件 df = pd.read_csv("C:/Users/fu 阅读全文
posted @ 2020-11-07 21:58 该显示昵称已被使用了 阅读(771) 评论(0) 推荐(0)
摘要:windows环境搭建 1.管理员模式打开cmd 2.mysqld --initialize-insecure 3.添加环境变量,快速启动mysql,不需要每次都进入目录。(非必须) 4.添加windows服务 mysqld --install net start mysql https://www 阅读全文
posted @ 2020-11-07 20:26 该显示昵称已被使用了 阅读(240) 评论(0) 推荐(0)
摘要:Vega-Lite https://vega.github.io/vega-lite/tutorials/getting_started.html 可以直接HTML <!DOCTYPE html> <html> <head> <title>Vega-Lite Bar Chart</title> <m 阅读全文
posted @ 2020-11-07 19:42 该显示昵称已被使用了 阅读(260) 评论(0) 推荐(0)
摘要://取值的两种方法 $('td[class="td2"][style="word-break:break-all;"]').text(); #不知道为什么取不到 ,可能是word-break 方法1 $('td[class="td2"]').text(); // 或者 $("td").text(); 阅读全文
posted @ 2020-11-07 10:02 该显示昵称已被使用了 阅读(80) 评论(0) 推荐(0)
摘要:1. sudo rm -rf /Library/Frameworks/Python.framework/Versions/2.7 2. sudo rm -rf "/Applications/Python 2.7" 3. cd /usr/local/bin/ 4. ls -l /usr/local/b 阅读全文
posted @ 2020-11-07 09:14 该显示昵称已被使用了 阅读(13400) 评论(0) 推荐(0)
摘要:pip #pip 源 pip install -i https://pypi.tuna.tsinghua.edu.cn/simple some-package pip install -i https://pypi.douban.com/simple django==1.11.4 # 强制安装 pi 阅读全文
posted @ 2020-11-07 08:31 该显示昵称已被使用了 阅读(294) 评论(0) 推荐(0)
摘要:安装Paramiko 1.安装visual C++ 14.0 2. 安装依赖于pycrypto、ecdsa模块 wget https://pypi.python.org/packages/source/e/ecdsa/ecdsa-0.13.tar.gz tar zxvf ecdsa-0.13.tar 阅读全文
posted @ 2020-11-03 21:40 该显示昵称已被使用了 阅读(838) 评论(0) 推荐(0)