摘要:
是因为环境变量,配置了 NODE_OPTIONS --openssl-legacy-provider 删除上面环境变量配置即可 参考 在尝试打开项目时,VisualStudio2017出现异常崩溃 --openssl-legacy-provider是一个用于Node.js的环境变量选项,其作用是 阅读全文
摘要:
一、使用dshow 参考 使用ffmpeg调用电脑自带的摄像头和扬声器录制音视频 FFmpeg获取DirectShow设备数据(摄像头,录屏) 查看支持设备 ffmpeg -f dshow -list_devices true -i dummy 播放 ffplay.exe -f dshow -vid 阅读全文
摘要:
流媒体服务端参考mediamtx流媒体服务器测试 推流命令 ffmpeg -re -i 3.mp4 -c copy -f flv -rtmp_app live -rtmp_playpath class rtmp://localhost:1935 等同于 ffmpeg -re -i 3.mp4 -c 阅读全文
摘要:
一、证书 创建证书 ssh-keygen -t rsa -C 'xxxx@126.com' 获取 RSA 公钥内容,并配置到 SSH公钥 中 cat ~/.ssh/id_rsa_gitee.pub 配置免密登录 touch ~/.ssh/config 内容如下 Host gitee.com Host 阅读全文
摘要:
一、编辑、查看 crontab -u root -e crontab -l systemctl status crontab 二、配置 0 2 * * * /usr/bin/backup_script.sh #!/bin/bash * * * * * /opt/backup_script.sh 0 阅读全文
摘要:
一、安装 npx sv create svelte-app npm run dev -- --open 二、参考文档 https://kit.svelte.js.cn/docs/introduction 三、ollama大模型服务管理界面 https://github.com/ollama-webu 阅读全文
摘要:
将GPS坐标转换为BIM(Building Information Modeling)坐标通常涉及几个步骤,因为这两种坐标系统服务于不同的目的并具有不同的参考框架。GPS坐标是基于全球定位系统(WGS 84)的地理坐标,而BIM坐标通常是基于项目特定的局部坐标系统。以下是一个基本的转换流程: 一、理 阅读全文
摘要:
commit --entrypoint测试 替换原来镜像中的ENTRYPOINT["/bin/bash"] docker run -it --entrypoint ./hello --name testgo3 centosgo:v1 docker run -it --entrypoint /bin/ 阅读全文
摘要:
1、df -Th 2、fdisk -l 3、lsblk [root@xxx /]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 512G 0 disk ├─sda1 8:1 0 1G 0 part /boot └─sda2 8:2 阅读全文
摘要:
firewall-cmd --zone=public --add-port=7001/tcp --permanent firewall-cmd --reload docker run -p 9000:8000 casbin/casdoor-all-in-one docker pull casbin/ 阅读全文