Skip to content

Instantly share code, notes, and snippets.

View mattwigway's full-sized avatar

Matthew Wigginton Bhagat-Conway mattwigway

  • Department of City and Regional Planning, University of North Carolina at Chapel Hill
  • Durham, NC, USA
View GitHub Profile
@mattwigway
mattwigway / bibliography.tex
Created January 21, 2013 04:45
MLA annotated bibliography
\documentclass[11pt,letterpaper]{article}
\usepackage[american]{babel}
\usepackage{hyperref}
\usepackage{csquotes}
\usepackage{ifpdf}
\usepackage{mla}
\usepackage[style=mla]{biblatex}
\usepackage{setspace}
\singlespace
% enable annotations
# This file is machine-generated - editing it directly is not advised
julia_version = "1.7.3"
manifest_format = "2.0"
[[deps.ArgTools]]
uuid = "0dad84c5-d112-42e6-8d28-ef12dabb789f"
[[deps.Artifacts]]
uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
@mattwigway
mattwigway / Manifest.toml
Last active September 17, 2021 19:49
Point-in-polygon
# This file is machine-generated - editing it directly is not advised
[[AbstractFFTs]]
deps = ["LinearAlgebra"]
git-tree-sha1 = "485ee0867925449198280d4af84bdb46a2a404d0"
uuid = "621f4979-c628-5d54-868e-fcf4e3e8185c"
version = "1.0.1"
[[Adapt]]
deps = ["LinearAlgebra"]
@mattwigway
mattwigway / Manifest.toml
Last active January 18, 2021 17:35
Reliability ANOVA
# This file is machine-generated - editing it directly is not advised
[[Artifacts]]
deps = ["Pkg"]
git-tree-sha1 = "c30985d8821e0cd73870b17b0ed0ce6dc44cb744"
uuid = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
version = "1.3.0"
[[Base64]]
uuid = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
@mattwigway
mattwigway / accessibility.py
Last active November 26, 2020 00:31
Chicago grocery store accessibility
# Demo of using OpenTripPlanner and opentripplanner-jython
# Public domain
from opentripplanner import RoutingRequest, Graph
from opentripplanner.batch import BatchProcessor, PointSet
# Set the parameters for our search
r = RoutingRequest()
r.dateTime = 1412974800 # Friday, Oct. 10th, 2014, 4:00 pm CDT (doesn't matter for a walking search)
r.setModes('WALK')
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
#!/bin/bash
# Load the file referenced in the first argument into a Jupyter QtConsole as df
# change to appropriate conda environment
source activate py37
tempscript=`mktemp`
tee "$tempscript" <<EOF
import pandas as pd