This file contains hidden or 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
#I want to write a module that can make writing these less of an eyesore. | |
#But until then here's hell | |
#Megalovania (Toby Fox) | |
#Messily transcribed from this: https://www.noteflight.com/scores/view/855ad019ee2b37e2926b204d194c882426da49ad | |
#I'm gonna be honest I got bored near the end and kind of did my own thing. | |
import pyautogui | |
from time import sleep | |
from keybind import * #the devil |
This file contains hidden or 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
# I had 300 lockboxes to open and didn't want to wear out a keyswitch. | |
import pyautogui, time | |
while True: | |
pyautogui.press('num0') | |
time.sleep(0.5) |
This file contains hidden or 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
#include <stdio.h> | |
#include <stdlib.h> | |
//very simple linked list struct | |
struct ll { | |
int x; | |
//Add pointer info | |
struct ll *next; | |
struct ll *prev; | |
}; |
This file contains hidden or 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
#testing an address search in the Google Maps Geocode API before using it in our BitCamp 2015 project | |
#http://maps.googleapis.com/maps/api/geocode/output?parameters | |
#using keyword paramters (street name, parsed in the superior script), rankby (distance) | |
import requests | |
import json | |
outputFormat = "json" | |
queryRoot = "https://maps.googleapis.com/maps/api/geocode/" |
This file contains hidden or 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 datetime | |
def tesTime(startYear, realStartYear, era): | |
#converts the current date to Tamrielic date and time | |
#originally written in JS for a blog so the year updates based on the in-universse | |
#year you want to use and it's real world "equivalent" | |
#these, and the era you want are fed in as arguments | |
t = datetime.datetime.now() | |
#dict for each of the Tamerielic months | |
months = ["Morning Star", "Sun's Dawn", "First Seed", "Midyear", "Sun's Height", | |
"Last Seed", "Hearthfire", "Frostfall", "Sun's Dusk", "Evening Star"] |
This file contains hidden or 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
from random import randint | |
statList = [] #the stored list of computed ability scores | |
statConpList = [] #the stored list of the conponents that went into the score | |
for y in range (0,6): | |
stat = [] | |
for x in range(0,4): | |
stat.append(randint(1,6)) | |
#print stat TESTING PURPOSES | |
statConpList.append(stat) |