Skip to content

Instantly share code, notes, and snippets.

View brendano's full-sized avatar

Brendan O'Connor brendano

View GitHub Profile
{
"CHARITER": {
"col_index": 2,
"filenum": 1,
"label": "'Characteristic Iteration'"
},
"CIFSN": {
"col_index": 3,
"filenum": 1,
"label": "'Characteristic Iteration File Sequence Number'"
Sources from USNWR:
Art: http://grad-schools.usnews.rankingsandreviews.com/best-graduate-schools/top-fine-arts-schools/rankings
Computer Science: http://grad-schools.usnews.rankingsandreviews.com/best-graduate-schools/top-computer-science-schools/rankings
| category | rank | school | rating |
------------------------------------------------------------------------
| ART | 1 | Rhode Island School of Design Providence, RI | 4.6 |
| ART | 2 | Yale University New Haven, CT | 4.5 |
| ART | 3 | School of the Art Institute of Chicago Chicago, IL | 4.4 |
Index: main.tex
===================================================================
--- main.tex (revision 14680)
+++ main.tex (working copy)
@@ -13,14 +13,24 @@
\newcommand{\example}[1]{\textit{#1}}
\title{Discovering Demographic Language Variation}
-%\author{Jacob Eisenstein \and Brendan O'Connor \and Noah A. Smith \and Eric P. Xing
-%\author{Brendan O'Connor \qquad Jacob Eisenstein \qquad Eric P. Xing \qquad Noah A. Smith\\
Index: main.tex
===================================================================
--- main.tex (revision 14680)
+++ main.tex (working copy)
@@ -13,14 +13,24 @@
\newcommand{\example}[1]{\textit{#1}}
\title{Discovering Demographic Language Variation}
-%\author{Jacob Eisenstein \and Brendan O'Connor \and Noah A. Smith \and Eric P. Xing
-%\author{Brendan O'Connor \qquad Jacob Eisenstein \qquad Eric P. Xing \qquad Noah A. Smith\\
Index: main.tex
===================================================================
--- main.tex (revision 14680)
+++ main.tex (working copy)
@@ -13,14 +13,24 @@
\newcommand{\example}[1]{\textit{#1}}
\title{Discovering Demographic Language Variation}
-%\author{Jacob Eisenstein \and Brendan O'Connor \and Noah A. Smith \and Eric P. Xing
-%\author{Brendan O'Connor \qquad Jacob Eisenstein \qquad Eric P. Xing \qquad Noah A. Smith\\
Index: main.tex
===================================================================
--- main.tex (revision 14680)
+++ main.tex (working copy)
@@ -13,14 +13,24 @@
\newcommand{\example}[1]{\textit{#1}}
\title{Discovering Demographic Language Variation}
-%\author{Jacob Eisenstein \and Brendan O'Connor \and Noah A. Smith \and Eric P. Xing
-%\author{Brendan O'Connor \qquad Jacob Eisenstein \qquad Eric P. Xing \qquad Noah A. Smith\\
@brendano
brendano / gist:718318
Created November 27, 2010 21:53
bring the quartz R window to front!
~ % cat bla
tell application "System Events"
set frontmost of process "R" to true
end tell
~ % osascript < bla
you them
Village 2 1
Province 1 1
Moneylender 1 1
Silver 0 3
Gold 0 2
Copper 1 0
Library 0 1
Warehouse 1 0
Tactician 1 0
# http://www.thebigquestions.com/2010/12/27/win-landsburgs-money/
# http://www.metafilter.com/99122/Win-Steve-Landsburgs-Money
import random,math,itertools
Nfam = 100000
results = []
for i in xrange(Nfam):
cs = []
while True:
@brendano
brendano / make_views.py
Created January 2, 2011 22:53
Publish Zotero papers as HTML and symlinks
#!/usr/bin/env python
# From your Zotero database and file storage,
# creates a simple HTML table, and directory full of symlinks,
# for quick-and-dirty web or Dropbox viewing.
# Installation: place in your Zotero folder
# e.g. ~/Documents/zotero/
# And run it
# e.g. python ~/Documents/zotero/make_views.py