Skip to content

Instantly share code, notes, and snippets.

View JacobGinsparg's full-sized avatar

Jacob Ginsparg JacobGinsparg

View GitHub Profile

Keybase proof

I hereby claim:

  • I am jacobginsparg on github.
  • I am jacobginsparg (https://keybase.io/jacobginsparg) on keybase.
  • I have a public key ASAizmb0G8g5ysuxpFqPIJGhdEn6LHIW_MbF3nxp36SV7Ao

To claim this, I am signing this object:

#!/usr/bin/env python3
# Imports
import sys
from urllib import request
import json
# GLOBALS AND CONSTANTS
@JacobGinsparg
JacobGinsparg / EnumPassing.swift
Created February 25, 2016 17:01
Passing multiple enum types to the same function
import UIKit
import Foundation
protocol Animal {}
protocol EnumType {}
enum Dog: EnumType {
case Direwolf
case GrayWolf
case Labrador