Skip to content

Instantly share code, notes, and snippets.

View jeffreymorganio's full-sized avatar
💭
👨🏻‍💻

Jeffrey Morgan jeffreymorganio

💭
👨🏻‍💻
View GitHub Profile
@jeffreymorganio
jeffreymorganio / point-feature.geojson
Last active August 29, 2015 14:15
GeoJSON point feature
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jeffreymorganio
jeffreymorganio / line-string-feature.geojson
Last active August 29, 2015 14:15
GeoJSON line string feature
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jeffreymorganio
jeffreymorganio / polygon-feature.geojson
Created February 17, 2015 08:18
GeoJSON polygon feature
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jeffreymorganio
jeffreymorganio / python-http-server
Last active August 29, 2015 14:15
Simple Python HTTP server
python -m SimpleHTTPServer
@jeffreymorganio
jeffreymorganio / rvm-ruby
Created February 17, 2015 08:41
Using the shebang with RVM-managed Ruby
#!/usr/bin/env ruby
@jeffreymorganio
jeffreymorganio / extract-geocoded-tweets
Created February 17, 2015 08:43
Extract geocoded tweets
grep '"coordinates": {' tweets.json > geocoded-tweets.json
@jeffreymorganio
jeffreymorganio / view-jar-manifest
Last active August 29, 2015 14:15
View the manifest file in a JAR
unzip -q -c myjarfile.jar META-INF/MANIFEST.MF
@jeffreymorganio
jeffreymorganio / java-home-ubuntu
Created February 19, 2015 08:18
Set JAVA_HOME on Ubuntu
export JAVA_HOME=$(readlink -f /usr/bin/java | sed "s:bin/java::")
@jeffreymorganio
jeffreymorganio / java-home-mac
Created February 19, 2015 08:19
Set JAVA_HOME on Mac OS X
export JAVA_HOME=`/usr/libexec/java_home`
@jeffreymorganio
jeffreymorganio / serve-jekyll-drafts
Created February 19, 2015 08:22
Serve Jekyll with draft posts
jekyll serve --drafts