摘要: 左键按住绘画,右键清空 #ifndef WIDGET_H #define WIDGET_H #include <QWidget> #include <QMouseEvent> #include <QKeyEvent> #include <QPaintEvent> #include <QPainter 阅读全文
posted @ 2021-06-02 15:55 一颗大白鲸 阅读(173) 评论(0) 推荐(0) 编辑
摘要: 1、删除所有容器 docker rm `docker ps -a -q` 2、删除所有镜像 docker rmi `docker images -q` 3、按条件删除镜像 没有打标签 docker rmi `docker images -q | awk '/^<none>/ { print $3 } 阅读全文
posted @ 2021-05-27 17:30 一颗大白鲸 阅读(64) 评论(0) 推荐(0) 编辑
摘要: 80 url转发 /etc/nginx/conf.d/ 目录底下新建一个 my80.conf server { listen 80; server_name 127.0.0.1; root /usr/share/nginx/html; location /my/swagger { proxy_pas 阅读全文
posted @ 2021-05-27 09:58 一颗大白鲸 阅读(1441) 评论(0) 推荐(0) 编辑
摘要: select table_schema as '数据库', sum(table_rows) as '记录数', sum(truncate(data_length/1024/1024, 2)) as '数据容量(MB)', sum(truncate(index_length/1024/1024, 2) 阅读全文
posted @ 2021-05-26 14:43 一颗大白鲸 阅读(293) 评论(0) 推荐(0) 编辑
摘要: 执行如下代码 show variables like 'innodb_large_prefix' set global innodb_file_format = BARRACUDA; set global innodb_large_prefix = ON; show variables like ' 阅读全文
posted @ 2021-05-26 11:04 一颗大白鲸 阅读(145) 评论(0) 推荐(0) 编辑
摘要: //删除音频ffmpeg -i video.MP4 -vcodec copy -an output_file.mp4 ffmpeg -i output_file.mp4 -i video_01.mp3 -vcodec copy -acodec copy output.mp4 合并音视频ffmpeg. 阅读全文
posted @ 2021-05-26 10:58 一颗大白鲸 阅读(377) 评论(0) 推荐(0) 编辑
摘要: https://blog.csdn.net/lanonola/article/details/51247996 https://www.cnblogs.com/coding8832/p/14473748.html https://blog.csdn.net/lanonola/category_620 阅读全文
posted @ 2021-04-25 17:50 一颗大白鲸 阅读(1018) 评论(0) 推荐(0) 编辑
摘要: https://www.jianshu.com/p/1f7889273845?from=timeline&isappinstalled=0 一 背景 1 binlog定义 binlog基本定义:二进制日志,也成为二进制日志,记录对数据发生或潜在发生更改的SQL语句,并以二进制的形式保存在磁盘中。 作 阅读全文
posted @ 2021-04-25 15:47 一颗大白鲸 阅读(1751) 评论(0) 推荐(0) 编辑
摘要: CenterOS7 安装 https://www.postgresql.org/download/ https://www.postgresql.org/download/linux/redhat/ 1. Sudo yum install -y https://download.postgresql 阅读全文
posted @ 2021-04-25 15:34 一颗大白鲸 阅读(199) 评论(0) 推荐(0) 编辑
摘要: CentOS8安装java环境 卸载老版本 1.卸载可能存在的CentOS自带的java环境 #rpm -qa|grep java #rpm -qa|grep jdk #rpm -qa|grep gcj 2.如果有,卸载 #rpm -e --nodeps java--1.8.xxxxxxxxxxxx 阅读全文
posted @ 2021-03-12 11:08 一颗大白鲸 阅读(773) 评论(0) 推荐(0) 编辑