Skip to content

Instantly share code, notes, and snippets.

View brianray's full-sized avatar
🐍

Brian Ray brianray

🐍
  • Maven Wave Partners
  • Los Angeles | Chicago
View GitHub Profile
@brianray
brianray / orphan-branch.sh
Created January 29, 2018 03:28 — forked from tebeka/orphan-branch.sh
Create Empty Orphan Branch for Code Review
# Create empty orphan branch for code review
git checkout --orphan code-review
git rm -rf .
git commit --allow-empty -m 'Code review - nuke all'
git push --set-upstream origin code-review
data = open("C:\Users\tdoucet\Desktop\Test.csv")
dict = {}
for line in data:
x = line.split(",")
a = x[0]
b = x[1]
dict[a] = b
level0 = []
level1 = []
@brianray
brianray / electric_objects.py
Last active August 29, 2015 14:27 — forked from harperreed/electric_objects.py
Electric objects simple API wrapper
import urllib
import requests
import json
import random
"""
here is a wrapper for the *unreleased* electric objects API
Built by Harper Reed (harper@nata2.org) - @harper
Hopefully someday a real API will appear
@brianray
brianray / gevent.py
Last active December 24, 2015 12:39
from gevent import spawn, sleep
def g1():
print "g1 enter"
spawn(g2)
print "g1 exit"
def g2():
@brianray
brianray / Restaurants-near-1871.md
Created December 6, 2012 22:52 — forked from harperreed/Restaurants-near-1871.md
Restaurants near 1871

#Restaurants near 1871

Help curate this list. start filling out the data and links about each place and add places!


##Cheap

  • Protein Bar
    • Phone: (312) 346-7300
    • Address: 222 Merchandise Mart Plaza Chicago, IL 60654