Skip to content

Instantly share code, notes, and snippets.

View logan-barnett-nwea's full-sized avatar

logan-barnett-nwea

View GitHub Profile
@chromy
chromy / update_avatar.sh
Created June 25, 2013 17:32
A bash scrip to get your Gravatar and save it as an image and a favicon.
#!/bin/bash
# This script downloads a gravatar image associated with EMAIL and saves it at
# AVATAR_OUTPUT_PATH then creates a favicon icon and saves it at
# FAVICON_OUTPUT_PATH.
EMAIL="hector.dearman@gmail.com"
AVATAR_OUTPUT_PATH="static/img/avatar.png"
FAVICON_OUTPUT_PATH="static/favicon.ico"