Skip to content

Instantly share code, notes, and snippets.

View majorgreys's full-sized avatar

Tahir H. Butt majorgreys

  • Brooklyn, NY
  • 14:05 (UTC -12:00)
View GitHub Profile
@majorgreys
majorgreys / stopcunycuts.tex
Created March 23, 2016 19:06
Latex file for generating PDF that I used to create posters for a rally. I projected the PDF onto a wall using an LCD projector and then traced the letters onto poster board.
\documentclass{article}
\usepackage[letterpaper,margin=1.0in]{geometry}
\usepackage[T1]{fontenc}
\usepackage[sfdefault]{universalis}
% \usepackage{fontspec}
% \usepackage{xunicode}
% \usepackage{xltxtra}
% \setmainfont[Mapping=tex-text]{Lucida Sans Unicode}
\usepackage{tikz}
\usetikzlibrary{matrix,shapes.misc}
@majorgreys
majorgreys / Makefile
Last active August 29, 2015 14:25
pandoc bibliography formatting issues
all: pandocpdf pandoctexcsl pandoctexbiblatex
pandocpdf: test.md
pandoc -s -S --bibliography=test.bib -o pandocpdf.pdf test.md
pandoctexcsl: test.md
pandoc -s -S --bibliography=test.bib -o pandoctexcsl.tex test.md
pdflatex pandoctexcsl.tex
pandoctexbiblatex: test.md
@majorgreys
majorgreys / README.md
Last active March 18, 2019 19:29
ITF Spring 2015 Databases Skills Share

Contained here are the instructions for getting your laptop set up for databases skills share as well as my presentation.

@majorgreys
majorgreys / grapevine.yaml
Last active August 29, 2015 13:57
The Grapevine dataset (http://education.illinoisstate.edu/grapevine/) dataset in YAML format
# Grapevine Project state-level summary data on state appropriations FY1960 to FY2014
# Transcribed by Tahir Butt <tahir.butt@gmail.com>
- fiscalyear: 2014
sourcefile: tables/FY14/Table6f_GPV14.xlsx
note: Column E Total State Support (Less Returns and Portions of Multi-Year Appropriations
total: 76238167052
states:
-
AL: 1440862304
AK: 383128100
@majorgreys
majorgreys / index.html
Created October 29, 2012 18:25
Experiment using D3.js to create a logo for HMNY 2013. View at http://bl.ocks.org/majorgreys/31e48e69bdbc98acd99a
<html>
<script src="http://d3js.org/d3.v2.js"></script>
<link href='http://fonts.googleapis.com/css?family=Arvo' rel='stylesheet' type='text/css'>
<style>
body { font-family: 'Arvo', serif; }
div#logo1 { font-family: 'Helvetica'; }
div#logo2 { font-family: 'Arvo'; }
</style>
<body>