Skip to content

Instantly share code, notes, and snippets.

View hinklefoxmail's full-sized avatar

John Hinkle hinklefoxmail

  • American International School of Abuja
  • Abuja, Nigeria
View GitHub Profile
from tkinter import *
from tkinter import ttk
#intializing variables
alphaKey = "` 1234567890-=\qwertyuiop[]asdfghjkl;'zxcvbnm,./~!@#$%^&*()_+|QWERTYUIOP{}ASDFGHJKL:ZXCVBNM<>?"
#setting the keys. Keys were randomly generated using 3 seperate methods are are different lengths.
#a complete loop of all the keys occurs every 8 million iterations.
#recommended changing the keys if you intend to use the program
myKey = [99, 7, 116, 246, 344, 41, 561, 18, 779, 616, 450, 16, 510, 504, 540, 870, 1716, 1394, 861, 387, 8, 54, 16, 36, 48, 68, 100, 60, 133, 160, 36, 50, 45, 64, 6, 256, 1640, 990, 42, 820, 280, 270, 4, 30, 2240, 2187, 2291, 2457, 2624, 1302, 9, 520, 201, 30, 88, 48, 68, 5, 192, 133, 72, 90, 150, 15, 64, 120, 144, 41, 924, 27, 1189, 840, 1290, 41, 1200, 1092, 270, 261, 1482, 820, 21, 144, 344, 90, 1, 56, 81, 116, 160, 60, 63, 24, 9, 280, 87, 132, 246, 368, 1394, 33, 23, 164, 140, 960, 9, 300, 252, 108, 145, 312, 41, 735, 396, 360, 3, 1, 66, 213, 4, 340, 414, 476, 672, 819, 920, 270, 4, 6, 320, 1394, 1089,
@hinklefoxmail
hinklefoxmail / clue scheduler.js
Last active May 13, 2016 07:17
An Auto Scheduler for Google Docs
//matches the response to a time in the provided spreadsheet then updates the sheet
//if update is successful runs the set choices function
// Returns an empty array if process was successful answer or was 'Do not wish to meet'
// if there was alredy someone signed up for the time, returns the current teacher and time
function updateSheet(ssId, numRows, id, responseId)
{
var form = FormApp.getActiveForm();
var items = form.getItems();
var formResponses = form.getResponses();