Skip to content

Instantly share code, notes, and snippets.

import csv
from PIL import Image
'''
Dig mode file output comes in 3s thus 3 different file suffixes
/Excavation --> dig
/Decoration --> dig_alt
/Building --> dig_build0
Build mode has 1
i'm anneoh no i'm if we're recording of aoh noyeah the and lookwhatandthe golden sniperwell i didn'tand though and ibuti'mwhyi haveandthat itbut i don't have maya place settings configured for the game soandi can sayi'dbutwhy did they didn't get her awardsand i follow thati did not meanawbarnare we going from loswill you knowi didn'ti like you have experience with love overcomei thinkand in upwell i got a decent over clocknah at a trendy it's on the little better here that's not normalit it's up toand i think the problem i'm having is that i hadn't of been over clockand i'm trying to not great caution thatthough he bit me rickand whom womanwhatwhenwhatand itso all there is the thing you see i have a good over clock previously there wasfull over clock andthen anymore because my system is old ageshit in the starting to kind of degrade over time now especially because i've had it overought to compensate for the fact that it's all the ship so now i'm trying to give ita as close to the vetdegree of over clock as i
import csv
import glob
import os
import re
import json
excludes = {"_cache", "_CHATEXPLORER", "consolidate.py", "consolidate.csv", "youtube.py", "youtube.csv"}
regex_url = re.compile(r"\[URL\](.*?)\[\/URL\]")
regex_name = re.compile(r"> (.*?):")
regex_id = re.compile(r"^.*(youtu.be\/|v\/|e\/|u\/\w+\/|embed\/|v=)([^#\&\?]*).*")
idocs = {}
#https://en.wikipedia.org/wiki/Super_Mario_Bros._3#Gameplay
idocs['Super Mario Bros. 3'] = """
Super Mario Bros. 3 is a two-dimensional, side-scrolling platform game in which the player controls either Mario or Luigi. The game shares similar gameplay mechanics with previous games in the series—Super Mario Bros., Super Mario Bros.: The Lost Levels, and Super Mario Bros. 2, while introducing several new elements. In addition to running and jumping found in past games, the player can slide down slopes, pick up and throw special blocks, and freely climb vines. Mario can also fly and float with power-ups. The game world consists of eight "kingdoms", each subdivided into multiple levels. The eight worlds feature distinct visual themes: for example, the second world, "Desert Land", contains sand-covered levels with pyramids, while the levels in the fourth world, "Giant Land", contain obstacles and enemies four times their normal size.
The player navigates through the game via two game screens: an overwor
from sklearn.preprocessing import OneHotEncoder
import pandas as pd
import numpy as np
import gensim
from keras.layers import Input, Dense, BatchNormalization
from keras.models import Model
from keras.callbacks import ModelCheckpoint
import gensim, bz2, csv
import logging
logging.basicConfig(format='%(asctime)s : %(levelname)s : %(message)s', level=logging.DEBUG)
class DocumentBZ2():
def __init__(self, filepath):
self.file = bz2.open(filepath, 'rt', encoding='utf-8')
self.reader = csv.reader(self.file)
[
"AutoTrash",
"BaseMod",
"BetterYoyos",
"BossChecklist",
"Census",
"CheatSheet",
"CrystiliumMod",
"GRealm",
"HelpfulHotkeys",
<-0->
{'activator': <bound method Activator.sigmoid of <__main__.Activator object at 0x000002C87F73AF98>>,
'variables': array([0.02218201, 0.22951753, 0.54001144, 0.2401898 , 0.24255888,
0.79073518, 0.8162906 , 0.32561491, 0.04433813, 0.96010896,
0.92434196, 0.62711746, 0.95437615, 0.48417432, 0.99268052,
0.7637705 , 0.32978951, 0.58336438, 0.60154779, 0.00344482,
0.00063327, 0.90775005, 0.18284623, 0.08507487, 0.99802286,
0.70783952, 0.6490468 , 0.22592495, 0.00046464, 0.96569878,
0.63485805, 0.01226074, 0.07214427, 0.45685577, 0.9703363 ,
0.57673721, 0.94774822, 0.16650314, 0.98811181, 0.64532006,