Skip to content

Instantly share code, notes, and snippets.

View cundi's full-sized avatar
🎯
Focusing

m.l cundi

🎯
Focusing
View GitHub Profile
@cundi
cundi / Tornado AsyncHTTPClient POST JSON example.py
Created January 21, 2019 09:11 — forked from Integralist/Tornado AsyncHTTPClient POST JSON example.py
[Tornado AsyncHTTPClient POST form params example] #python #tornado #post #httpclient #asynchttpclient
# synchronous api
# response = sg.client.mail.send.post(request_body=data)
# except urllib.error.HTTPError as exc:
# async implementation
api_endpoint = 'https://api.sendgrid.com/v3/mail/send'
headers = {'Authorization': f'Bearer {sendgrid_api_key}',
'Content-Type': 'application/json'}
@cundi
cundi / ClashVergeParser.js
Created October 7, 2024 13:17 — forked from yaleiyale/ClashVergeParser.js
clash verge 内统一多订阅个文件的分流规则
function main(params) {
if (!params.proxies) return params
let proxies = []
params.proxies.forEach(proxy => {
proxies.push(proxy.name)
})
const groups = [
{
"name": "🚀不时之需",
"type": "select",
@cundi
cundi / config.yaml
Created October 10, 2024 15:12 — forked from liuran001/config.yaml
mihomo (Clash Meta) 懒人配置
# mihomo (Clash Meta) 懒人配置
# 版本 V1.8-240904
# https://gist.github.com/liuran001/5ca84f7def53c70b554d3f765ff86a33
# https://obdo.cc/meta
# 作者: 笨蛋ovo (bdovo.cc)
# Telegram: https://t.me/baka_not_baka
# 关注我的 Telegram 频道谢谢喵 https://t.me/s/BDovo_Channel
# 修改自官方示例规则 https://wiki.metacubex.one/example/#meta
# 转载请保留此注释
# 尽量添加了较为详尽的注释,不理解的地方建议对照 虚空终端 (Clash Meta) Docs 进行理解