Skip to content

Instantly share code, notes, and snippets.

View bitsofparag's full-sized avatar
🏃‍♂️

Parag bitsofparag

🏃‍♂️
View GitHub Profile
@bitsofparag
bitsofparag / index.js
Created January 4, 2015 12:59
requirebin sketch
var simhash = require('simhash')();
var ConvertBase = require('convert-base');
var converter = new ConvertBase();
var perc = function(i, j) {
return (+i/(+j)) * 100;
};
var bigInt = require('js-big-integer').BigInteger;
@bitsofparag
bitsofparag / index.js
Last active November 16, 2016 10:56
Testing several string matching algorithms
//---- externals/require ----
require('clj-fuzzy');
var _ = require('lodash');
//---- private ----
var html = '';
var oldCleanedHTML = '';
var newCleanedHTML = '';
var prep = function() {