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> |
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> | |
<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 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
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
#~/.mutt/aliases | |
alias nick Nicholas Levandoski <nick.levandoski@auglug.org> | |
alias tim Timothy Pitt <timothy.pitt@auglug.org> | |
alias steven Steven Jackson <sjackson@auglug.org> | |
alias kaleb Kaleb Hornsby <kaleb.hornsby@auglug.org> | |
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
#!/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
" XDG Environment For VIM | |
" ======================= | |
" | |
" References | |
" ---------- | |
" | |
" - http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables | |
" - http://tlvince.com/vim-respect-xdg | |
" | |
if empty($XDG_CACHE_HOME) |
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
%{ | |
/* | |
* code | |
*/ | |
function xerox(que, quanto) { | |
var ary = []; | |
while(quanto--) ary.push(que); | |
return ary; | |
} | |
%} |
OlderNewer