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$7NZ88DM8D8ZNDD$7Z$N878OO8$NOZ7ZNDDMZ
,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,:O8Z88ZMI8O+8?MZMZO$8M$I77NN87IMNI7ZM8M$DNZDDM
,,,,,,,,,,,,,,,,,,,,,,,,,,,. .+IOD$O8OINDNOM8DM8$D7?D,DODN78I$ZMZ8ODZMI7$D8N
,,,,,,,,,,,,,,,,,,,,,,,,.. .,+$D?ODON8O~NN8NDZ$N?7DMO8DZDNZMNZMO88DNODIZI+$
,,,,,,,,,,,,,,,,,,,,,.. . ..,+ZN8OD?OZ7DDDN88IIOZOO8MOODOD?ON888I$ND887$7ZD
,,,,,,,,,,,,,,,,,,. . ....?I7$8Z$=D8NDD+77MZ8D8ZNMZONMMNDND8DIZZMD=8N7I8
,,,,,,,,,,,,,,,.. ..... .. .+$ZOZDD=ON8?Z8M8D8D8M8ZZNDNNM8OID88IDZID?Z$$Z
,,,,,,,,,,,,.. . . .... ...~:ZO7+DD7O8Z?7Z87NMOZ$O8MZZDDNMZ$8ID7$D8$DIZ$I
,,,,,,,,, .. . ..... .,=?ZI$7$?I87877ID8MM$MMM7DNN8DNNNMMZ88Z$Z8$O+8
,,,,,. .. .. . ..~?I??I$I$?7II7$?NZ8NNIZ8OD88D$DMNNN8OO8DO77I
This script will create a hook that will attempt to take a photo of your beard upon your making a git commit. It will attempt to install streamer. Obviously git and bash are prerequisites for this to work.
Idea taken from Víctor Martínez: https://github.com/knoopx Incorporates changes by iHiD (https://gist.github.com/3207743) Find this script on github at https://github.com/ashleyblackmore/beardsnapper
It has only been tested on Ubuntu thus far! Currently leaves debug output on command line, despite attempts to adjust for quiet output.