Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Paxxs
Paxxs / readme.md
Last active December 20, 2023 03:22
WSL2 fish shell 自动设置http代理

WSL2 fish shell 自动设置 http 代理

WSL2 使用来自宿主机的(clash)代理

使用

# echo "set -x ALL_PROXY http://(grep nameserver /etc/resolv.conf | awk '{ print \$2 }'):7890" > /etc/fish/conf.d/wsl2_proxy.fish
@Paxxs
Paxxs / mixin.yml
Created February 18, 2021 03:19
clash for windows mixin配置
mixin: # object
dns:
enable: true
listen: 0.0.0.0:53
# These nameservers are used to resolve the DNS nameserver hostnames below.
# Specify IP addresses only
default-nameserver:
- 114.114.114.114
- 222.246.129.80
@Paxxs
Paxxs / SMS_Forward_Tasker.js
Created September 16, 2021 13:27
使用 Tasker 实现安卓的短信转发
// cspell:disable
// function global(param) {
// if (param == "SMSRN") return "MorFans.cn";
// if (param == "SMSRF") return "魔帆博客";
// if (param == "SMSRD") return "9-16-21";
// if (param == "SMSRT") return "14.45";
// if (param == "SMSRB") return "【魔帆博客】您的登录验证码是 6666,请于-30分钟内填写。如非本人操作,请试试加入咱们的讨论群,加入咱们。群号:179020064 301661143";
// }
let apiKey = "填写你的 bot token";
@Paxxs
Paxxs / dns+tun.yaml
Created February 17, 2023 14:30
clash verge
# Merge Template for clash verge
# The `Merge` format used to enhance profile
prepend-rules:
prepend-proxies:
prepend-proxy-groups:
append-rules:
@Paxxs
Paxxs / relingo.css
Created March 25, 2023 02:06
relingo 双语字幕样式优化
#relingo-caption .relingo-caption {
backdrop-filter: none !important;
background: rgba(0,0,0,.5) !important;
}
#relingo-caption .relingo-caption .relingo-caption-origin {
font-size: 14px !important;
}
#relingo-caption .relingo-caption .relingo-caption-target {
@Paxxs
Paxxs / pkey.txt
Last active January 21, 2023 05:58
aida64_pkey
88338889154AF29DACE0FE5B8299007A26FCD633D7A662E0D1E13DEF2DCB1F62AE732582599B387CB50150FB0870540BFAEEB7456FC5FDF23D69C284025E385BAD6951127CD6C84C1B801F5E183B93E2150B36CDA8B18928713949CD2C975EB9D58216E0210C1390E5B9A2C01F055CF5CEA44588C5ECD2721B2781F9F8D5F2DBD601ABC97044F065021765FF947F58CF604EEA67AA6F809882FA240D5317C94733D697D05995B1C22B911C00F44049CCF2B31CB5B816EA660F7023FE14E85B604D7BFDEC88835257BCA1395D24AC03EEEB7266D5FD53BCEDEA09166DE424D5D84506CF972E712C5919E28EAB8B642B782C84DE4FF0896CAA2536779F8A9EDCA1C4DD753BCABB7DFF368A180B7AC8AECB74561DEDE54406B8B190A1995E9CD744180D55C445DB3B7D7CF634C5A227D97E9EFADF1169B88CC3AF351EFB2A4582FD22F5DBC6C3E1B019334AC4B5CB99E4CB987FC4E589399745C14B2F2213C63DCA1F04594A369D5255008D70221F6C666522FCA7972965602A0DDE5765F59A5E0BAA3F2CFE0A32B47D728868C80869EE25292631AD7161E9512700EFF9F5C5FEBB38C9BE835B3A33B8F5FFA1162B2B10EA2EF39E8728063085B8971E4B132708FDD3421684C7C982D59534BE67A479760B58F1A4FA9E36A0B3DEA52D36891DF542225B09BBC83EB18E5F30C240FAC4C07F6FFA856E6C137585A1E77246EB160B26
@Paxxs
Paxxs / settings.json
Last active December 23, 2021 04:51
winget 配置文件
{
"$schema": "https://aka.ms/winget-settings.schema.json",
// For documentation on these settings, see: https://aka.ms/winget-settings
"source": {
"autoUpdateIntervalInMinutes": 5
},
"installBehavior": {
"preferences": {
"locale": [
"en-US",
@Paxxs
Paxxs / User-Agent Custom_Mode.json
Last active May 7, 2021 07:23
FireFox_User-Agent Switcher and Manager config
{
"nossl.com, nossl.cn, 172.17.254.252": "Mozilla/5.0 (iPad; CPU OS 11_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/11.0 Tablet/15E148 Safari/604.1",
"ke.qq.com": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.3538.77 Safari/537.36",
"youtube.com, cloudflare.com, google.com, bwh88.net, aliyun.com, v2ex.com": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:85.0) Gecko/20100101 Firefox/85.0",
"huaweicloud.com": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.100 Safari/537.36",
"notion.so, github.com": "Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0",
"*": [
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:75.0) Gecko/20100101 Firefox/75.0",
"Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:75.0) Gecko/20100101 Firefox/75.0",
"Mozilla/5.0 (X11; Linux x86_64; rv:75.0) Gecko/20100101 Firefox/75.0",
<!-- : Begin batch script
@echo off
setLocal EnableExtensions
setlocal EnableDelayedExpansion
:: _ _
:: _ | | _ | | _
:: ____ _ _| |_ ___ _ _ ____ _ | | ____| |_ ____ | | _ ____| |_
:: / _ | | | | _)/ _ \| | | | _ \ / || |/ _ | _)/ _ ) | || \ / _ | _)
:: ( ( | | |_| | |_| |_| | |_| | | | ( (_| ( ( | | |_( (/ / _| |_) ( ( | | |__
:: \_||_|\____|\___\___/ \____| ||_/ \____|\_||_|\___\____(_|____/ \_||_|\___)
@Paxxs
Paxxs / 白名单.Sender
Last active February 4, 2021 12:20
NekoSMS匹配
100..|10010..|10011..|10086..|95...|12520.*|12114.*|12110.*|11185.*|1065.*955.*|123