上一页 1 2 3 4 5 6 ··· 33 下一页

2022年12月2日

在 Mac 下,实现与服务器进行便捷的文件上传和下载操作

摘要: 出处:https://github.com/aikuyun/iterm2-zmodem 阅读全文

posted @ 2022-12-02 15:25 cag2050 阅读(50) 评论(0) 推荐(0) 编辑

2022年11月23日

Ansible 知识点

摘要: Ansible 2.5 and above work with Python 3. https://docs.ansible.com/ansible/latest/reference_appendices/python_3_support.html ansible-core Version、Cont 阅读全文

posted @ 2022-11-23 21:08 cag2050 阅读(180) 评论(0) 推荐(0) 编辑

Ansible 资料

摘要: Ansible 资料 | 说明 | 书籍《奔跑吧Ansible(第2版):探索自动化配置与部署捷径》代码仓库 | https://github.com/ansiblebook/ansiblebook Ansible 官方文档 | https://docs.ansible.com/ansible/la 阅读全文

posted @ 2022-11-23 21:06 cag2050 阅读(34) 评论(0) 推荐(0) 编辑

2022年10月19日

前端配置后端接口的https地址,必须要使用域名

摘要: 大部分SSL证书,只能使用域名进行申请。 没用使用域名时,vue前端项目报错:net::ERR_CERT_COMMON_NAME_INVALID,go后端项目报错: 2022/10/19 16:33:34 http: TLS handshake error from 111.204.179.70:5 阅读全文

posted @ 2022-10-19 19:32 cag2050 阅读(779) 评论(0) 推荐(0) 编辑

2022年10月15日

PostgreSQL 报错及解决

摘要: 启动PostgreSQL时:/your_postgresql_install_path/postgresql/bin/pg_ctl -D /your_postgresql_install_path/postgresql/data -l /your_postgresql_install_path/po 阅读全文

posted @ 2022-10-15 19:41 cag2050 阅读(242) 评论(0) 推荐(0) 编辑

2022年10月10日

etcd 报错及解决

摘要: go build 时报错:go: go.etcd.io/bbolt@v1.3.5 used for two different module paths (github.com/coreos/bbolt and go.etcd.io/bbolt) 报错时 go.mod 配置: replace ( g 阅读全文

posted @ 2022-10-10 19:18 cag2050 阅读(120) 评论(0) 推荐(0) 编辑

2022年9月29日

filebeat 知识点

摘要: 资料 | 说明 | nohup ./filebeat -e & | 启动 filebeat ./filebeat test config -v | 检查 filebeat.yml 文件的格式 filebeat的nohup进程自动停止的问题【推荐使用:第二种解决办法】 | https://www.cn 阅读全文

posted @ 2022-09-29 17:09 cag2050 阅读(27) 评论(0) 推荐(0) 编辑

filebeat 直连 elasticsearch 利用 pipeline processor 提取 message 中的字段

摘要: 要求: 从message中提取event字段 从message中提取streamId字段 从message中提取time字段 将提取出的time字段的值,格式为时间戳类型,并保存到ts字段 实现步骤: 打开kibana网址:http://your_ip:5601/app/dev_tools#/con 阅读全文

posted @ 2022-09-29 14:54 cag2050 阅读(245) 评论(0) 推荐(0) 编辑

2022年9月4日

《程序员的自我修养 : 链接、装载与库》

摘要: 资料 | 说明 | Examples from the book 程序員的自我修養 | https://github.com/miaoski/xiuyang 阅读全文

posted @ 2022-09-04 22:22 cag2050 阅读(43) 评论(0) 推荐(0) 编辑

2022年9月3日

cgo 知识点

摘要: cgo 知识点 | 说明 | 可以通过go build -x -v输出带有cgo代码的Go源文件的构建细节。| https://weread.qq.com/web/reader/b8f32d2072895edbb8fbb04k65b326f026965b9eea6e6e1 CGO中的${SRCDIR 阅读全文

posted @ 2022-09-03 13:52 cag2050 阅读(158) 评论(2) 推荐(0) 编辑

2022年8月5日

Go 知识点(摘抄书籍内容)

摘要: Go 知识点 | 网址 | 【因为 T850 类型的指针实现了Robot 接口,所以能够作为Boot的参数;即:因为指针实现了接口,所以接口参数可以传入指针】接口也是一种类型,可作为参数传递给函数,因此可编写可重用于多个接口实现的函数。这个函数将接口Robot的实现作为参数,并返回调用方法Power 阅读全文

posted @ 2022-08-05 09:38 cag2050 阅读(19) 评论(0) 推荐(0) 编辑

2022年7月21日

解决 Safari 13.1.2 中,el-table 列错位问题

摘要: el-table-column 加上属性:show-overflow-tooltip。 阅读全文

posted @ 2022-07-21 15:50 cag2050 阅读(420) 评论(0) 推荐(0) 编辑

2022年7月19日

https://github.com/bilibili/flv.js 项目本地调试步骤

摘要: https://github.com/bilibili/flv.js 项目本地调试步骤: 原理:npm run dev 时,会监控src文件夹下的修改,编译到dist里。 安装包:npm install 本地运行:npm run dev 在浏览器中打开html页面:demo/index.html 修 阅读全文

posted @ 2022-07-19 16:06 cag2050 阅读(257) 评论(0) 推荐(0) 编辑

C++ 相关库

摘要: C++ 相关库 | 说明 | RapidJSON | https://github.com/Tencent/rapidjson 阅读全文

posted @ 2022-07-19 10:21 cag2050 阅读(23) 评论(0) 推荐(0) 编辑

2022年7月18日

C++ 知识点(摘抄书籍内容)

摘要: 知识点 | 说明 | 所谓的引用就是给变量取一个别名,使一块内存空间可以通过几个变量名来访问。声明引用类型的变量需要在变量名前加上符号&,并且必须指定初值,即被引用的变量。C++引入引用的主要目的是将引用作为函数的参数。左值和右值都是针对表达式而言的,左值是指表达式结束后依然存在的持久对象,在内存有 阅读全文

posted @ 2022-07-18 20:12 cag2050 阅读(31) 评论(0) 推荐(0) 编辑

2022年7月16日

SPA 知识

摘要: SPA 知识: 后端保存用户登录的状态,如果用户登录过期,再请求接口时,后端接口返回标识用户登录过期的code码,前端跳转到登陆页。 阅读全文

posted @ 2022-07-16 16:57 cag2050 阅读(33) 评论(0) 推荐(0) 编辑

2022年7月3日

macOS 安装 Homebrew 报错:Failed to connect to raw.githubusercontent.com port 443: Connection refused

摘要: 参考:https://blog.csdn.net/txl910514/article/details/105880125 此时:ping raw.githubusercontent.com 是不通的 查询 raw.githubusercontent.com 的真实IP:https://ipaddre 阅读全文

posted @ 2022-07-03 23:36 cag2050 阅读(284) 评论(0) 推荐(0) 编辑

2022年7月2日

GitHub 无法重置密码,提示:That address is either invalid, not a verified primary email or is not associated with a personal user account. Organization billing emails are only for notifications

摘要: 问题: GitHub 无法重置密码,提示:That address is either invalid, not a verified primary email or is not associated with a personal user account. Organization bill 阅读全文

posted @ 2022-07-02 23:37 cag2050 阅读(5462) 评论(0) 推荐(0) 编辑

CMake 学习资料

摘要: CMake 学习资料 | 说明 | 官方文档 | https://cmake.org/cmake/help/latest/ 官方文档-搜索页面 | https://cmake.org/cmake/help/latest/search.html?q= 书籍《CMake Cookbook》| https 阅读全文

posted @ 2022-07-02 12:07 cag2050 阅读(83) 评论(0) 推荐(0) 编辑

2022年6月18日

element-ui 在同一个方法中,触发了多个 message 组件提示信息时,会出现消息重叠的问题

摘要: 解决方案1:将方法定义为 async 异步函数,然后使用 await 等待执行。 async checkLogin () { if (this.username '') { await this.$message.warning('请输入用户名') } if (this.password '') { 阅读全文

posted @ 2022-06-18 14:15 cag2050 阅读(1184) 评论(0) 推荐(0) 编辑

2022年6月17日

WebRTC 浏览器兼容性

摘要: 资料 | 说明 | 可以同时发布多个音频轨道,SDK 会自动混音。(Safari 12 之前的版本不支持混音,无法使用此特性。) | https://docs.agora.io/cn/Interactive%20Broadcast/publish_and_subscribe_web_ng?platf 阅读全文

posted @ 2022-06-17 16:54 cag2050 阅读(458) 评论(0) 推荐(0) 编辑

WebRTC 报错及解决

摘要: 报错:DOMException: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to set remote answer sdp: Called in wrong state: stable 原因:一种 阅读全文

posted @ 2022-06-17 09:47 cag2050 阅读(4274) 评论(0) 推荐(0) 编辑

2022年6月10日

WebRTC 中 SDP 字段含义及格式

摘要: SDP 字段 含义 格式 说明 a=rtpmap: a=fmtp: 下面图片出处:https://weread.qq.com/web/reader/ddb32ad0723bdc35ddbf6abk66f3299023a66f041e16858 阅读全文

posted @ 2022-06-10 09:58 cag2050 阅读(166) 评论(0) 推荐(0) 编辑

2022年6月7日

Differences between pc.removeTrack(sender) and sender.replaceTrack(null)

摘要: https://github.com/w3c/webrtc-pc/issues/2024 阅读全文

posted @ 2022-06-07 14:53 cag2050 阅读(25) 评论(0) 推荐(0) 编辑

选择性转发单元 SFU(Selective Forwarding Unit)网络结构

摘要: 在SFU(Selective Forwarding Unit)网络结构中,仍然有中心节点媒体服务器,但是中心节点只负责转发,不做合流、转码等资源开销较大的媒体处理工作,所以服务器的压力会小很多,服务器配置也不像MCU的要求那么高。每个参与者需要1个上行链路和N-1个下行链路,带宽消耗低于Mesh,但 阅读全文

posted @ 2022-06-07 10:24 cag2050 阅读(657) 评论(0) 推荐(0) 编辑

STUN(Session Traversal Utilities for NAT) 与 TURN(Traversal Using Relays around NAT)

摘要: STUN 位于NAT网络内的设备能够访问互联网,但并不知道NAT网络的公网IP地址,这时候就需要通过STUN协议实时发现公网IP。 STUN(Session Traversal Utilities for NAT)是一种公网地址及端口的发现协议,客户端向STUN服务发送请求,STUN服务返回客户端的 阅读全文

posted @ 2022-06-07 09:50 cag2050 阅读(175) 评论(0) 推荐(0) 编辑

2022年5月31日

NET::ERR_CERT_AUTHORITY_INVALID

摘要: 资料 说明 NET::ERR_CERT_AUTHORITY_INVALID https://zhuanlan.zhihu.com/p/266713329 阅读全文

posted @ 2022-05-31 18:35 cag2050 阅读(137) 评论(0) 推荐(0) 编辑

2022年5月30日

Chrome 浏览器崩溃,错误代码:11

摘要: // The operation failed because of unimplemented functionality. NET_ERROR(NOT_IMPLEMENTED, -11) 出处:https://source.chromium.org/chromium/chromium/src/+ 阅读全文

posted @ 2022-05-30 20:35 cag2050 阅读(922) 评论(0) 推荐(0) 编辑

2022年5月25日

浏览器的 WebRTC 工具

摘要: Chrome 浏览器 说明 chrome://webrtc-internals/ chrome://settings/content/camera Safari 浏览器 说明 阅读全文

posted @ 2022-05-25 18:54 cag2050 阅读(195) 评论(0) 推荐(0) 编辑

WebRTC 相关资料

摘要: WebRTC 相关资料 | 网址 | DetectRTC - Is WebRTC Supported In Your Browser? | https://www.webrtc-experiment.com/DetectRTC/ WebRTC 已知问题及规避方案(即构) | https://doc- 阅读全文

posted @ 2022-05-25 09:43 cag2050 阅读(35) 评论(0) 推荐(0) 编辑

2022年5月20日

WebRTC 中如何设置视频的码流

摘要: WebRTC中如何设置视频的码流: VP8 编码的视频码流,用修改 sdp 中 B=AS: 的方式(自己没试过) H264 编码的视频码流,要用修改 sdp 中 x-google-min-bitrate、x-google-max-bitrate、x-google-start-bitrate 的方式, 阅读全文

posted @ 2022-05-20 16:56 cag2050 阅读(1130) 评论(0) 推荐(0) 编辑

macOS 与 Safari 浏览器的版本对应

摘要: macOS 与 Safari 浏览器的版本对应:https://en.wikipedia.org/wiki/Safari_version_history 阅读全文

posted @ 2022-05-20 15:17 cag2050 阅读(455) 评论(0) 推荐(0) 编辑

2022年5月16日

Safari浏览器中,Access-Control-Allow-Headers 兼容性问题,别设置为*,设置为具体的每个值

摘要: 问题:macOS 10.13.6、Safari浏览器 11.1.2 中,接口报错:【Request header field Content-Type is not allowed by Access-Control-Allow-Headers.】 解决:Access-Control-Allow-H 阅读全文

posted @ 2022-05-16 12:24 cag2050 阅读(251) 评论(0) 推荐(0) 编辑

2022年5月7日

FFmpeg 学习资料

摘要: FFmpeg 学习资料 网址 官方网站 https://www.ffmpeg.org/ FFmpeg 视频处理入门教程 https://www.ruanyifeng.com/blog/2020/01/ffmpeg.html 《FFmpeg音视频开发基础与实战》 https://weread.qq.c 阅读全文

posted @ 2022-05-07 18:14 cag2050 阅读(51) 评论(0) 推荐(0) 编辑

2022年5月6日

WebRTC 中,共享屏幕如何监测【停止共享】按钮的点击;如何让【停止共享】所在的漂浮栏消失?

摘要: 说明: 点击网页中的【停止共享】按钮,MediaStream 触发 oninactive 事件,同时 MediaStreamTrack 触发 onended 事件。可以按需在相应事件中,加入自己的业务逻辑。 MediaStream 中所有的 track,都stop()后,【停止共享】所在的漂浮栏消失 阅读全文

posted @ 2022-05-06 19:30 cag2050 阅读(665) 评论(0) 推荐(0) 编辑

2022年4月14日

音视频相关软件

摘要: 音视频相关软件 说明 microsip 之类的软件 https://zh.altapps.net/soft/microsip?platform=mac 阅读全文

posted @ 2022-04-14 14:29 cag2050 阅读(39) 评论(0) 推荐(0) 编辑

2022年4月13日

.prettierrc.js 文件配置

摘要: // .prettierrc.js module.exports = { // 行尾不需要加分号 "semi": false, // 末尾不需要加逗号 "trailingComma": "none" } 阅读全文

posted @ 2022-04-13 10:30 cag2050 阅读(587) 评论(0) 推荐(0) 编辑

2022年2月24日

实时音视频live-pusher、live-player组件的使用

摘要: 官方说明 注意点 暂只针对国内主体如下类目的小程序开放,需要先通过类目审核,再在小程序管理后台,「开发」-「接口设置」中自助开通该组件权限。 好像只有企业账号,才能选择这些类目。 资料 说明 (9)音视频组件 https://developers.weixin.qq.com/community/de 阅读全文

posted @ 2022-02-24 15:37 cag2050 阅读(374) 评论(0) 推荐(0) 编辑

2022年2月11日

WebRTC 知识点

摘要: 知识点 | 说明 | setEnabled 和 setMuted 有什么区别? | https://docs.agora.io/cn/Interactive%20Broadcast/faq/differences_between_setenabled_and_setmuted?platform=We 阅读全文

posted @ 2022-02-11 16:06 cag2050 阅读(122) 评论(0) 推荐(0) 编辑

JavaScript 设计模式-单例模式

摘要: 出处:https://segmentfault.com/a/1190000022831974 解决了基础版类不够 透明 的问题,可以使用 new 关键字来初始化实例,但同时也存在着新的问题 判断 Single.instance 类型来返回,可能得不到预期结果 耦合度过高 这种方式也可以通过 ES6 阅读全文

posted @ 2022-02-11 10:47 cag2050 阅读(23) 评论(0) 推荐(0) 编辑

上一页 1 2 3 4 5 6 ··· 33 下一页

导航