Skip to content

Instantly share code, notes, and snippets.

@wyf9
wyf9 / extensions.json
Last active July 25, 2025 13:47
my vscode settings backup
[
{
"identifier": {
"id": "ms-vscode.js-debug"
},
"preRelease": false,
"version": "1.102.0",
"pinned": false
},
{
@wyf9
wyf9 / cfd.sh
Last active July 18, 2025 11:15
在 Huggingface Space 中后台启动 Cloudflared
# Cloudflare script for Huggingface by wyf9
echo "[CFD] v2025.7.18.1"
# * 使用说明:
# 在 Dockerfile 中添加: RUN wget -O cfd.sh https://gist.github.com/wyf9/71ff358636154ab00d90602c3c818763/raw/cfd.sh
# 并将启动命令改为 CMD bash cfd.sh
# 需要提前安装 wget: CMD apt install wget -y
# * 配置环境变量:
# CFD_TOKEN: 你的隧道 token
# CFD_COMMAND: 原本的启动命令