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 | |
| # Quick shell script for Linux systems, to install Discord & Vencord. | |
| # By default, installs to /opt/discord; Should be fine. What's nice | |
| # about this script in lieu of other methods is that it installs the | |
| # package from discord themselves instead of a package maintained by | |
| # some people who'll be a couple hours (if not days) late after an | |
| # update was released by Discord. | |
| # Also, I've had problems with Vencord being nuked when Discord gets |
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 json | |
| import os | |
| from datetime import datetime | |
| from collections import defaultdict | |
| # CHANGE THIS FOR YOUR GAME INSTANCE | |
| path = "/path/to/your/.minecraft/config/autotip/(UUID)/stats" | |
| """ | |
| { |
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 python3 | |
| import datetime | |
| import sys | |
| import argparse | |
| import json | |
| def time_until_next_bell(schedule, current_time): | |
| verbose(f"Calculating time until next bell from {current_time}") | |
| for i, period in enumerate(schedule): | |
| if len(period) == 2: # Only the name and start time |