Skip to content

Instantly share code, notes, and snippets.

View gcampfield's full-sized avatar

Grant Campfield gcampfield

View GitHub Profile
@gcampfield
gcampfield / open_form.py
Last active February 4, 2022 19:07
A script to spam open Google forms with any information you'd like
#!/usr/bin/env python3
from random import random
import requests
import time
import json
import sys
import re
FORM = 1
FIELDS = 1
@gcampfield
gcampfield / dota.py
Last active September 30, 2017 17:20
A script to generate Dota pick/ban tables
import requests
# ---------- CONSTANTS ----------
OPTIC_ID = 5026801
RADIANT = 0
DIRE = 1
NONE = 2
SEP = '\n***\n'
@gcampfield
gcampfield / shrek.py
Created September 9, 2017 21:02
Python script to spam the Carnival 2018 suggestions form
import requests
import random
title = "SHREK"
descriptions = [
"Somebody once told me the world is macaroni",
"I ain't the sharpest tool in the shed",
"She was looking kind of dumb with her finger and her thumb",
"In the shape of an L on her forehead"
]
from __future__ import print_function
import sys
import enchant
try:
input = raw_input
except NameError:
pass
def permutations(word):