Skip to content

Instantly share code, notes, and snippets.

View bemk's full-sized avatar

Bart Kuivenhoven bemk

View GitHub Profile
@bemk
bemk / git_loc.sh
Last active August 29, 2015 14:23
git_loc.sh
#!/bin/bash
echo lines of code
git ls-files | grep -i '\.h\|\.c\|\.s\|\.asm\|\.java\|\.cs\|\.ino' | xargs -n1 git blame --line-porcelain | sed -n 's/^author //p' | sort -f | uniq -ic | sort -nr
echo lines contributed
git ls-files | xargs -n1 git blame --line-porcelain | sed -n 's/^author //p' | sort -f | uniq -ic | sort -nr
@bemk
bemk / keybase.md
Last active August 29, 2015 14:14

Keybase proof

I hereby claim:

  • I am bemk on github.
  • I am bemk (https://keybase.io/bemk) on keybase.
  • I have a public key whose fingerprint is 2B4A 2CF3 07E2 6476 829D 1626 3114 12B9 B08B 691D

To claim this, I am signing this object: