Skip to content

Instantly share code, notes, and snippets.

View briantjacobs's full-sized avatar

Brian Jacobs briantjacobs

View GitHub Profile
@briantjacobs
briantjacobs / license.txt
Last active August 29, 2015 13:57
Styled maps in Matlab
Copyright (c) 2010-2013, Zohar Bar-Yehuda
Copyright (c) 2010, Val Schmidt
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
@briantjacobs
briantjacobs / eol-scrape-01.js
Last active December 13, 2015 18:08
Node.io triple query to the Encyclopedia of Life for taxonomy entries based on species names
var nodeio = require('node.io'), options = {timeout: 10};
exports.job = new nodeio.Job(options, {
input: 'data/haeckel-plates.csv',
run: function(input) {
var self = this;
if (!input.type) {
var values = this.parseValues(input);
var keyword = values[2]; // hardcoded csv column