Skip to content

Instantly share code, notes, and snippets.

View PixnBits's full-sized avatar

Nick Oliver PixnBits

View GitHub Profile
@PixnBits
PixnBits / md5.js
Last active August 31, 2024 22:27 — forked from jhoff/md5.js
invalid reference fix
/*
* http://www.myersdaily.org/joseph/javascript/md5-text.html
*/
(function (global) {
var md5cycle = function (x, k) {
var a = x[0],
b = x[1],
c = x[2],
d = x[3];
@PixnBits
PixnBits / trademark.sublime-snippet
Created November 21, 2014 22:24
Easily insert trademark symbols.
<snippet>
<content><![CDATA[
]]></content>
<tabTrigger>(TM)</tabTrigger>
<description>Easily insert trademark symbols.</description>
</snippet>
@PixnBits
PixnBits / Session collectInput example
Last active August 29, 2015 14:15
fixed the borken (written by ANOTHER LANGUAGE developer?) Session collectInput example
function tenDigitCollector( session, type, data, arg ) {
if ( type == "dtmf" ) {
arg.digits += data.digit;
return arg.digits.length >= 10;
}
return true;
}