先看看多少代码量 import os file_types = ['py', 'html', 'css', 'js', ] def count_code_nums(file): """获取单个文件的行数 """ with open(file, mode='rb') as f: return len( ...
分类:
其他好文 时间:
2021-03-29 12:13:33
阅读次数:
0
const { resolve } = require("path") const HtmlWebpackPlugin = require('html-webpack-plugin') module.exports = { entry: './src/index.js', output: { fil ...
分类:
Web程序 时间:
2021-03-29 12:08:56
阅读次数:
0
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
主从同步 单节点的 MySQL 肯定不适用于高并发的生产环境,为了提高性能,我们至少要做到读写分离,主库可读可写,从库只读。这里最关键的技术点就是主从同步。 我的 MySQL 配置文件如下(8.0.22): [mysqld] server_id = 1 # 机器ID,集群下唯一 pid-file = ...
分类:
数据库 时间:
2021-03-29 11:44:59
阅读次数:
0
纯前端实现: 切片上传 断点续传 。断点续传需要在切上上传的基础上实现 前端之前上传OSS,无需后端提供接口。先上完整代码,直接复制,将new OSS里的参数修改成自己公司OSS相关信息后可用,如遇问题,请继续往下看。 oss官方文档 https://help.aliyun.com/document ...
分类:
Web程序 时间:
2021-03-29 11:44:24
阅读次数:
0
https://help.sap.com/saphelp_nwpi71/helpdata/en/c7/4efe402762ef6fe10000000a1550b0/content.htm?no_cache=true 1.QRFC DEMO: RSTRFCT0 RSTRFCT1 RSTRFCQ4 2. ...
分类:
其他好文 时间:
2021-03-29 11:43:47
阅读次数:
0
替换.emacs.d M-x load-file:init.el ...
分类:
系统相关 时间:
2021-03-26 15:27:19
阅读次数:
0
Setup Check our AndroidCompile wiki page, especially for build dependencies. Here are the essential points: On Debian/Ubuntu, install the required dep ...
分类:
系统相关 时间:
2021-03-26 15:25:05
阅读次数:
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