Last active
August 29, 2015 14:25
-
-
Save ryo-utsunomiya/f8fa523163606258c2a7 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
#!/usr/bin/env ruby | |
def say(str) | |
system 'say ' + str | |
end | |
presentationTime = 300 | |
discussionTime = 60 | |
say '3' | |
sleep 1 | |
say '2' | |
sleep 1 | |
say '1' | |
sleep 1 | |
say 'スタート' | |
sleep [0, presentationTime - 60].max | |
say 'あと1分です' | |
sleep 60 | |
say '発表終了です' | |
say '質疑応答開始です' | |
sleep discussionTime | |
say '終了です' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment