Skip to content

Instantly share code, notes, and snippets.

@iguananaut
iguananaut / mastomutant.sh
Created August 20, 2018 21:16
Updates Mutant Standard Emoji on a non-Dockerized Mastodon instance. If you use this, you'll need 'wget' and 'unzip'.
#!/bin/bash
# MastoMutant Emoji Import
# Original author https://monsterpit.net/@daggertooth
### PATHS! ###
# Where to put the Mutant Standard archives and extracted files.
mutant_dir="$HOME/mutant"
# Extra custom emojis to add.
extra_dir="$HOME/extra_emoji"
from scipy.interpolate import interp1d
import numpy as np
import shlex
import subprocess as sp
import prettyplotlib as ppl
from matplotlib import pyplot as plt
from matplotlib.ticker import FuncFormatter
import io