折腾啥

联通余量(v4)
据 18号扫黄科长 反馈 有些包没有 id...
之前天天叫有新增包通知的人呢 早点发日志早就解决了
于是新增逻辑: 没有 id 的包, 使用包名 作为 id
不知道有没有 bug
测测
立刻要看效果的话 需要执行两次
第一次按新逻辑写入 第二次会去比较
查看文档
💬 查看最新原文
📢 折腾啥 频道
👥 折腾啥 群组- ❤️2
#脚本 #vmshell 查询中转剩余流量
复制 curl 粘贴 搞好 tg 推送参数 cron 一把梭
#!/usr/bin/env bash
# > 打开产品详情时 有个请求 复制 curl 替换就行
text=curl 'https://vmshell.com/clientarea.php?action=productdetails&id=&ajax=true&act=list_rule' \
--compressed
echo $text
# > 记得装个 yq 解析 json
all=echo $text| yq ".traffic_all"
used=echo $text| yq ".traffic_used"
text="[vmshell] $used GB / $all GB"$'\n\n'"https://vmshell.com/clientarea.php"
echo text
# > tg bot api key
api_key=""
# > tg 目标对话 id
chat_id=""
curl -F disable_notification=true -F chat_id=$chat_id -F "text=$text" https://api.telegram.org/bot$api_key/sendMessage
💬 查看最新原文
📢 折腾啥 频道
👥 折腾啥 群组
#订阅转换 #混淆
小更新
🆕 增加参数 dta=true 域名解析为 IP (目前的逻辑: 解析失败的仍然是域名)
👉🏻 查看 https://t.me/zhetengsha/61
💬 查看最新原文
📢 折腾啥 频道
👥 折腾啥 群组- 👍1
#v2ray #魔改 #clash #模块
因为使用了原模块的0跳科技. 理论上跟原模块一样0跳.
1. 没开自启
2. 没开自动下载核心 默认已带 64位 的依赖
3. 没开网络检测 不准 自测有没有网
4. udp肯定走代理了 我测过. 你的不走是你的问题
5. 已更新为最新的 clash 和 面板. 支持显示嗅探域名
6. clash 配置不是完整的. 只包含要注意的配置. 其他配置项自己补全. 不知道怎么补就别用. 不要问我
7. 里面有一些残留的原 v2ray 模块的说明文件. 懒得删改. 自己想怎么用
8. 我试了能用. 不能用是你的问题. 别问, 问也不回答. 不会维护 随便玩玩
💬 查看最新原文
📢 折腾啥 频道
👥 折腾啥 群组
memos可替代flomo笔记自托管开源项目
GitHub地址:https://github.com/usememos/memos
示例:https://demo.usememos.com
#开源 #flomo #笔记 #自部署
💬 查看最新原文
📢 折腾啥 频道
👥 折腾啥 群组
HE 的 IPv6 Tunnel 居然支持 OpenAI
# bash <(curl -Ls https://cpp.li/openai)
OpenAI Access Checker. Made by Vincent
https://github.com/missuo/OpenAI-Checker
-
[IPv4]
Your IPv4: 43.114.514.191 - Tencent cloud computing
Region: HK. Not support OpenAI at this time.
-
[IPv6]
Your IPv6: 2001:470:18:444::2 - Hurricane Electric IPv6 Tunnel Broker
Your IP supports access to OpenAI. Region: US
-
💬 查看最新原文
📢 折腾啥 频道
👥 折腾啥 群组
Telegram Bot API 反代 https://blog.panpili.com/2022/cloud/reverse-proxy-for-tg-bot
💬 查看最新原文
📢 折腾啥 频道
👥 折腾啥 群组
#程序员
我们应该如何用好 AI?从 ChatGPT 到编程语言、大数据、前端
“学习一些 prompt,准确描述你的想法,会帮助你大幅提效。比如 awesome-chatgpt-prompts[1]这个 Github 仓库可以帮你学习各种 prompt,如果你是开发者,可以在 chatgpt-engineer-prompts[2] 找到一些编程相关的使用技巧。”
[1]awesome-chatgpt-prompts: https://github.com/f/awesome-chatgpt-prompts
[2]chatgpt-engineer-prompts: https://github.com/camsong/chatgpt-engineer-prompts
💬 查看最新原文
📢 折腾啥 频道
👥 折腾啥 群组

#zerotier #ipv6 https://github.com/zerotier/ZeroTierOne/issues/1748
/var/lib/zerotier-one/local.conf
{
"settings":
{
"defaultBondingPolicy": "ipv6-active-backup",
"policies":
{
"ipv6-active-backup":
{
"ipvPref": 6,
"failoverInterval": 10000,
"basePolicy": "active-backup"
}
}
}
}
💬 查看最新原文
📢 折腾啥 频道
👥 折腾啥 群组

#脚本 #vmshell 查询中转剩余流量
复制 curl 粘贴 搞好 tg 推送参数 cron 一把梭
#!/usr/bin/env bash
# > 打开产品详情时 有个请求 复制 curl 替换就行
text=curl 'https://vmshell.com/clientarea.php?action=productdetails&id=&ajax=true&act=list_rule' \
--compressed
echo $text
# > 记得装个 yq 解析 json
all=echo $text| yq ".traffic_all"
used=echo $text| yq ".traffic_used"
text="[vmshell] $used GB / $all GB"$'\n\n'"https://vmshell.com/clientarea.php"
echo text
# > tg bot api key
api_key=""
# > tg 目标对话 id
chat_id=""
curl -F disable_notification=true -F chat_id=$chat_id -F "text=$text" https://api.telegram.org/bot$api_key/sendMessage
💬 查看最新原文
📢 折腾啥 频道
👥 折腾啥 群组
#v2ray #魔改 #clash #模块
因为使用了原模块的0跳科技. 理论上跟原模块一样0跳.
1. 没开自启
2. 没开自动下载核心 默认已带 64位 的依赖
3. 没开网络检测 不准 自测有没有网
4. udp肯定走代理了 我测过. 你的不走是你的问题
5. 已更新为最新的 clash 和 面板. 支持显示嗅探域名
6. clash 配置不是完整的. 只包含要注意的配置. 其他配置项自己补全. 不知道怎么补就别用. 不要问我
7. 里面有一些残留的原 v2ray 模块的说明文件. 懒得删改. 自己想怎么用
8. 我试了能用. 不能用是你的问题. 别问, 问也不回答. 不会维护 随便玩玩
💬 查看最新原文
📢 折腾啥 频道
👥 折腾啥 群组