Skip to content

Instantly share code, notes, and snippets.

Avatar
🐱
meow

餅喵 allen0099

🐱
meow
View GitHub Profile
@allen0099
allen0099 / ptt_aid_converter.py
Last active Jun 23, 2020
PTT aid 跟 url 互相轉換的工具
View ptt_aid_converter.py
import base64
import re
STANDARD_ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"
CUSTOM_ALPHABET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_"
ENCODE = str.maketrans(STANDARD_ALPHABET, CUSTOM_ALPHABET)
DECODE = str.maketrans(CUSTOM_ALPHABET, STANDARD_ALPHABET)
@allen0099
allen0099 / generate.sh
Created Aug 12, 2019
SITCON Camp 2019 產生大量可用 QR Code 點數
View generate.sh
#!/bin/bash
# Author: 秉虎
TOKEN=""
COIN=""
DESCRIPTION=""
GENERATE_URL="https://camp-api.sitcon.party/generate"
# Change the number for how many you want to generate
@allen0099
allen0099 / noProxySites.sorl
Created Jul 8, 2019
The sites shouldn't pass through the local proxy, they should go directly without proxy
View noProxySites.sorl
[SwitchyOmega Conditions]
; Require: SwitchyOmega >= 2.3.2
; Date: 7/9/2019
; Usage: https://github.com/FelisCatus/SwitchyOmega/wiki/RuleListUsage
; Author: allen0099
; SSL
*.pki.goog
*.entrust.net
*.godaddy.com