Skip to content
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
Cannot retrieve contributors at this time
executable file 14 lines (13 sloc) 654 Bytes
# Basically, take the top contriversial posts on reddit world news and find
# keywords using RAKE then put in the template and post a random one
# fires @019, @089, @198 & @989
SCRIPTDIR=$(dirname $0)
while read title; do
../../../Tools/ <(echo "${title}") | cut -d, -f2 | tail -1 | xargs -I@ echo "Taylor Swift's silence on @ is deafening" > $TEMP
done < <( wget -qO- '' | jq .data.children[].data.title );
../../../Tools/ post "$(shuf $TEMP | head -1)"