Skip to content

Instantly share code, notes, and snippets.

View TotallyGatsby's full-sized avatar

Phill Spiess TotallyGatsby

View GitHub Profile

Keybase proof

I hereby claim:

  • I am pfhreak on github.
  • I am pfhreak (https://keybase.io/pfhreak) on keybase.
  • I have a public key whose fingerprint is BD86 F4BD DBE4 F6B9 9956 15EB 73A2 DE77 EF84 E822

To claim this, I am signing this object:

@TotallyGatsby
TotallyGatsby / gitignore Unity
Created June 18, 2012 06:15
Unity .gitignore file
#This is the git ignore file used in Duck Hunted
#Note that ! negates an ignore. We ignore everything in Library then
#un-ignore the metadata folder and some specific files
#Use at your own risk, this may totally destroy your project, but it worked for us
#NOTE: this will cause your collaborators to re-import assets periodically
Temp/*
Library/*
Build/*
@TotallyGatsby
TotallyGatsby / weaponParse.py
Created May 29, 2012 13:52
Quick and Dirty Parser for D&D Weapons
import sqlite3
from bs4 import BeautifulSoup
from collections import defaultdict
conn = sqlite3.connect("C:\Users\Phill\Dropbox\code\python\compendium\items.db")
c = conn.cursor()
count = 0
for row in c.execute("SELECT * FROM weapondata LIMIT 5"):
@TotallyGatsby
TotallyGatsby / poisonParse.py
Created May 26, 2012 01:20
Quick and Dirty Parser for D&D Poisons
from bs4 import BeautifulSoup
import sqlite3
from collections import defaultdict
conn = sqlite3.connect("poison.db")
c = conn.cursor()
insert = conn.cursor()
c.execute("SELECT name FROM sqlite_master WHERE type='table' AND name='poison'")
if c.fetchone() == None: