Skip to content

Instantly share code, notes, and snippets.

@rdmpage
rdmpage / zoobank.dot
Created November 28, 2012 10:43
ZooBank data model
digraph {
1758 -> 1930 -> 1998 -> 2004;
/* publications */
"BC94AF66-4059-4CCA-81D7-FEC49B067B77" [shape="box",label="The fishes of the families Amiidae, Chandidae, Duleidae, and Serranidae\nBC94AF66-4059-4CCA-81D7-FEC49B067B77\nhttp://biostor.org/reference/105997"];
"F8ECE6CE-E77F-4768-A563-62E416592874" [shape="box",label="Belonoperca pylei, a new species of seabass...\nF8ECE6CE-E77F-4768-A563-62E416592874\nDOI:10.1007/BF02725185"];
/* 1930 */
@rdmpage
rdmpage / 2236C72B-206D-405B-AFAC-EBA246EC8AE5.json
Last active October 13, 2015 07:57
ZooBank JSON for 2236C72B-206D-405B-AFAC-EBA246EC8AE5
[
{
"tnuuuid": "2236C72B-206D-405B-AFAC-EBA246EC8AE5",
"OriginalReferenceUUID": "BC94AF66-4059-4CCA-81D7-FEC49B067B77",
"protonymuuid": "288E04E0-BA61-471D-BA62-47C10CDDC15C",
"label": "Belonoperca Fowler & Bean 1930",
"value": "Belonoperca Fowler & Bean 1930",
"lsid": "urn:lsid:zoobank.org:act:288E04E0-BA61-471D-BA62-47C10CDDC15C",
"parentname": "",
"namestring": "Belonoperca",
@rdmpage
rdmpage / index.html
Created December 6, 2012 14:02
Javascript phylogeny viewer
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Javascript Phylogeny Viewer</title>
<style type="text/css" title="text/css">
@import url("/style.css?20120730");
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript" src="http://blog.accursedware.com/jquery-svgpan/jquery-svgpan.js"></script>
@rdmpage
rdmpage / index.html
Created December 6, 2012 22:27
NEXUS tree viewer
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>NEXUS Tree Viewer</title>
<style type="text/css" title="text/css">
@import url("/style.css?20120730");
</style>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>
<script type="text/javascript" src="http://blog.accursedware.com/jquery-svgpan/jquery-svgpan.js"></script>
@rdmpage
rdmpage / Request for ION numbers
Last active December 14, 2015 03:09
Requests to get number of new species and subspecies names from ION
POST page=graphs&novType=New+species+and+subspecies&searchType=data&q=Animalia to http://www.organismnames.com/metrics.htm
@rdmpage
rdmpage / UWyoming.EducationOutreachCoordinator
Created February 26, 2013 14:34
Decoded EvolDir message
Position Advertisement: Education/Outreach Coordinator
The Education/Outreach Coordinator is an academic staff position of the University of Wyoming’s Biodiversity Institute (BI). The position will work with other BI staff in pursuit of its mission. The Education/Outreach Coordinator will coordinate the Institute’s education resources, manage the education components of the BI’s website, and provide education outreach to Wyoming’s teachers and schools.
Institute/University Description: In 2012, the University of Wyoming created the BI to encourage wise and informed decisions concerning the conservation of biological diversity. To meet this challenge a central component of the BI’s mission is to promote, develop and evaluate biodiversity education in the K-12 schools of Wyoming. More information is available at www.uwyo.edu/biodiversity<http://www.uwyo.edu/biodiversity>.
The University of Wyoming provides high quality undergraduate and graduate programs to 13,000 students from all 50 states and more than 90 co
@rdmpage
rdmpage / eol.php
Created March 12, 2013 14:30
How to retrieve values from EOL XML output (note we have to register default namespace)
<?php
$xml ='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<response xmlns="http://www.eol.org/transfer/content/1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dwc="http://rs.tdwg.org/dwc/terms/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xsi:schemaLocation="http://www.eol.org/transfer/content/1.0 http://services.eol.org/schema/content_1_0.xsd">
<taxonConcept>
<taxonConceptID>1045608</taxonConceptID>
<dwc:ScientificName>Apis mellifera Linnaeus 1758</dwc:ScientificName>
<commonName xml:lang="da" eol_preferred="true">Honningbi</commonName>
<commonName xml:lang="de" eol_preferred="true">Honigbiene</commonName>
<commonName xml:lang="en" eol_preferred="true">European honey bee</commonName>
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@rdmpage
rdmpage / GeoJSON.js
Created May 2, 2013 10:05
Mesiobov milliped data compared with GBIF
var GeoJSON = function( geojson, options ){
var _geometryToGoogleMaps = function( geojsonGeometry, opts, geojsonProperties ){
var googleObj;
switch ( geojsonGeometry.type ){
case "Point":
opts.position = new google.maps.LatLng(geojsonGeometry.coordinates[1], geojsonGeometry.coordinates[0]);