Skip to content

Instantly share code, notes, and snippets.

@AJenbo
AJenbo / DownloadAvatarsForGource.php
Last active October 14, 2021 14:34 — forked from openp2pdesign/GourceGravatarExample.py
Download git contributor avatars from GitHub and Gravatar for use with Gource
<?php
// Place in any subfolder of your project, run `php DownloadAvatarsForGource.php`
$list = shell_exec('git shortlog -sne');
if (!$list) {
return;
}
$lines = explode("\n", $list);