My recommendations for things to do – generally those that are interesting and/or delicious – in places I've lived or spent significant time. Enjoy!
Last updated October 18, 2023. Contact: @frozenpandaman
# eli fessler, aka KUTAKi LUKUARiARiTAKUSHi | |
def trans(name): | |
d = { | |
'a': 'KA', | |
'b': 'ZU', | |
'c': 'Mi', | |
'd': 'TE', | |
'e': 'KU', | |
'f': 'LU', |
#!/usr/bin/env python | |
import urllib.request, itertools, datetime, os | |
from bs4 import BeautifulSoup | |
def main(): | |
eps = ["S1", | |
"https://www.imdb.com/title/tt4593118/", | |
"https://www.imdb.com/title/tt4593122/", | |
"https://www.imdb.com/title/tt4593126/", |
#!/usr/bin/env python | |
import urllib.request, csv, datetime, pytz, prettytable, lxml | |
from bs4 import BeautifulSoup | |
def main(): | |
statinkurl = "https://stat.ink/entire/users?_lang_=en-US" | |
page = urllib.request.urlopen(statinkurl).read() | |
bs = BeautifulSoup(page, "lxml") | |
table = bs.select_one("table.table-striped") |
#!/usr/bin/env python | |
import os, requests, json | |
from io import BytesIO | |
STREAMABLE_USERNAME = "" | |
STREAMABLE_PASSWORD = "" | |
DIRECTORY = "" | |
def main(): |
My recommendations for things to do – generally those that are interesting and/or delicious – in places I've lived or spent significant time. Enjoy!
Last updated October 18, 2023. Contact: @frozenpandaman
#!/bin/bash | |
dir="_png" | |
mkdir -p $dir # make diretory | |
for filename in *.psd; do # for all .psd files, save as indexed color .png, no transparency | |
if [[ "$filename" == *"-c"* ]]; then # grayscale unless "-c" (i.e. -credits, -color) in filename | |
cs="RGB" | |
else | |
cs="LinearGray" | |
fi | |
convert "$filename"[0] -colorspace $cs -colors 256 -background white -alpha remove -alpha off PNG8:$dir/"${filename%%.*}".png |
import geoip2.database | |
# https://dev.maxmind.com/geoip/geoip2/geolite2/ | |
reader = geoip2.database.Reader('GeoLite2-City.mmdb') | |
locs = open("locs.txt").read().splitlines() # in - list of IPs, one per line | |
latlongs = [] # out | |
count = 1 | |
for ip in locs: |
Update, March 2022: As of macOS 12.3, Aegisub r9198 and v3.3.2 (wangqr fork) no longer crash on launch.
ver. 9018-rcombs-local-6a556aac6: https://elifessler.com/aegi/6a556aa-Aegisub.app.zip (129.6 MB, built 2021-12-23)
#!/usr/bin/env python | |
import requests, msgpack | |
API_KEY = '' # FILL IN YOUR STAT.INK API KEY | |
shas = [ # PUT YOUR BATTLE URLS OR URL HASHES TO DELETE HERE | |
] | |
resulttype = "battle" # change this to say "salmon" if you are deleting SR jobs |
// ==UserScript== | |
// @name s3s Use SplatNet 3 in-browser | |
// @namespace https://github.com/frozenpandaman/s3s | |
// @version 0.1 | |
// @description Allows you to load the SplatNet 3 homepage in your browser. | |
// @author eli fessler (frozenpandaman) | |
// @match https://api.lp1.av5ja.srv.nintendo.net/ | |
// @match https://api.lp1.av5ja.srv.nintendo.net/?lang=* | |
// @icon https://splatoon.nintendo.com/favicons/apple-touch-icon.png | |
// @grant none |