TODO
如你所见,这是一个偏自用的 Cloudflared Wrapper
它的作用只有一个:
知周所众,Cloudflared (Cloudflare Tunnel) 给了你 --edge-bind-address 参数用来指定出站网卡
但是!它只能指定精确的 IP,而没法通过前缀 / CIDR 筛选,这对于动态 IP 的用户很不友好
本 Wrapper 通过几个额外参数很好地解决了此问题:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ''' | |
| Sleepy Events Listener by wyf9 (for Sleepy v5) | |
| Dependencies: | |
| $ uv add requests sseclient-py deepdiff rich | |
| Or run it directly: | |
| $ uv run --with httpx-sse --with deepdiff --with rich sleepy-v5-listener.py http://sleepy.host # REPLACE HOST | |
| ''' | |
| import asyncio | |
| import json |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .venv/ | |
| __pycache__/ | |
| *.py[cod] | |
| *.egg-info/ | |
| .pytest_cache/ | |
| .mypy_cache/ | |
| .ruff_cache/ | |
| .env | |
| config.yaml |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Kitty config file for self-use and backup purposes. | |
| # Refresh after edit: Ctrl + Shift + F5 | |
| # region kitty-custom | |
| # Fonts | |
| # BEGIN_KITTY_FONTS | |
| font_family family="Maple Mono NF CN" | |
| bold_font auto | |
| italic_font auto | |
| bold_italic_font auto |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| set -euo pipefail | |
| LOCKDIR="/tmp/viraudio" | |
| mkdir -p "$LOCKDIR" | |
| command -v pactl >/dev/null || { echo "Missing pactl, please install it first." >&2; exit 1; } | |
| usage() { | |
| cat <<EOF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .venv/ | |
| __pycache__/ | |
| *.egg-info/ |
首先打开你的 QQ 数据目录,导航到 .../nt_qq_xxx/nt_data/Emoji/BaseEmojiSyastems/EmojiSystermResource/
Tip
比如在我的机器上: /home/wyf9/.config/QQ/nt_qq_5a3d****98c3/nt_data/Emoji/BaseEmojiSyastems/EmojiSystermResource/
实测也可以从下面两个目录找到,但目录结构不同以及:
.../Tencent Files/nt_qq/global/nt_data/Emoji/emoji-resource/sysface_res/apng/- 不全
NewerOlder