前期准备 阿里云服务器 mysql数据库 已经本地运行成功的项目 阿里云服务器的环境配置 Git #代码管理 Gitlab #代码托管,要求服务器内存不低于2G,我选择放弃 Mysql #连接数据库 Python3 #python项目的运行环境,默认为python2 Django #项目环境 Uws ...
分类:
其他好文 时间:
2019-11-13 13:00:29
阅读次数:
182
最流行的Python底层绘图库,主要做数剧可视化图表,名字取材与MATLAB,模仿MATLAB构建、 基本要点: from matplotlib import pyplot as plt 导入pyplot fig=plt.figure(figure=(20,8),dpi=80) figure图形图标 ...
分类:
其他好文 时间:
2019-11-10 13:35:19
阅读次数:
61
Springboot 使用mybatis 依赖 pom.xml 配置文件 application.yml book实体 bookMapper bookMapper.xml bookService bookController 过程中踩过的坑 1. mapper注入不到, 记得配置 中的 2. 相关 ...
分类:
编程语言 时间:
2019-11-10 10:04:48
阅读次数:
69
*1:NetCore的上下文,自行封装一个全局静态 HttpContextHelper *2:读取Json的配置文件 { // IConfiguration Configuration 得注入,二级节点的访问,用冒号 .GetSection("AppSettings:" + name) Config ...
分类:
Web程序 时间:
2019-11-09 23:31:19
阅读次数:
131
用在Jupyter notebook中具体作用是当你调用matplotlib.pyplot的绘图函数plot()进行绘图的时候,或者生成一个figure画布的时候,可以直接在你的python console里面生成图像。效果如下: 不加%matplotlib inline 加上%matplotlib ...
分类:
其他好文 时间:
2019-11-09 13:24:26
阅读次数:
81
1、matplotlib绘图三部曲 (1)创建画布 (2)绘图——包含绘图与图形修饰 (3)绘图展示 2、直方图的绘制 (1)导入模块 import matplotlib.pyplot as pltimport numpy as np 将模块导入到脚本中,并更改名字为plt (2)创建画布 plt. ...
分类:
其他好文 时间:
2019-11-09 12:03:29
阅读次数:
141
创建一个私有仓库。#运行一个registry容器[root@master~]#dockerrun-tid--nameregistry-p5000:5000--restartalwaysregistry:latest#在所有需要使用私有仓库的的节点上进行以下配置:[root@master~]#vim/usr/lib/systemd/system/docker.serviceExecStart=/us
分类:
其他好文 时间:
2019-11-09 09:38:46
阅读次数:
89
within the customer engine ver. 4.19 base, I try to do the array bucket to handle all the overlap collision and somehow to overlapend and begin is inv ...
分类:
其他好文 时间:
2019-11-08 21:01:46
阅读次数:
114
1.官网下载对应的安装包 wget https://www.python.org/ftp/python/3.7.5/Python-3.7.5.tgz 2.解压 tar -zvxf Python-3.7.5.tgz cd Python-3.7.5 mkdir /usr/local/python3.7 ...
分类:
编程语言 时间:
2019-11-07 19:36:34
阅读次数:
145