Skip to content

Instantly share code, notes, and snippets.

View accolver's full-sized avatar

Alan Colver accolver

View GitHub Profile
@accolver
accolver / random_matcher.py
Created December 6, 2017 01:07
Randomly match items of list together. I'm using this to match siblings together for Christmas gift giving.
"""Randomly match list items together."""
import sys
import random
if len(sys.argv) < 2:
raise('Must pass in list of items (Ex: "John,Michael,Alan,Bryanne"')
try:
seed = sys.argv[2]
except IndexError:

Keybase proof

I hereby claim:

  • I am accolver on github.
  • I am dinkles (https://keybase.io/dinkles) on keybase.
  • I have a public key whose fingerprint is 9985 3BCA 3334 6021 6BDB 58C6 F5AE 3AC8 F482 CBDA

To claim this, I am signing this object:

@accolver
accolver / ngLazyShow.js
Last active December 5, 2016 08:14
ng-lazy-show
'use strict';
var ngLazyShowDirective = ['$animate', function ($animate) {
return {
multiElement: true,
transclude: 'element',
priority: 600,
terminal: true,
restrict: 'A',