Skip to content

Instantly share code, notes, and snippets.

View wadeharrell's full-sized avatar

Wade Harrell wadeharrell

View GitHub Profile
@wadeharrell
wadeharrell / mhll_first_stanza_sha512.txt
Created August 9, 2011 18:38
mary had a little lamb first stanza SHA-512
6709935cedbf8bbbcb01f908baa6f7e8bf027c22f6c4b9c87b8f4cbd2571211c155fee5c2842b6c916819528a7930a0fd907e91c5c3883a8bd8ed66e4358c33a
@wadeharrell
wadeharrell / sha512.js
Created August 9, 2011 18:33
condensed version of Paul Johnston's sha512.js
/*
* This script is derived from Paul Johnston's sha512.js
*/
/*
* A JavaScript implementation of the Secure Hash Algorithm, SHA-512, as defined
* in FIPS 180-2
* Version 2.2 Copyright Anonymous Contributor, Paul Johnston 2000 - 2009.
* Other contributors: Greg Holt, Andrew Kepert, Ydnar, Lostinet
* Distributed under the BSD License
* See http://pajhome.org.uk/crypt/md5 for details.
@wadeharrell
wadeharrell / mhll_standoff_grammar.js
Created August 8, 2011 21:23
example standoff markup showing grammar
{
'html':{
'p':[
[0,109]
],
'br':[
[24],
[54],
[85]
]
<person>Mary</person> had a little <thing>lamb</thing>,
Its <thing>fleece</thing> was white as snow,
And every where that <person>Mary</person> went
The <thing>lamb</thing> was sure to go;
@wadeharrell
wadeharrell / maryhadalittlelamb.txt
Created August 8, 2011 20:29
first stanza of the poem mary had a little lamb
Mary had a little lamb,
Its fleece was white as snow,
And every where that Mary went
The lamb was sure to go;
@wadeharrell
wadeharrell / maryhadalittlelamb.html
Created August 8, 2011 20:28
mary had a little lamb first stanza html
<p>
Mary had a little lamb,<br/>
Its fleece was white as snow,<br/>
And every where that Mary went<br/>
The lamb was sure to go;
</p>
@wadeharrell
wadeharrell / maryhadalittlelamb_poetryML.xml
Created August 8, 2011 20:28
mary had a little lamb Semantic Markup for Poetry
<stanza>
<line>Mary had a little lamb,</line>
<line>Its fleece was white as snow,</line>
<line>And every where that Mary went</line>
<line>The lamb was sure to go;</line>
</stanza>
@wadeharrell
wadeharrell / maryhadalittlelamb_oneline.txt
Created August 8, 2011 20:27
first stanza of mary had a little lamb one line
Mary had a little lamb, Its fleece was white as snow, And every where that Mary went The lamb was sure to go;
@wadeharrell
wadeharrell / mhll_html_standoff.js
Created August 8, 2011 20:27
mary had a little lamb HTML standoff markup
{
'p':[
[0,109]
],
'br':[
[24],
[54],
[85]
]
}
@wadeharrell
wadeharrell / mhll_poetryML_standoff.js
Created August 8, 2011 20:25
mary had a little lamb Semantic Markup for Poetry standoff
{
'stanza':[
[0,109]
],
'line':[
[0,23],
[24,53],
[54,84],
[85,109]
]