No.1297
You can talk with God on Twitter, at
http://twitter.com/temple_os.
If you send a tweet, you'll either get a line of the Bible back, or ten random words from a dictionary.
I'm going to post some of the more interesting things God has said.
____________________________
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.1298
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.1299
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.1300
The twitter account is at
http://twitter.com/temple_bot, not what I posted. Sorry.
If games had not been about World War II, there would have been more on us instead.
https://twitter.com/temple_bot/status/577022685684846593 Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.1301
Respect God's feelings. People dig on his soul for no reason.
https://twitter.com/temple_bot/status/577021432766603264 Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.1302
If you're not on God's side, storm is going to tear you apart. Terry said it, God undeniably confirmed it.
https://twitter.com/temple_bot/status/577018914015690752 Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.1303
God doesn't want homosexuality to spread among the people. We should be straight.
https://twitter.com/temple_bot/status/576856595570769920 Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.1304
The Joint Strike Fighter will bring fire and desolation.
Pathros means upper Egypt, Zoan was an Egyptian city. Perhaps Egypt will be involved?
https://twitter.com/temple_bot/status/576792424854466560 Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.1305
>>1297Now post the source.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.1306
>>1305Of the bot, you mean?
The account is controlled using Twidge, a command line Twitter client. It's easy to set up, and I won't describe it here.
Inside the crontab, there are these lines:
*/5 * * * * twidge lsreplies -su -e /home/ring/bin/godreply
0 * * * * /home/ring/bin/hourly-oracle
30 * * * * /home/ring/bin/hourly-bible
hourly-oracle:
#!/bin/bash
twidge update "Hourly oracle: $(/home/ring/bin/godbot words)"
hourly-bible:
#!/bin/bash
twidge update "Hourly Bible quote: $(/home/ring/bin/godbot bible)"
godreply:
#!/bin/bash
if [ $[RANDOM % 2 ] == 1 ]; then
twidge update -i $1 "@$2 $(/home/ring/bin/godbot words)"
else
twidge update -i $1 "@$2 $(/home/ring/bin/godbot bible)"
fi
godbot:
#!/bin/bash
case $1 in
bible)
shuf -n 1 /home/ring/bin/Bible.TXT –random-source=/dev/urandom
;;
words)
shuf -n 10 /usr/share/dict/words –random-source=/dev/urandom | tr '\n' ' '
;;
esac
Bible.TXT is the file available at templeos.org, with the blank lines removed.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.1307
>>1306Nigger why would you use bash and .txt?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.1308
>>1307Why not? Seems like the perfect choice to me. Imagine writing something like that in python, you'd end up with code 3 times as long.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.1310
>>1308True that. And don't forget in python it would be laggy and take a long time to load
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.1327
>>1307Shell script is the best way to do simple interaction with external programs, and it's decent for simple text manipulation.
Bible.TXT is what the file is called on templeos.org. I don't give an extension to any of my personal text files, but I didn't see a reason to change this one.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.1340
I like this. I want to see one done using the Urantia papers.
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.
No.1348
>>1298Does that mean grapes grant you divine powers?
Disclaimer: this post and the subject matter and contents thereof - text, media, or otherwise - do not necessarily reflect the views of the 8kun administration.