Last active
August 29, 2015 14:25
-
-
Save micromaomao/6f239dfc6950b702394d to your computer and use it in GitHub Desktop.
Draw a picture on your github user page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var dates = ""; | |
$('.day').click(function(){dates += $(this).data('date') + "\n"; console.info($(this).data('date'));$(this).attr("fill", "#00ff00")}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
dates=$(cat dates.txt) | |
mail="[email protected]" | |
for date in $dates; do | |
git commit --date="$date 00:00:01 +0000" --author="Wtm mao <$mail>" -m "Put a green block on $date" --allow-empty; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment