Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
Siri and Ruby TokyuRubyKaigi06 @ryo_katsuma
Slide 2
Slide 2 text
Hello!! Tokyu Ruby Kaigi
Slide 3
Slide 3 text
Ryo Katsuma @ryo_katsuma Engineer at COOKPAD Inc. github.com/katsuma twitter.com/ryo_katsuma
Slide 4
Slide 4 text
http://www.flickr.com/photos/superstarjet/2373405653/ Thank you, SUNTRY !!
Slide 5
Slide 5 text
͕ɺ͔͠͠
Slide 6
Slide 6 text
ਖ਼ɺ ਲͬͺΒͬͨɻ
Slide 7
Slide 7 text
खݩ͕͓΅͔ͭͳ͍
Slide 8
Slide 8 text
Α͘Θ͔ΒΜ 3FCMPHͪ͠Ό͍ͦ͏
Slide 9
Slide 9 text
ͰɺϏʔϧ ͖ͩɻ
Slide 10
Slide 10 text
టਲͯͯ͠ ৗੜ׆Λ ΞϨίϨ͍ͨ͠
Slide 11
Slide 11 text
Break through?
Slide 12
Slide 12 text
Siri
Slide 13
Slide 13 text
You just say something
Slide 14
Slide 14 text
Siri solves all problems
Slide 15
Slide 15 text
No content
Slide 16
Slide 16 text
+
Slide 17
Slide 17 text
+ Ruby makes Siri more cool
Slide 18
Slide 18 text
No content
Slide 19
Slide 19 text
SiriProxy
Slide 20
Slide 20 text
Siri plugin by simple regexp
Slide 21
Slide 21 text
I say ‘GO’, You says ‘Stop’
Slide 22
Slide 22 text
class SiriProxy::Plugin::Sample < SiriProxy::Plugin listen_for /Go/ do say "Stop" request_completed end end
Slide 23
Slide 23 text
class SiriProxy::Plugin::Sample < SiriProxy::Plugin listen_for /Go/ do say "Stop" request_completed end end
Slide 24
Slide 24 text
class SiriProxy::Plugin::Sample < SiriProxy::Plugin listen_for /Go/ do say "Stop" request_completed end end very simple!
Slide 25
Slide 25 text
DNS setting SiriProxy
Slide 26
Slide 26 text
DNS setting SiriProxy
Slide 27
Slide 27 text
DNS setting SiriProxy
Slide 28
Slide 28 text
DNS setting SiriProxy Siri Server
Slide 29
Slide 29 text
DNS setting SiriProxy Siri Server
Slide 30
Slide 30 text
Demo 1
Slide 31
Slide 31 text
Turn on the screen saver https://github.com/katsuma/SiriProxy-Screen
Slide 32
Slide 32 text
No content
Slide 33
Slide 33 text
def run_screen_saver `/System/Library/Frameworks/ScreenSaver.framework /Resources/ScreenSaverEngine.app /Contents/MacOS/ScreenSaverEngine` end
Slide 34
Slide 34 text
class SiriProxy::Plugin::Screen < SiriProxy::Plugin listen_for /ը໘Λ?(ফͯ͠|͚ͯ͠)/ do say 'εΫϦʔϯηʔόʔΛىಈ͠·͢' run_screen_saver request_completed end end
Slide 35
Slide 35 text
Demo 2
Slide 36
Slide 36 text
Turn on/off the light https://github.com/katsuma/SiriProxy-iRemcon
Slide 37
Slide 37 text
No content
Slide 38
Slide 38 text
iRemocon
Slide 39
Slide 39 text
Multi remote control with IP address
Slide 40
Slide 40 text
IP address TCP signal IR
Slide 41
Slide 41 text
IP address TCP signal Turn on/off the light
Slide 42
Slide 42 text
Conclusion
Slide 43
Slide 43 text
Siri + Ruby solves all problems
Slide 44
Slide 44 text
Have a nice beer!