Last active
December 18, 2015 03:08
-
-
Save originalpete/5715627 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'open-uri' | |
r = Random.new(Time.now.to_i) | |
exit if r.rand < 0.90 | |
url = "https://gist.github.com/originalpete/5715627/raw/sayings.txt" | |
sayings = open(url).read | |
text = sayings.split("\n").sort_by{r.rand}.first | |
`say "#{text}"` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
say "I really should lock my computer" | |
ruby < <(curl -s -L https://gist.github.com/originalpete/5715627/raw/say.rb) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
can anyone else smell that? | |
i believe i can fly! | |
is it my turn to make coffee? | |
i can't take it anymore. | |
i wish there were more bugs to fix | |
sigh | |
life. don't talk to me about life. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment