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
<html>
<head>
<title>Test CartoDB</title>
</head>
<body>
<iframe src="https://mattwigway.cartodb.com/viz/6f540a5e-1998-11e4-add7-0edbca4b5057/embed_map" width="800" height="600" />
</body>
</html>
@mattwigway
mattwigway / README.md
Last active August 29, 2015 14:02
Shelby County, TN property values

This map shows the change in median property value per square foot for parcels in Shelby County, TN.

@mattwigway
mattwigway / corplot.R
Created February 22, 2014 19:47
Draw visual correlation plots
# Draw visual correlation plots, http://www.indicatrix.org/2014/02/22/visual-correlation-matrices/
# Copyright (C) 2014 Matthew Wigginton Conway.
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
@mattwigway
mattwigway / index.html
Last active December 16, 2015 21:49
Equations
<!DOCTYPE html>
<html>
<head>
<title>Equations</title>
<script type="text/javascript"
src="https://c328740.ssl.cf1.rackcdn.com/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
</script>
</head>
<body>
<a name="1.1">1.1 Balanced accessibility model</a>
@mattwigway
mattwigway / README.md
Last active December 16, 2015 11:29
Half-life visualization (distance decay for a gravity model)

Distance decay

This shows the distance decay for a given half-life in the gravity model, i.e. e^bx fixed by 0,1 and h,0.5 where h is the half-life.

@mattwigway
mattwigway / Batch traceback
Created April 17, 2013 21:42
batch traceback
Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'batchProcessor': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No matching bean of type [org.opentripplanner.routing.core.RoutingRequest] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@javax.annotation.Resource(mappedName=, shareable=true, description=, name=, type=class java.lang.Object, authenticationType=CONTAINER)}
at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessPropertyValues(CommonAnnotationBeanPostProcessor.java:300)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:
2013-02-17 20:55:49,626 INFO [WebMapService.java:89] : reprojecting envelope from WGS84 to PROJCS["NAD83 / California zone 3",
GEOGCS["NAD83",
DATUM["North American Datum 1983",
SPHEROID["GRS 1980", 6378137.0, 298.257222101, AUTHORITY["EPSG","7019"]],
TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0],
AUTHORITY["EPSG","6269"]],
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
UNIT["degree", 0.017453292519943295],
AXIS["Geodetic longitude", EAST],
AXIS["Geodetic latitude", NORTH],
<!DOCTYPE html>
<html>
<head>
<title>Migration among California counties</title>
</head>
<body>
<div class="map">
</div>
</body>
@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
<!DOCTYPE html>
<html>
<head>
<title>Test of Google Hangouts on Air</title>
</head>
<body>
<h3>The video should appear below</h3>
</body>
</html>