Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 17 lines (16 sloc) 543 Bytes
#/bin/bash
echo `dirname "$0" `
cd `dirname "$0" `
./timecubetrends.py > trending.txt
selection=$RANDOM
echo $selection
if [ "$selection" -gt "30719" ]; then
# Mention: 1/16
./markov.py --length 1 --for_twitter --input src.txt --mention `./timecuberandomuser.py` | ./timecubetweet.py
elif [ "$selection" -gt "26623" ]; then
# Trending: 2/16
./markov.py --length 1 --for_twitter --input src.txt --trending trending.txt | ./timecubetweet.py
else
# Normal: 13/16
./markov.py --length 1 --for_twitter --input src.txt | ./timecubetweet.py
fi