I hereby claim:
- I am dieseltravis on github.
- I am trav (https://keybase.io/trav) on keybase.
- I have a public key whose fingerprint is 42A6 0F1B D344 4EF0 50F1 DAC0 CE6A B86B 0140 C4EA
To claim this, I am signing this object:
2014-02-28 Hey @support, why is my @twitter account suspended? #freetravis | |
2014-03-01 I can't believe it's March already! I'm still writing SUSPENDED on all my checks! #freetravis | |
2014-03-02 I have a great idea for the opening of these #Oscars: Queen Latifah, superbike burnout, & U.N.I.T.Y. | |
2014-03-03 Still suspended, was it something I said @support? #freetravis | |
2014-03-04 Still suspended, did I block too many people @support? #freetravis | |
2014-03-05 Still suspended, is it because of #poopin' @support? #freetravis | |
2014-03-06 Come on @twitter at least let me have my stuff http://mlkshk.com/p/XP9E @support #freetravis | |
2014-03-06 Maybe I ran out of stars @support? http://mlkshk.com/p/XPZG #freetravis | |
2014-03-07 Still suspended, but TGIF @support amirite?? #freetravis | |
2014-03-08 Still suspended, but don't worry @support, I'm getting my jig on tonight. #freetravis |
// base 10 integer to custom any base string | |
var toBaseX = function (value, baseChars) { | |
var result = ""; | |
var targetBase = baseChars.length; | |
do { | |
result = baseChars[value % targetBase] + result; | |
value = Math.floor(value / targetBase); | |
} while (value); |
// custom any base | |
var baseChars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz~-_.".split(""); | |
toBaseX = function (value) { | |
var result = ""; | |
var targetBase = baseChars.length; | |
do { | |
result = baseChars[value % targetBase] + result; | |
value = Math.floor(value / targetBase); | |
} while (value); |
var getIndex = function (list, prop, val) { | |
for (var l = list.length; l--;) { | |
if (list[l][prop] === val) { | |
return l; | |
} | |
} | |
return -1; | |
}; | |
// e.g. |
var getFilteredList = function (list, max, prop, val) { | |
var rows = [], | |
mid = Math.floor(max / 2), | |
found = false; | |
for (var i = 0, l = list.length; i < l && (mid > 0 || rows.length < max); i++) { | |
rows.push(list[i]); | |
if (rows.length > max) { | |
rows.shift(); | |
} |
I hereby claim:
To claim this, I am signing this object:
* { | |
tab-size: 2; | |
} |
a.favicon { | |
display: inline-block; | |
padding-left: 1.5em; | |
background-size: 1.25em 1.25em; | |
background-repeat: no-repeat; | |
background-position: left center; | |
} |
<xsl:template name="break"> | |
<xsl:param name="text" select="."/> | |
<xsl:call-template name="replace"> | |
<xsl:with-param name="text" select="$text" /> | |
<xsl:with-param name="match" select="'
'" /> | |
<xsl:with-param name="replacement" select="'\n'" /> | |
</xsl:call-template> | |
</xsl:template> | |
# Description: | |
# clouds, cats, etc. | |
# | |
# Dependencies: | |
# None | |
# | |
# Configuration: | |
# None | |
# | |
# Commands: |