- 博客(221)
- 问答 (4)
- 收藏
- 关注
原创 特定情况下docker run --restart=always重启失效的情况
特定情况下解决cicd中docker run --restart=always重启失效的情况_c++ 执行exit后 restart=always失效-CSDN博客
2024-05-17 16:31:24 93
原创 Qt,ASCII字符串转十六进制字符串,十六进字符串转ASCII字符串
【代码】Qt,ASCII字符串转十六进制字符串,字符串转ASCII字符串。
2023-10-17 11:39:41 521
原创 ffmpeg推送rtsp流或者视频文件到rtsp服务器
3.循环推送视频文件到rtsp服务器,指定tcp协议。2.推送r视频文件到rtsp服务器。1.推送rtsp视频流。
2023-08-21 13:35:18 942
原创 nginx缓存关闭
NGINX 缓存默认是不开启的,也就是说,NGINX 作为反向代理服务器时,会将所有的客户端请求直接打到服务端。如果想使用 NGINX 缓存,可以通过 proxy_cache_path 配置项进行设置。2.expires off 默认设置 nginx不缓存 不代表浏览器不缓存 浏览器还可以缓存 默认使用浏览器缓存机制。3.expires epoch 代表不设置缓存 不设置缓存 提醒浏览器 不设置缓存。1,对于图片,通常过期时间可以设置为一个月。2,对js/css,通常过期时间设置为1周。
2023-07-09 00:59:30 3543
原创 qt:无法启动进程“make“ -f //Makefile qmake_all
qt:无法启动进程"make" -f //Makefile qmake_all
2023-01-03 15:52:22 1163
原创 Mysql 错误1227 Access Denied; you need the PROCESS(SYSTEM_USER) privilege(s) 问题解决
Mysql 错误1227 Access Denied; you need the PROCESS(SYSTEM_USER) privilege(s) 问题解决
2022-12-13 14:46:35 3370
原创 ntpdate移植到ARM32平台
将ntpdate文件夹的ntdate拷贝开发部/usr/bin。执行sourec /etc/profile。加入crontab,每分钟执行一次。/etc/profile加入。
2022-09-07 01:55:00 447
原创 qt arm 交叉编译问题:ERROR: C++11 <random> is required and is missing or failed to compile
qt arm 交叉编译问题:ERROR: C++11 is required and is missing or failed to compile
2022-08-12 15:53:41 1270 1
原创 Qt使用默认浏览器打开网页
#include <QDesktopServices>#include <QUrl>QDesktopServices::openUrl(QUrl("http://www.baidu.com"));
2022-07-08 10:08:28 1069
原创 Qt使用cmd
QProcess p(0); p.start("cmd", QStringList()<<"/c"<<"ping www.baidu.com"); p.waitForStarted(); p.waitForFinished(); QString strTemp=QString::fromLocal8Bit(p.readAllStandardOutput()); qdebug()<<strTemp;
2022-05-07 14:19:34 251
原创 JavaScript每隔指定位数切割字符串
functionrandom(num){letbyte_length=num||32;letchars='';for(leti=0;i<26;i++){chars+=String.fromCharCode(65+i);}letlowerCase=chars.toLowerCase();letnumber='';for(leti=0;i<...
2022-04-27 14:56:59 1280
空空如也
ARM linux Thttpd CGI 配置之后,访问cgi返回源码?
2019-12-27
QT:把Qstring类型的"0x4f00"转成int 类型的0x4f00
2019-10-12
合并四个查询语句结果,合并后的形式如下图?
2017-10-10
TA创建的收藏夹 TA关注的收藏夹
TA关注的人