Skip to content

Instantly share code, notes, and snippets.

View karpelcevs's full-sized avatar

Romans Karpelcevs karpelcevs

  • Tallinn, Estonia
  • X @cvbk
View GitHub Profile
@alesker
alesker / gitstats.py
Last active September 4, 2023 07:46
Python (Python 3) script to count contributions based on git-blame
#!/usr/bin/env python
import subprocess
import re
import operator
import sys
import os.path
path = '.'
if (len(sys.argv) > 1):