Skip to content

Instantly share code, notes, and snippets.

Avatar

Nick Doiron mapmeld

View GitHub Profile
@mapmeld
mapmeld / download_glue_data.py
Last active Mar 25, 2020 — forked from W4ngatang/download_glue_data.py
Script for downloading data of the GLUE benchmark (gluebenchmark.com)
View download_glue_data.py
''' Script for downloading all GLUE data.
Note: for legal reasons, we are unable to host MRPC.
You can either use the version hosted by the SentEval team, which is already tokenized,
or you can download the original data from (https://download.microsoft.com/download/D/4/6/D46FF87A-F6B9-4252-AA8B-3604ED519838/MSRParaphraseCorpus.msi) and extract the data from it manually.
For Windows users, you can run the .msi file. For Mac and Linux users, consider an external library such as 'cabextract' (see below for an example).
You should then rename and place specific files in a folder (see below for an example).
mkdir MRPC
cabextract MSRParaphraseCorpus.msi -d MRPC
@mapmeld
mapmeld / bulk-neo4j-import-homebrew.sh
Last active May 26, 2016 — forked from jexp/bulk-neo4j-import-original.sh
Panama Papers Import Scripts for Neo4j and Docker
View bulk-neo4j-import-homebrew.sh
export NEO4J_HOME="/usr/local"
if [ ! -f data-csv.zip ]; then
curl -OL https://cloudfront-files-1.publicintegrity.org/offshoreleaks/data-csv.zip
fi
export DATA=${PWD}/import
rm -rf $DATA
View fix-new-muni-metro.md

Hey fellow transit hackers,

I'm Nick Doiron (@mapmeld), a 2012 Code for America fellow and one of the devs behind Chicago's transit future map at http://vision.transitfuture.org/

Like you, we had a lot of cool visualization stuff which didn't work on mobile. There are also a few places on your site where the text is wider than the viewport, or scrolling laterally jumbles things up. Fortunately, it looks like there are a few lines of HTML and CSS which will get this thing fixed. If only designing transit networks were so easy!

HTML: replace your current viewport tag. Make this thing a fixed-width single column site.

<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
@mapmeld
mapmeld / MediaPolicy.md
Last active Oct 13, 2015 — forked from anonymous/MediaPolicy.txt
Media Policy
View MediaPolicy.md

Thank you for contacting me!

  1. If your work is a sponsored article or ad, please tell me in advance.

  2. I like Twitter. I appreciate a heads-up so that I don't get undue credit ("Linux programmer @mapmeld") or misdirected ("@mapmeld: content no one else sees because this began with @mapmeld").

  3. I am OK with either "Nick" or "Nicholas". I usually go by "Nick" while I am in the United States and Asia.

  4. If I mention a colleague, funder, or other ally on the project, please keep their name in the final, edited report!

You can’t perform that action at this time.