Skip to content

Instantly share code, notes, and snippets.

View tazz4843's full-sized avatar
:shipit:
shipping broken code

Niko tazz4843

:shipit:
shipping broken code
View GitHub Profile
@tazz4843
tazz4843 / keybase.md
Created April 9, 2023 04:00
keybase.md

Keybase proof

I hereby claim:

  • I am tazz4843 on github.
  • I am tazz4843 (https://keybase.io/tazz4843) on keybase.
  • I have a public key ASCPCHg3w7rgYhYSpMLrUyDuI3h17Vth9bdYKAH9s9W4HQo

To claim this, I am signing this object:

@tazz4843
tazz4843 / codes.json
Last active March 23, 2022 20:00
List of ISO639-1 codes including country extensions
{
"aa": {
"native": "Afar",
"english": "Afar"
},
"ab": {
"native": "Abkhazian",
"english": "Abkhazian"
},
"af": {
@tazz4843
tazz4843 / botinfo.md
Last active April 8, 2021 04:52
COVID-19 Bot Docs

Discord Bots

COVID-19 Discord Bot

A bot to give live stats on the COVID-19 (aka COVID 19, COVID19 and/or coronavirus) pandemic: simple as that: but that's not the only feature it has! This bot has:

  • A auto-updater to send updates on a country every specified number of minutes/hours/days/weeks (c!help autoupdate for details)
  • Global, country, US state, and province stats (c!covid world for global, c!covid country <country> for stats on <country>, c!covid province <province> for stats on <province> in <country>, and c!covid state <state> for stats on <state>.)
  • Maps! See a global, high-quality map for a lot of stuff, like total cases! See c!maps for details.
  • Vaccine stats! Get details on the latest vaccine canadiates without leaving Discord! See c!vaccine for details.
  • Graphs! Get a nice dark-mode graph for anything that the c!covid command supports.
# coding=utf-8
# Parses the mod list found here:
# https://gist.github.com/John-Paul-R/6819feb2f2f794df06ae678878cddaf3
import re
from json import dump
mod_list_file = open("mod_list.txt", "r")
mod_list_text = mod_list_file.read()
temp_mod_list = mod_list_text.split("\n")
[
{
"id": 1,
"name": "'Slight' Gui Modifications",
"url": "https://www.curseforge.com/minecraft/mc-mods/slight-gui-modifications",
"short_description": "Allows 'slight' gui modifications",
"downloads": "59,157",
"latest_supported_version": "1.16.2"
},
{