This file contains 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
# ############### HOW TO USE THIS FILE ################ | |
# | |
# NOTE: Requires Python 3.9+ and the package `xmltodict` installed. | |
# | |
# 1. Drop this file in the base level directory of the "Tagged Plans - XML for xTranslator" mod | |
# 2. Open xTranslator, load 76's ESP/ESM, and process the IconSortingTag's header rules | |
# - import the fonts to your ba2s too | |
# 3. Export IconSortingTag's changes as an XML translation | |
# - File -> Export Translation -> XML files | |
# - Name file `full_icon_dump.xml` and place in directory of the "Tagged Plans" mod |
This file contains 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
on: | |
push: | |
branches: | |
- "master" | |
- "main" | |
name: Generate Release With Zip Asset | |
jobs: | |
build: |
This file contains 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 asyncio | |
import functools | |
import logging | |
import os | |
from concurrent.futures import ThreadPoolExecutor | |
import youtube_dl | |
from .digital_ocean import DropletManager |
This file contains 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 digitalocean | |
import random | |
import asyncio | |
import functools | |
from datetime import datetime | |
class DropletManager: | |
def __init__(self, thread_pool): | |
print("creating DropletManager") |
This file contains 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 | |
#----------------------------------------------Constants----------------------------------------------# | |
DEFAULT_URL_BASE="https://discordapp.com/api" | |
PYEXEC = 3 | |
USER_OBJ_KEYS="id username discriminator verified bot email avatar" | |
declare -A BOT | |
if [ -n "$(command -v lsb_release)" ]; then |
This file contains 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
# systemd unit file for https://github.com/Just-Some-Bots/MusicBot | |
[Unit] | |
Description=MusicBot | |
[Service] | |
ExecStart=~/MusicBot/run.sh | |
Restart=on-failure |
This file contains 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 asyncio | |
import discord | |
import aiohttp | |
import logging | |
import functools | |
import traceback | |
import numpy as np | |
import matplotlib.pyplot as plt | |
import matplotlib.dates as mdates |
This file contains 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 praw | |
import asyncio | |
import traceback | |
from datetime import timedelta | |
from time import time | |
from collections import OrderedDict | |
username = "UmbrellaCorpBot" |
This file contains 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
/** @license | |
* DHTML Snowstorm! JavaScript-based Snow for web pages | |
* -------------------------------------------------------- | |
* Version 1.43.20111201 (Previous rev: 1.42.20111120) | |
* Copyright (c) 2007, Scott Schiller. All rights reserved. | |
* Code provided under the BSD License: | |
* http://schillmania.com/projects/snowstorm/license.txt | |
*/ | |
/*global window, document, navigator, clearInterval, setInterval */ |
NewerOlder