Skip to content

Instantly share code, notes, and snippets.

View kaidence's full-sized avatar

Jos Kraaijeveld kaidence

  • Twitch
  • San Francisco
View GitHub Profile

Keybase proof

I hereby claim:

  • I am kaidence on github.
  • I am kaidence (https://keybase.io/kaidence) on keybase.
  • I have a public key ASDKO6DMz3lERtbQLu2K1wvy1A2OQOMakaWCAYsC18U9WAo

To claim this, I am signing this object:

@kaidence
kaidence / churn_from_git.py
Last active December 12, 2015 04:38
A python script to analyze churn on a local git repository based on different time intervals.
#! /usr/bin/env python
import sys, subprocess, os, pytz
from datetime import datetime, timedelta
from optparse import OptionParser
from dateutil.parser import parse as dateparse
def get_dates_and_shas(branch, start, end, interval):
"""Gets the relevant shas given the start date, end date and interval on
the given branch.