Skip to content

Instantly share code, notes, and snippets.

Avatar

Martijn van Exel mvexel

View GitHub Profile
View us-state-relations.csv
relation_id name overpass_id
60759 Vermont 3600060759
61315 Massachusetts 3600061315
67213 New Hampshire 3600067213
161646 Arkansas 3600161646
161650 Iowa 3600161650
161638 Missouri 3600161638
161655 Kentucky 3600161655
161838 Tennessee 3600161838
161950 Alabama 3600161950
@mvexel
mvexel / maproulette-tutorial.md
Last active Dec 2, 2016
maproulette-tutorial.md
View maproulette-tutorial.md

MapRoulette Challenge Tutorial (ßeta)

This tutorial is for MapRoulette 1 which is no longer active. Please see the MapRoulette 2 wiki for up to date documentation.

You have played MapRoulette. You have seen some of the fun challenges. If you are reading this, you are probably thinking: 'I have a great idea for the next MapRoulette challenge!'

maproulette

Great! That is exactly what I am here to explain step by step. So let's get started!

@pnorman
pnorman / arizona.geojson
Last active Aug 29, 2015
States with IRs cut
View arizona.geojson
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@mtheoryx
mtheoryx / gist:3286362
Created Aug 7, 2012
Set Microsoft Lync status with applescript
View gist:3286362
--go away
tell application "Microsoft Lync"
activate
end tell
tell application "System Events"
tell process "Microsoft Lync"
tell menu bar 1
tell menu bar item "Status"
tell menu "Status"
View fipsToState.json
{
"01": "Alabama",
"02": "Alaska",
"04": "Arizona",
"05": "Arkansas",
"06": "California",
"08": "Colorado",
"09": "Connecticut",
"10": "Delaware",
"11": "District of Columbia",
@olivierlacan
olivierlacan / launch_sublime_from_terminal.markdown
Created Sep 5, 2011
Launch Sublime Text 2 from the Mac OS X Terminal
View launch_sublime_from_terminal.markdown

Launch Sublime Text 2 from the Mac OS X Terminal

Sublime Text 2 ships with a CLI called subl (why not "sublime", go figure). This utility is hidden in the following folder (assuming you installed Sublime in /Applications like normal folk. If this following line opens Sublime Text for you, then bingo, you're ready.

open /Applications/Sublime\ Text\ 2.app/Contents/SharedSupport/bin/subl

You can find more (official) details about subl here: http://www.sublimetext.com/docs/2/osx_command_line.html

Installation

@michiel
michiel / cors-nginx.conf
Created Jul 5, 2011
Wide-open CORS config for nginx
View cors-nginx.conf
#
# Wide-open CORS config for nginx
#
location / {
if ($request_method = 'OPTIONS') {
add_header 'Access-Control-Allow-Origin' '*';
#