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 youtube_dl | |
import datetime | |
playlists = ['PLAYLIST_URL_1', 'PLAYLIST_URL_2', 'PLAYLIST_URL_3'] | |
ytdl_format_options = { | |
'format': 'bestaudio/best', | |
'extractaudio': True, | |
'audioformat': "mp3", | |
'outtmpl': '%(id)s', # part file temp name | |
'noplaylist': True, |
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 */ |
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
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
# 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
#!/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
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
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
on: | |
push: | |
branches: | |
- "master" | |
- "main" | |
name: Generate Release With Zip Asset | |
jobs: | |
build: |
OlderNewer