https://gist.github.com/wbotelhos/46c37807c834ccb5bb406e426adfe347
run with:
ruby runner.rb FILENAME
example:
ruby runner.rb b_lovely_landscapes.txt
output will be in ./output folder
save submission
tar cvzf output/submission_$(date +"%Y%m%d%H%M%S").tar.gz --exclude .git --exclude "*.txt" --exclude="./output/*" ./