Všechno Nové

user:thomas gists created by user

title:mygist gists with given title

description:sync gists with given description

filename:myfile.txt gists having files with given name

extension:yml gists having files with given extension

language:go gists having files with given language

topic:homelab gists with given topic

all:systemctl search all fields

Přihlásit se

Všechno Nové Přihlásit se

All gists matching topic vps

Nedávno Vytvořeno
Nejméně nedávno Vytvořeno
Nedávno Aktualizováno
Nejméně nedávno Aktualizováno

jetsung / 抓取 VPS pid

0 Lajky
0 Forky
1 Soubory
Naposledy aktivní 1 month ago
抓取 VPS 平台商品的 pid 方便添加 aff
pid vps
1 import argparse
2 import requests
3 from urllib.parse import urljoin, urlparse, parse_qs, urlencode, urlunparse
4 import sys
5
6 session = requests.Session()
7 session.headers.update({
8 "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/115.0.0.0 Safari/537.36",
9 "Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
10 "Accept-Language": "en-US,en;q=0.9",

jetsung / VPS 到货通知

0 Lajky
0 Forky
2 Soubory
Naposledy aktivní 1 month ago
VPS 到货通知
vps
1 #!/usr/bin/env bash
2
3 [[ -n "${DEBUG:-}" ]] && set -eux || set -euo pipefail
4
5 WEBHOOK_SECRET="${WEBHOOK_SECRET:-}"
6
7 # ==================== 配置 ====================
8 URL="${1:-https://billing.chunkserve.com/index.php?rp=/store/let-vm-special/xeon-yearly-deal-3-at-let}"
9 #WEBHOOK_URL="https://open.feishu.cn/open-apis/bot/v2/hook/xxxxxxxxxx" # ← 改成你的真实 webhook
10 WEBHOOK_URL="https://open.larksuite.com/open-apis/bot/v2/hook/${WEBHOOK_SECRET}"
Novější Starší

Vytvořeno pomocí Opengist ⋅ Load: 103ms⋅

Čeština
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文
⋅ 爱开发 ⋅ 爱开发社区