05 2022 档案

摘要:1、取数据库最后30个数据 select x,y from sin order by id desc limit 0,30; 2、将数据再反序,横坐标反转 select * from (select x,y from sin order by id desc limit 0,30) as sinxy 阅读全文
posted @ 2022-05-28 20:00 华小电 阅读(248) 评论(0) 推荐(0) 编辑
摘要:在使用set_xticklabels时,报错 UserWarning: FixedFormatter should only be used together with FixedLocator 究其原因,原来set_xticks()和set_xticklabels()需要同时使用,缺一不可 阅读全文
posted @ 2022-05-15 10:36 华小电 阅读(1199) 评论(0) 推荐(1) 编辑
摘要:1. 连接数据库2. 授权并刷新权限grant all privileges on *.* to 'root'@'%' identified by 'password' with grant option;flush privileges;3. 查看用户数据 use mysqlselect user 阅读全文
posted @ 2022-05-11 11:37 华小电 阅读(389) 评论(0) 推荐(0) 编辑
摘要:1. 合并,提取音视频 (1)单独提取视频(不含音频流) ffmpeg -i video.mp4 -vcodec copy -an video_silent.mp4 -an:表示不输出音频 (2)单独提取音频(不含视频流) ffmpeg -i input.mp4 -vn -ar 44100 -ac 阅读全文
posted @ 2022-05-03 10:38 华小电 阅读(177) 评论(0) 推荐(0) 编辑
摘要:1. Debian 上安装 sudo apt-get install gerbera 2. 打开UI界面 默认是关闭的,配置文件/etc/gerbera/config.xml,把enabled改为'yes' <config> <server> <ui enabled="no" show-toolti 阅读全文
posted @ 2022-05-02 17:28 华小电 阅读(185) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示