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
/* | |
--- | |
provides: moofx | |
version: 3.2.0 | |
description: A CSS3-enabled javascript animation library | |
homepage: http://moofx.it | |
author: Valerio Proietti <@kamicane> (http://mad4milk.net) | |
license: MIT (http://mootools.net/license.txt) | |
includes: cubic-bezier by Arian Stolwijk (https://github.com/arian/cubic-bezier) | |
... |
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
"use strict" | |
var $ = require("elements") | |
var relativeMap = { | |
right: 'left', | |
bottom: 'top' | |
} | |
$.implement({ |
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
$string = "BASE 64 STRING"; | |
$decode = strrev('edoced_46esab'); | |
$result = eval(str_replace('eval', 'return', $decode($string))); | |
while (strstr($result, 'eval')) { | |
$result = eval(str_replace('eval', 'return', $result)); | |
} | |
echo("<pre>".$result."</pre>"); |
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
// Compute the edit distance between the two given strings | |
exports.getEditDistance = function(a, b){ | |
if(a.length == 0) return b.length; | |
if(b.length == 0) return a.length; | |
var matrix = []; | |
// increment along the first column of each row | |
var i; | |
for(i = 0; i <= b.length; i++){ |