Skip to content

Instantly share code, notes, and snippets.

View npotier's full-sized avatar
😀

Nicolas Potier npotier

😀
View GitHub Profile
#!/bin/bash
# include config
# config example below:
#
#
# Example deploy_config.sh
#
# dev_env() {
@npotier
npotier / gist:b6a04b9ed74eecceafd61da4ac972fb2
Created April 2, 2018 20:30 — forked from Nyholm/gist:317df136ded2087649d0c9c464285cb1
Show who contributed to your vendors folder
# Install git fame
gem install git_fame
# Install all vendors with source
rm -rf vendor/*
composer update --prefer-source
# Do the calculations. This might take 30 minutes to complete.
rm output.txt
find ./vendor -type d -depth 2 ! -path "./vendor/composer" -exec echo {} \; -exec git fame --sort=loc --hide-progressbar --repository={} \; >> output.txt