This file contains 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 pandas as pd | |
responses = pd.read_excel('2023 ShuffleComp Sign-ups (Edited).xlsx') | |
print('total responses:', len(responses)) | |
# 1. convert responses to songs as rows | |
# new table columns: email - username - gaming - want to know username - song - additional info | |
max_n_songs = 8 |
This file contains 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
[SPOILERS FOR ALL ENDINGS] | |
There are 9 endings in this game. | |
1. View all of the datasets starting with an "X". When a crisis comes, choose Liana, and choose to leave. | |
2. Interact positively with K- as much as you can. When a crisis comes, choose K-. | |
3. Interact positively with A- as much as you can. When a crisis comes, choose A-. There are two variants of this ending, one explicitly romantic and one non-romantic. |
This file contains 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 re | |
with open('bee.json') as f: | |
data = json.load(f) | |
op_pattern = re.compile('-<@(.*)>') | |
visited_scenes = set([]) |
This file contains 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
[Sequitur] Okay, for real this time, it's now 7PM my time, 4PM in EST, some ungodly early time in PST, and 9PM in GMT. | |
[Sequitur] So I'm starting the "official" postmortem chat in here; things in this thread will be saved for posterity. | |
[zarf] When you say "this thread" you mean the tree starting "Okay for real this time"? | |
[Sequitur] Yep, this top-level tree. | |
[Sequitur] I mean, obviously Euphoria has an infinite backscroll so all of it is saved; this, however, will get reposted. | |
[catacalypto] That makes sense. | |
[katherine] 💩 | |
[katherine] hi posterity | |
[gostyax] That's more like "bye posterior" | |
[gostyax] cough |
This file contains 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 python | |
import codecs | |
import os | |
import sys | |
from pickle import loads | |
fn = sys.argv[1] |
This file contains 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
# 1. read data from an itch.io url | |
# 2. create an ifiction xml | |
import datetime | |
import json | |
import subprocess | |
from selectolax.parser import HTMLParser | |
import lxml.etree as etree | |
import requests |
This file contains 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
# Extracts the current ifcomp games, and tries to link them to ifdb entries. | |
import datetime | |
import time | |
from bs4 import BeautifulSoup | |
import urllib.request | |
import ifdb | |
new_url = 'https://ifcomp.org/ballot?alphabetize=1' |
This file contains 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 python | |
import os | |
import random | |
import time | |
from bs4 import BeautifulSoup | |
from selenium import webdriver | |
from selenium.webdriver.firefox.options import Options |