This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Source: https://misc.flogisoft.com/bash/tip_colors_and_formatting | |
set -e | |
echo "=== 16 colors ===" | |
# Background | |
for clbg in {40..47} 49 {100..107}; do | |
# Foreground |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import base64 | |
import re | |
STANDARD_ALPHABET = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/" | |
CUSTOM_ALPHABET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-_" | |
ENCODE = str.maketrans(STANDARD_ALPHABET, CUSTOM_ALPHABET) | |
DECODE = str.maketrans(CUSTOM_ALPHABET, STANDARD_ALPHABET) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Author: 秉虎 | |
TOKEN="" | |
COIN="" | |
DESCRIPTION="" | |
GENERATE_URL="https://camp-api.sitcon.party/generate" | |
# Change the number for how many you want to generate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[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 |