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
# Bind r to reload config | |
bind r source-file ~/.tmux.conf | |
# Remap prefix from 'C-b' to 'C-a' | |
unbind C-b | |
set-option -g prefix C-a | |
bind-key C-a send-prefix | |
# split panes using | and - | |
bind | split-window -h |
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 discord | |
BOT_TOKEN = '(bot token here)' | |
MESSAGE_ID = 1234 | |
EMOJI_NAME = 'emojiName' | |
ROLE_ID = 4321 | |
class ReactionRole(discord.Client): |
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
{ | |
"indigo": { | |
"img": "^(dynamic\\.indigoimages\\.ca/gifts/\\d+\\.jpg).+", | |
"to": "$1?maxwidth=1000" | |
} | |
} |
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 re | |
with open('5E113D5F383749AEB72703486DD8247B', 'rb') as fp: | |
data = fp.read() | |
filenames = re.findall(rb'\d+\.txt', data) | |
contents = re.findall(rb'(true\|1[^\0]+)', data, re.DOTALL) | |
for name, content in zip(filenames, contents): | |
with open(name.replace(b'.txt', b'.tunic'), 'wb') as fp: |
OlderNewer