主从复制和GITD复制区别 1.在主从复制环境中,主库发生过的事务,在全局都是由唯一GTID记录的,更方便Failover 2.额外功能参数(3个) 3.change master to 的时候不再需要binlog 文件名和position号,MASTER_AUTO_POSITION=1; 4.在复 ...
分类:
其他好文 时间:
2020-07-17 14:07:42
阅读次数:
61
修改列的模板,不使用自带的CheckBox列 <DataGridTemplateColumn Width="30"> <DataGridTemplateColumn.CellTemplate> <DataTemplate> <CheckBox IsChecked="{Binding IsChecke ...
个人感觉默认Git Bash 简直没脸看(乌漆嘛黑),Google了下如何修改Git Bush 1.修改.minttyrc文件 FontHeight=16 Font=Consolas Transparency=low FontSmoothing=full Locale=zh_CN Charset=G ...
一、rsync+inotify与rsync+sersync架构的区别 1、rsync+inotify a、inotify只能记录下被监听的目录发生了变化(增,删,改)并没有把具体是哪个文件或者哪个目录发生了变化记录下来; b、rsync在同步的时候,并不知道具体是哪个文件或目录发生了变化,每次都是对 ...
分类:
其他好文 时间:
2020-07-16 21:21:14
阅读次数:
65
HTML代码: <input type="file" name="uploadFile" id="uploadFile"> JavaScript: $("#uploadFile").on("change", function() { var formData = new FormData(); // ...
分类:
Web程序 时间:
2020-07-16 11:47:13
阅读次数:
82
plt.plot()绘制线性图 绘制单条线形图 绘制多条线形图 设置坐标系的比例plt.figure(figsize=(a,b)) 设置图例legend() 设置轴的标识 图例保存 fig = plt.figure() plt.plot(x,y) figure.savefig() 曲线的样式和风格( ...
分类:
其他好文 时间:
2020-07-16 00:16:39
阅读次数:
75
1.plot(?,?) 第一个参数为函数的参数 第二参数是函数表达式 2.subplot(?,?,?) 前两个参数表示将plot窗口分割成?x ? 比如1x2表示 1行2列 能够横向并排放置两个函数图像 3.legend(?,...?) n个字符串参数代表plot窗口中n条函数分别的标签 4.xla ...
分类:
其他好文 时间:
2020-07-15 23:18:45
阅读次数:
120
<el-upload :action="uploadUrl" ref="upload" :multiple="false" :on-change="fileChange" :before-upload="beforeUpload" :on-success="handleAvatarSuccess" ...
分类:
Web程序 时间:
2020-07-15 15:18:10
阅读次数:
192
// 前端js操作csv文件插件用法 插件下载地址:https://github.com/okfn/csv.js/ $('#id_mac_file').change(function () { $('#id_mac_address').parent().next().text(''); $('inp ...
分类:
其他好文 时间:
2020-07-13 13:41:22
阅读次数:
52
饼图标签展示数值 配置项: option = { title: { text: '项目时间分布', left: 'center' }, tooltip: { trigger: 'item', formatter: '{a} <br/>{b} : {c} ({d}%)' }, legend: { or ...
分类:
其他好文 时间:
2020-07-13 11:34:37
阅读次数:
290