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
230
Alexa, ask me about PHP
Omni Adams
July 11, 2017
Tweet
Share
More Decks by Omni Adams
See All by Omni Adams
Alexa, Ask Me About PHP! (Cascadia 2024)
omnicolor
0
38
Dark Corners - Tek
omnicolor
0
160
Monolith - Tek
omnicolor
0
110
Break Off - Midwest
omnicolor
0
36
Alexa-Midwest
omnicolor
0
180
Break Off SunPHP20
omnicolor
0
260
Alexa, Ask Me About PHP!
omnicolor
1
28
Dark Corners Of The SPL - Midwest PHP 2019
omnicolor
0
320
Dark Corners Of The SPL
omnicolor
0
56
Other Decks in How-to & DIY
See All in How-to & DIY
JAWS-UG/AWSコミュニティプログラムのご紹介 - JAWS-UG 佐賀
awsjcpm
2
140
「AITRIOS」でトカゲの活動量を可視化
hoshinoresearch
0
380
人はなぜコミュニティとつながると幸せを感じるのか
448jp
3
290
JAWS-UG Community Upadate - JAWS-UG 熊本
awsjcpm
2
160
アイデアをカタチにする、イマジニア
haruka_imgr
0
130
EasyEDA機能紹介と今後の計画 (中国語) プロジェクトマネージャ罗德松
takasumasakazu
0
130
Why did my proposals get rejected?
okuramasafumi
1
680
チームビルディングを受けてみた
harukahosokawa
3
180
【加筆修正版】ハードワークを支えるフィジカルとメンタルを構築る#rubymusclemixin 活動 #きのこ2025 #きのこ2025_b
bash0c7
0
210
M5Stackを使ってSズキの魔改造モンスターマシンを作ってみた
syumme01
0
170
未来の投げ銭箱
inoue2002
2
120
HCIのデモに役立つ映像活用アイデア集 #WISS2024 ナイトセッション #HCIVideoCulture
bonsaistudiojp
2
910
Featured
See All Featured
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
32
2.4k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
VelocityConf: Rendering Performance Case Studies
addyosmani
332
24k
Statistics for Hackers
jakevdp
799
220k
Building Adaptive Systems
keathley
43
2.7k
Into the Great Unknown - MozCon
thekraken
40
1.9k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.2k
Rails Girls Zürich Keynote
gr2m
95
14k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Java REST API Framework Comparison - PWX 2021
mraible
31
8.7k
Intergalactic Javascript Robots from Outer Space
tanoku
271
27k
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]