Skip to content

Instantly share code, notes, and snippets.

View gsiegman's full-sized avatar

Glenn Siegman gsiegman

  • Wisconsin
  • 12:43 (UTC -05:00)
View GitHub Profile
from itertools import combinations
my_list = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l']
num_combs = len([i for i in combinations(my_list, r=3)])
print num_combs
'use strict';
var dashboardApp = angular.module('dashboardApp', [
'ngRoute',
'dashboardControllers'
]);
dashboardApp.config(['$routeProvider',
function($routeProvider) {
$routeProvider.when('/index', {