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 | |
# REQUIRES: xmlstarlet <http://xmlstar.sourceforge.net/> | |
xmlstarlet sel -t -v //attr $1 | |
# Where $1 is a *.shp.xml file as downloaded from <http://www.census.gov/cgi-bin/geo/shapefiles2011/main> |
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 | |
# REQUIRES: xmlstarlet <http://xmlstar.sourceforge.net/> | |
xmlstarlet sel -t -v //attr $1 | |
# Where $1 is a *.shp.xml file as downloaded from <http://www.census.gov/cgi-bin/geo/shapefiles2011/main> |
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
#~/.mutt/aliases | |
alias nick Nicholas Levandoski <[email protected]> | |
alias tim Timothy Pitt <[email protected]> | |
alias steven Steven Jackson <[email protected]> | |
alias kaleb Kaleb Hornsby <[email protected]> | |
alias alug-admin nick, tim, steven |
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
var i = 1000, sum = 0; | |
while (--i) { | |
if (!(i % 3 && i % 5)) { | |
sum += i; | |
} | |
} | |
console.log(sum); |
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
var lbl = document.createElement('label'), | |
chk = document.createElement('input'), | |
proto, lblOnClick; | |
chk.type = 'checkbox'; | |
chk.disabled = true; | |
lbl.appendElement(chk); | |
lbl.click(); | |
if (chk.checked) { | |
// Labels need to be fixed | |
proto = Object.getPrototypeOf(lbl); |
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
<!DOCTYPE html> | |
<title>HTML 5 Table Example</title> | |
<table> | |
<caption>This is a table</caption> | |
<thead> | |
<tr> | |
<th>number | |
<th>value | |
<tfoot> | |
<tr> |
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
var isStrictModeSupported = (function(){"use strict";return !this}()); |
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Refresh" content="0; url={{ content }}"> | |
<title>Redirect to {{ content }}</title> | |
</head> | |
<body> | |
<a href="{{ content }}">{{ content }}</a> | |
</body> | |
</html> |
NewerOlder