11 2024 档案

摘要:在PHP中,如果你想要以第一个引号(")为分隔符来分割字符串,并获取第一个分割部分,你可以使用strpos()和substr()函数组合来实现。下面是一个示例: <?php $urlString = 'https://app3" type="application/vnd.apple.mpegurl 阅读全文
posted @ 2024-11-15 10:54 流年中渲染了微笑 阅读(13) 评论(0) 推荐(0) 编辑
摘要:https://zhuanlan.zhihu.com/p/4540121205 mac 安装 brew install protobuf@3 linux下安装 https://www.cnblogs.com/a438842265/p/14688413.html 阅读全文
posted @ 2024-11-14 14:55 流年中渲染了微笑 阅读(2) 评论(0) 推荐(0) 编辑
摘要:python模拟发送websocket请求的模块 pip3 install websocket-client 基于 websocket-client 的示例代码 from websocket import WebSocketApp def on_open(ws): print("on_open", 阅读全文
posted @ 2024-11-10 14:50 流年中渲染了微笑 阅读(115) 评论(0) 推荐(0) 编辑

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