Skip to content

Instantly share code, notes, and snippets.

View woyin's full-sized avatar
🎯
Focusing

woyin

🎯
Focusing
View GitHub Profile
@woyin
woyin / sing_box_config.json
Created July 15, 2024 01:12
Sing Box Configure Example
{
"dns": {
"servers": [
{
"tag": "dns_proxy",
"address": "https://1.1.1.1/dns-query",
"address_resolver": "dns_resolver",
"strategy": "ipv4_only",
"detour": "select"
},
@woyin
woyin / fly.toml
Created April 3, 2023 01:31 — forked from frostming/fly.toml
A Fly.io config file for OpenCat™ for Team that can be deployed directly
# fly.toml file generated for still-snowflake-6351 on 2023-03-30T09:53:40+08:00
kill_signal = "SIGINT"
kill_timeout = 5
primary_region = "sin"
processes = []
[build]
image = "bayedev/opencatd"
@woyin
woyin / autosign.php
Created August 10, 2021 03:22
Auto Sign for Discuz DSU
<?php
header("Content-type:text/html;charset=utf-8");
// 设定cookie和网址
// 通过Chrome 或者Edge 找到对应的Cookie值,找到以saltkey和auth 结尾的Cookie 名称和值,填在这里
$cookie = 'xxxxxxx_saltkey=XXXXXXXX;xxxxxxxx_auth=XXXXXX';
// 获取formhash
$URL = "http://bbs.abc.com/forum.php"; //论坛地址
$str = loadcode($cookie,$URL);
@woyin
woyin / default.custom.yaml
Created August 6, 2021 02:33
change page with parenleft/parenright in Squirrel
patch:
schema_list:
- schema: luna_pinyin # 全拼
- schema: numbers # 大写数字
- schema: easy_en # 英文
# - schema: double_pinyin # 自然码
# - schema: double_pinyin_flypy # 小鹤双拼
switcher/hotkeys:
- "Control+grave" # 注意是control+`,不是command+`
switcher/save_options: