Skip to content

Instantly share code, notes, and snippets.

View jleader's full-sized avatar

Jeremy Leader jleader

View GitHub Profile
@frioux
frioux / ego-boost.sh
Created January 7, 2016 19:01
How many stars do you have in total?
#!/bin/dash
ego=${1:-frioux}
count=0
for repo in $(git hub repos --raw $ego); do
inner_count=$(git hub stars $repo --raw | grep -v $ego | wc -l)
count=$(($count + $inner_count))
echo "$repo: $inner_count"
done