Skip to content

Instantly share code, notes, and snippets.

Reuben Cummings reubano

Block or report user

Report or block reubano

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
reubano / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View geojsonize
#!/usr/bin/env bash
# Bulk convert shapefiles to geojson using ogr2ogr
# For more information, see
# usage: geojsonize *.zip
# Note: Assumes you're in a folder with one or more zip files containing shape files
# and Outputs as geojson with the crs:84 SRS (for use on GitHub or elsewhere)
View formatstrings.R
#load data
stateAbbr rownames(stateAbbr)unemp_data
#get county names in correct format
countyNames counties statesstates
#concatenate states and counties
#parse out county titles & specifics
reubano / gist:3828627
Created Oct 3, 2012
script for packaging php projects for PEAR
View gist:3828627
cd path/to/project
# create package.xml
pear package-validate
pear package
cp *.tgz path/to/pear/repo
cd path/to/pear/repo
pirum add . [filename].tgz
git add -A
git commit -m 'Add new package'
git push origin gh-pages
View test.rst

prometheus build


reubano / rowlingson.R
Created Oct 12, 2011
R Choropleth with shape file
View rowlingson.R
### Barry Rowlingson, Lancaster University
## needed for shapefiles:
## needed for colour mapping - not on CRAN:
## try:

Markdown example

Markdown let's you do stuff like:

  • make bold text
  • or write in italics
  • and even strikethrough
reubano / Contract Killer
Last active Oct 17, 2016 — forked from malarkey/Contract Killer
The latest version of my ‘killer contract’ for web designers and developers
View Contract Killer

Contract Killer

The popular open-source contract for web professionals by Stuff & Nonsense

  • Originally published: 23rd December 2008
  • Revised date: March 15th 2016
  • Original post

reubano / geopython_meza_demo.rst
Last active May 11, 2017
Code from my GeoPython talk
View geopython_meza_demo.rst
pip install meza
# readers
>>> from meza import io
>>> records ='kibo_peak.geojson')
You can’t perform that action at this time.