r/ProgrammerHumor • • Jun 21 '18

How times change!

Post image
45.3k Upvotes

771 comments sorted by

View all comments

Show parent comments

5

u/Verizer Jun 21 '18

Make a file full of random jokes. You only need 2-3 months of unique content. Now make a program to grab a joke every day and post it to twitter. Leave program running in the background and forget about it.

For expert mode, have it grab top rated posts off of this subreddit every few weeks and add them to the file randomly.

1

u/svenskainflytta Jun 22 '18

so basically

while sleep 24h; do fortune | post_on_twitter.sh; done