Skip to content

Instantly share code, notes, and snippets.

Chris Nelson superchris

Block or report user

Report or block superchris

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View santa_hash.js
var md5 = require('md5');
var salt = "jlmsuwbz";
var index = 0;
var keys = 0;
const THREE_MATCH = /(.)\1\1/
function santaHash(input, index) {
return md5(input+index);
};
View index.html
<!DOCTYPE html>
<html ng-app="fruit">
<head>
<meta name="description" content="Events example" />
<script src="http://code.jquery.com/jquery.min.js"></script>
<link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap-responsive.css" rel="stylesheet" type="text/css" />
<script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"></script>
<meta charset=utf-8 />
@superchris
superchris / index.html
Created May 4, 2015
JS Bin Transclusion example // source http://jsbin.com/kolewa
View index.html
<!DOCTYPE html>
<html ng-app="app">
<head>
<meta name="description" content="Transclusion example" />
<script src="http://code.jquery.com/jquery.min.js"></script>
<link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap-responsive.css" rel="stylesheet" type="text/css" />
<script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular-sanitize.js"></script>
@superchris
superchris / index.html
Created May 4, 2015
JS Bin Formatter/parser example // source http://jsbin.com/qofih
View index.html
<!DOCTYPE html>
<html ng-app="app">
<head>
<meta name="description" content="Formatter/parser example" />
<script src="http://code.jquery.com/jquery.min.js"></script>
<link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap-responsive.css" rel="stylesheet" type="text/css" />
<script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular-sanitize.js"></script>
@superchris
superchris / index.html
Created May 4, 2015
JS Bin controller directive example // source http://jsbin.com/miqoso
View index.html
<!DOCTYPE html>
<html ng-app="app">
<head>
<meta name="description" content="controller directive example" />
<script src="http://code.jquery.com/jquery.min.js"></script>
<link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap-responsive.css" rel="stylesheet" type="text/css" />
<script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-sanitize.js"></script>
@superchris
superchris / index.html
Created May 4, 2015
JS Bin uppercase directive // source http://jsbin.com/ladato
View index.html
<!DOCTYPE html>
<html ng-app="app">
<head>
<meta name="description" content="uppercase directive" />
<script src="http://code.jquery.com/jquery.min.js"></script>
<link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap-responsive.css" rel="stylesheet" type="text/css" />
<script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.2.14/angular-sanitize.js"></script>
@superchris
superchris / index.html
Created May 4, 2015
JS Bin raty plugin demo // source http://jsbin.com/pufef/1
View index.html
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="raty plugin demo" />
<script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="https://rawgithub.com/wbotelhos/raty/master/lib/jquery.raty.js"></script>
<meta charset="utf-8">
<title>JS Bin</title>
</head>
<body>
@superchris
superchris / index.html
Created May 4, 2015
JS Bin Directive scope example // source http://jsbin.com/yaqas
View index.html
<!DOCTYPE html>
<html ng-app="app">
<head>
<meta name="description" content="Directive scope example" />
<script src="http://code.jquery.com/jquery.min.js"></script>
<link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap-responsive.css" rel="stylesheet" type="text/css" />
<script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular-sanitize.js"></script>
@superchris
superchris / index.html
Created May 4, 2015
JS Bin Hello directive // source http://jsbin.com/lomug
View index.html
<!DOCTYPE html>
<html ng-app="app">
<head>
<meta name="description" content="Hello directive" />
<script src="http://code.jquery.com/jquery.min.js"></script>
<link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap-responsive.css" rel="stylesheet" type="text/css" />
<script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>
<meta charset=utf-8 />
@superchris
superchris / index.html
Created May 4, 2015
JS Bin Filter example // source http://jsbin.com/pezih
View index.html
<!DOCTYPE html>
<html ng-app="app">
<head>
<meta name="description" content="Filter example" />
<script src="http://code.jquery.com/jquery.min.js"></script>
<link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap.css" rel="stylesheet" type="text/css" />
<link href="http://getbootstrap.com/2.3.2/assets/css/bootstrap-responsive.css" rel="stylesheet" type="text/css" />
<script src="http://getbootstrap.com/2.3.2/assets/js/bootstrap.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>
<meta charset=utf-8 />
You can’t perform that action at this time.