This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ $# -lt 1 ]; then | |
echo "usage: loadenv filename" | |
exit 2 | |
fi | |
HASH="#" | |
for ENV_FILE in "$@"; do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
// retrieved from http://dublincore.org/documents/dcmi-terms/ | |
// with the following Chrome console code: | |
(function() { | |
Element.prototype.getAxis = function(axis) { | |
var td = this.querySelector('td[axis=' + axis + ']'); | |
return td ? td.innerText : ""; | |
} | |
var tbodies = $$('#H2 tbody'), |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
//retrieved from http://www.timeanddate.com/time/zones/ | |
//with the following console code: | |
(function(){ | |
var trs = $$('#tz-abb tbody tr'), | |
timeZones = trs.map(tr => { | |
var tds = $$('td', tr), | |
keys = ['abbreviation', 'name', 'location', 'offset'], | |
tz = {}; | |
NewerOlder