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
120
Alexa, ask me about PHP
Omni Adams
July 11, 2017
Tweet
Share
More Decks by Omni Adams
See All by Omni Adams
Break Off - Midwest
omnicolor
0
29
Alexa-Midwest
omnicolor
0
110
Break Off SunPHP20
omnicolor
0
190
Alexa, Ask Me About PHP!
omnicolor
1
23
Dark Corners Of The SPL - Midwest PHP 2019
omnicolor
0
150
Dark Corners Of The SPL
omnicolor
0
47
Dark Corners Of The SPL - Dallas PHP July
omnicolor
1
80
An Introduction to API Gateways
omnicolor
0
130
Phing All The Things!
omnicolor
1
140
Other Decks in How-to & DIY
See All in How-to & DIY
今こそスマートハウス!
runrunsan
0
2.9k
enebularを活用したNode-REDによるIoTシステム開発と運用
taokiuhuru
0
270
【バスケ】ボックススコアを用いたオールインワンメトリクス作成手続き
rnsr0371
0
300
IoT×サーモに挑戦する第一歩
runrunsan
0
180
FlutterとFirebaseを使い大学生活をチョロくしよう
gadgelogger
2
410
English Study
bbsakura
0
310
コロナ後の世界メイカーフェア事情 高須正和@Nico-Tech Shenzhen #KMMF2024 #KariyaMMF2024
takasumasakazu
0
140
Fraxinus1k 組立説明書 (Japanese, v. 0.9)
fukumay
0
3.1k
Last CoLab
yumechi
1
110
Zeitplanung und Selbstmanagement
ddeimeke
0
320
IoTカーテンオープナー
keicafeblack
0
110
Mini 4WD and Community
fukumay
0
640
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
40
12k
Intergalactic Javascript Robots from Outer Space
tanoku
266
26k
Designing for humans not robots
tammielis
247
25k
Learning to Love Humans: Emotional Interface Design
aarron
266
39k
Reflections from 52 weeks, 52 projects
jeffersonlam
343
19k
Fantastic passwords and where to find them - at NoRuKo
philnash
35
2.4k
BBQ
matthewcrist
78
8.7k
The Invisible Customer
myddelton
114
12k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
8
8.2k
A better future with KSS
kneath
230
16k
Building Adaptive Systems
keathley
29
1.8k
Unsuck your backbone
ammeep
660
56k
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]