Skip to content

Instantly share code, notes, and snippets.

View superchris's full-sized avatar

Chris Nelson superchris

View GitHub Profile
name: Elixir CI
on:
push:
tags: releases/*
branches: [master]
pull_request:
branches: [master]
jobs:
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);
};
@superchris
superchris / index.html
Created May 4, 2015 22:03
JS Bin Events example // source http://jsbin.com/lafufu
<!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 22:02
JS Bin Transclusion example // source http://jsbin.com/kolewa
<!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 22:01
JS Bin Formatter/parser example // source http://jsbin.com/qofih
<!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 22:01
JS Bin controller directive example // source http://jsbin.com/miqoso
<!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 22:00
JS Bin uppercase directive // source http://jsbin.com/ladato
<!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 22:00
JS Bin raty plugin demo // source http://jsbin.com/pufef/1
<!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 22:00
JS Bin Directive scope example // source http://jsbin.com/yaqas
<!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 21:59
JS Bin Hello directive // source http://jsbin.com/lomug
<!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 />