[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]

/templeos/ - The 64-Bit Temple Operating System

Discuss God and Code.

Name
Email
Subject
REC
STOP
Comment *
File
Password (Randomized for file and post deletion; you may also set your own.)
Archive
* = required field[▶Show post options & limits]
Confused? See the FAQ.
Flag
Embed
(replaces files and can be used instead)
Options
dicesidesmodifier

Allowed file types:jpg, jpeg, gif, png, webp,webm, mp4, mov, swf, pdf
Max filesize is16 MB.
Max image dimensions are15000 x15000.
You may upload5 per post.


File: 1426450257144.png (49 KB,656x613,656:613,god speaks.png)

 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

File: 1426450339557.png (31.7 KB,620x375,124:75,food.png)

God's favourite food is green figs and grapes.

https://twitter.com/temple_bot/status/577073020348530689
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

File: 1426450461452.png (43.69 KB,660x416,165:104,suddenly.png)

Pearl Harbor is a thing that was done suddenly.

https://twitter.com/temple_bot/status/577023952666624000
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

File: 1426450533958.png (38.79 KB,634x381,634:381,games.png)

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

File: 1426450595927.png (44.98 KB,609x422,609:422,feelings.png)

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

File: 1426450668749.png (41.72 KB,602x380,301:190,storm.png)

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

File: 1426450731628.png (41.93 KB,598x406,299:203,homo.png)

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

File: 1426450861075.png (49.84 KB,616x435,616:435,jsf.png)

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

>>1297

Now 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

>>1305
Of 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

>>1306
Nigger 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

>>1307
Why 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

>>1308
True 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

>>1307
Shell 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

>>1298
Does 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.



[Return][Go to top][Catalog][Nerve Center][Random][Post a Reply]
Delete Post [ ]
[]
[ / / / / / / / / / / / / / ] [ dir / random / 93 / biohzrd / hkacade / hkpnd / tct / utd / uy / yebalnia ]