Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Alexa, ask me about PHP
Search
Omni Adams
July 11, 2017
How-to & DIY
0
150
Alexa, ask me about PHP
Omni Adams
July 11, 2017
Tweet
Share
More Decks by Omni Adams
See All by Omni Adams
Dark Corners - Tek
omnicolor
0
59
Monolith - Tek
omnicolor
0
25
Break Off - Midwest
omnicolor
0
31
Alexa-Midwest
omnicolor
0
130
Break Off SunPHP20
omnicolor
0
210
Alexa, Ask Me About PHP!
omnicolor
1
23
Dark Corners Of The SPL - Midwest PHP 2019
omnicolor
0
200
Dark Corners Of The SPL
omnicolor
0
48
Dark Corners Of The SPL - Dallas PHP July
omnicolor
1
100
Other Decks in How-to & DIY
See All in How-to & DIY
enebularを活用したNode-REDによるIoTシステム開発と運用
taokiuhuru
0
360
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
1
230
Fraxinus1k Assembly Instructions (English, v. 0.9)
fukumay
0
1.1k
在宅フルリモートワークを可能にするスキルと知識n連発! / how to more effective remoteworking
masaru_b_cl
0
500
コロナ後の世界メイカーフェア事情 高須正和@Nico-Tech Shenzhen #KMMF2024 #KariyaMMF2024
takasumasakazu
0
200
LT(Lightning Talk)のドキドキ感を共有しながら 応援してくれるBotを作ってみた!
scbc1167
0
230
もくもく会? / mokumokukai?
tbshiki
0
350
ITエンジニアにおすすめのゲームFactorio御紹介
zembutsu
PRO
1
820
#きんぢラーメン大賞 番外編 -都内で食べられるご当地ラーメン23選-
kjstylepp
0
150
バタフライ効果/butterfly_effect
florets1
0
200
400人誰もやらんので私がやってみました社内でChatGPT LINE Bot
okinakagaikotu
0
210
IFTTTやPower Automateを超えた?!ノーコードかつ無料でLINE Botや自動化ができるPipedreamがアツい(かも) #linedc #pipedream #protoout
n0bisuke2
0
390
Featured
See All Featured
Raft: Consensus for Rubyists
vanstee
134
6.5k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
18
1.2k
How To Stay Up To Date on Web Technology
chriscoyier
784
250k
KATA
mclloyd
20
13k
How to Think Like a Performance Engineer
csswizardry
4
590
Build your cross-platform service in a week with App Engine
jlugia
227
17k
What the flash - Photography Introduction
edds
65
11k
Become a Pro
speakerdeck
PRO
15
4.8k
Unsuck your backbone
ammeep
666
57k
Ruby is Unlike a Banana
tanoku
96
10k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
78
15k
How STYLIGHT went responsive
nonsquared
93
5k
Transcript
Alexa, ask me about PHP
What is Alexa?
None
None
None
None
None
None
None
None
None
None
if($extractType == ‘LME') { $extract = 38; } elseif ($extractType
== ‘DME') { $extract = 45; } elseif (is_numeric($extractType)) { $extract = $extractType; } if (is_numeric($target_gu) && is_numeric($total_gu) && is_numeric($extract)) { return ($target_gu - $total_gu) / $extract; } else { return null; }
None
https://developer.amazon.com/
None
None
None
None
None
None
None
None
None
None
None
{ “intents”: [ { “slots”: [], “intent”: “” } ]
}
function extractAddition($expected, $actual, $extractType)
Alexa, ask brew calc how much DME to go from
ten sixty to ten ninety
Alexa, askbrew calc how much DME to go from ten
sixt
xa, ask brew calchow much DME to go from ten
sixty to ten nin
lc how much DME to go from ten sixty to
ten ninety
lc how much DME to go from ten sixty to
ten ninety
how much DME to go from ten sixty to ten
ninety {“intents”: [{ “slots”: [ {“name”: “extract”, “type”: “LIST_OF_EXTRACT_TYPES”}, {“name”: “expected”, “type”: “AMAZON.FOUR_DIGIT_NUMBER”}, {“name”: “actual”, “type”: “AMAZON.FOUR_DIGIT_NUMBER”} ], “intent”: “BrewCalcIntent” }]}
None
None
None
None
DEMO TIME!
https://speakerdeck.com/omnicolor/alexa-ask-me-about-php https://github.com/omnicolor/automation https://twitter.com/omnicolor Omni Adams
[email protected]