Keepalived-企业微信通知 https://blog.csdn.net/weixin_43357497/article/details/108620052 1. 登录企业微信获取相关信息 1.1 创建第三方应用 https://work.weixin.qq.com/ image 1.2 企业 ...
分类:
微信 时间:
2021-03-29 12:05:25
阅读次数:
0
题目链接 https://codeforces.com/contest/1506/problem/A 原题 1506A - Strange Table Example input 5 1 1 1 2 2 3 3 5 11 100 100 7312 1000000 1000000 1000000000 ...
分类:
其他好文 时间:
2021-03-29 11:53:53
阅读次数:
0
主从同步 单节点的 MySQL 肯定不适用于高并发的生产环境,为了提高性能,我们至少要做到读写分离,主库可读可写,从库只读。这里最关键的技术点就是主从同步。 我的 MySQL 配置文件如下(8.0.22): [mysqld] server_id = 1 # 机器ID,集群下唯一 pid-file = ...
分类:
数据库 时间:
2021-03-29 11:44:59
阅读次数:
0
项目使用的是ant-pro模板 有个可编辑表格的需求,效果图如下 ant-pro提供了EditableProTable 组件,我使用的是这种https://procomponents.ant.design/components/editable-table 不过这里展示的默认都是input输入框,我 ...
分类:
其他好文 时间:
2021-03-29 11:44:39
阅读次数:
0
纯前端实现: 切片上传 断点续传 。断点续传需要在切上上传的基础上实现 前端之前上传OSS,无需后端提供接口。先上完整代码,直接复制,将new OSS里的参数修改成自己公司OSS相关信息后可用,如遇问题,请继续往下看。 oss官方文档 https://help.aliyun.com/document ...
分类:
Web程序 时间:
2021-03-29 11:44:24
阅读次数:
0
替换.emacs.d M-x load-file:init.el ...
分类:
系统相关 时间:
2021-03-26 15:27:19
阅读次数:
0
《c++ 核心指南》 字面量 range::view span constexpr CURRENT_FILE宏 Concept ...
分类:
编程语言 时间:
2021-03-26 15:20:37
阅读次数:
0
// 文件点击下载 function downloadFile() { fetch(tossactApi + params.row.originVideo).then(res => res.blob()).then(blob => { const a = document.createElement ...
分类:
其他好文 时间:
2021-03-26 15:14:30
阅读次数:
0
使用element UI的upload组件 handleChange (file, fileList) { let _this = this if (this.formdata.printMode !== 'Bartender') return this.formdata.remark = file ...
分类:
数据库 时间:
2021-03-26 15:14:15
阅读次数:
0
前提: 原统计文档中条目以空格分隔或只有一列(为了方便awk筛选出某一个列) 1 #!/usr/bin/env python 2 # -*- coding:utf-8 -*- 3 import sys 4 import os 5 6 PRINTRED = "\033[1;31m" 7 PRINTGR ...
分类:
编程语言 时间:
2021-03-18 14:42:22
阅读次数:
0