Last active
August 29, 2015 14:11
-
-
Save tommybobbins/d3944fdc48897ad3ae3b to your computer and use it in GitHub Desktop.
Convert Unicorn paint to Python
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
grep "GET /pixel" unicorn_paint.log | awk '{print $7}' | sed -e 's/\/pixel\//unicorn\.set\_pixel\(/g' | sed -e 's/$/)/g' | sed -e 's/\//\,/g' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment