q792602257's recent timeline updates
q792602257's repos on GitHub
Python · 6 watchers
XiguaLiveDanmakuHelper
西瓜视频直播弹幕接口(现西瓜直播已和抖音合并,此项目不再维护)
TypeScript · 3 watchers
tmux-watch
基于 tmux 输出的稳定性监测 OpenClaw 插件,可有效检测到tmux中的TUI(如Codex)是否完成了任务等待你的回应 | An OpenClaw plugin which monitors a tmux pane and triggers an alert when the output stays unchanged for N consecutive captures. The agent is woken up to summarize the last output and notify you.
JavaScript · 1 watchers
douyin_web_live
抖音直播间(web)弹幕抓取 【上抖音,看见别人美好生活!】
C# · 1 watchers
XiguaDanmakuHelperGUI
新版请查看:https://github.com/q792602257/XiguaLive_dm
JavaScript · 0 watchers
biliLive-tools
B 站录播一站式工具,支持录播姬&blrec的webhook自动上传
TypeScript · 0 watchers
DataMate
DataMate is an enterprise-level data processing platform designed for model fine-tuning and RAG retrieval.
0 watchers
Learning
My Language Learning Road
Kotlin · 0 watchers
Mania-Replay-Master
Render your own MUG replay video marked with hit offset and judgement!
Shell · 0 watchers
OpenWRT-CI
云编译OpenWRT开源固件
Python · 0 watchers
RpiLearning
Learning Rpi3
Go · 0 watchers
tailscale
Java · 0 watchers
wvp-GB28181-pro
WEB VIDEO PLATFORM是一个基于GB28181-2016标准实现的网络视频平台,支持NAT穿透,支持海康、大华、宇视等品牌的IPC、NVR、DVR接入。支持国标级联,支持rtsp/rtmp等视频流转发到国标平台,支持rtsp/rtmp等推流转发到国标平台。
C# · 0 watchers
xt-ray
Tools for viewing Xdebug call trace files (.xt)
q792602257

q792602257

V2EX member #451796, joined on 2019-11-08 09:34:02 +08:00
q792602257's recent replies
倒可以试试 [tmux-watch]( https://github.com/q792602257/tmux-watch) ,别人写的,我 fork 做了一些修改,配合 tmux ,检测终端是否“稳定”,如果“稳定”了则通知会话,让 OpenClaw 进一步做检查或处理
Sep 21, 2022
Replied to a topic by idragonet NGINX 请教:希望全部 jpg 301 到另外一个域名
@q792602257 顺便那个 .(jpg|jpeg)建议改成\.(jpg|jpeg)$ (以.jpg 或者.jpeg 结尾的请求),以避免奇怪的 uri 匹配到了这里
Sep 21, 2022
Replied to a topic by idragonet NGINX 请教:希望全部 jpg 301 到另外一个域名
其实时你$1 引用的内容不对,在 location 中你用括号匹配了 jpg|jpeg ,导致$1 变量设置成了匹配到的值( jpg 或者 jpeg ),这里根据你的需求,可以用 https://cdn1.b.com.cn$request_uri;

修改后的配置:
```
location ~* .(jpg|jpeg) {
return 301 https://cdn1.b.com.cn$request_uri;
}
```
如果是转播的话,可以考虑在转播端缓存 3 分钟视频,在推流端断开后,直接继续使用缓存的 3 分钟视频进行循环推流,恢复时切换回来即可
Jan 12, 2022
Replied to a topic by Tinywan PHP 2022 PHPer 路在何方?
可以多学几门,然后专精一门
这样的话,如果想转其他的语言,也有一定的基础
仅供参考
```php
/**
* @var string[] 必须是能作为数组键的值
*/
$arr = array("a", "b", "c", "d", "e");
$newArr = array();
// 引用新的数组
$newArrPointer = &$newArr;
while (sizeof($arr) > 0) {
// 移出第一个元素,作为键名
$key = array_shift($arr);
// 对上一个引用,做修改操作
$newArrPointer[$key] = array();
// 重新引用新的数组
$newArrPointer = &$newArrPointer[$key];
}
// 如果需要赋值,在这里赋值
$newArrPointer = 777;
// 释放引用
unset($newArrPointer);
print_r($newArr);
```
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3053 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 00:24 · PVG 08:24 · LAX 17:24 · JFK 20:24
♥ Do have faith in what you're doing.