Skip to content

Instantly share code, notes, and snippets.

@rconroy293
rconroy293 / afr_equipment.py
Last active August 12, 2021 17:06
Plotting equipment win rates for AFR Bo1
import collections
import math
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
from scipy.interpolate import PchipInterpolator
class Seventeenlands < Formula
include Language::Python::Virtualenv
desc "Utility to upload MTG Arena data to 17Lands.com"
homepage "https://www.17lands.com/"
url "https://files.pythonhosted.org/packages/1d/9c/547b41754207914d59e7da4c4c048582fa74d1a0855f33bae1d84d14df3f/seventeenlands-0.1.22.tar.gz"
sha256 "d4057f30d6d26cd9520bcd2121e217c802964f074fd6f3c22b7d7f86046157e9"
license "GPL-3.0"
depends_on "python@3.9"
@rconroy293
rconroy293 / show_alembic_versions.txt
Created February 23, 2021 22:40
Sample querying of Airflow Alembic version
mysql> select * from alembic_version;
+--------------+
| version_num |
+--------------+
| 41f5b83752f8 |
+--------------+