Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
Alexa, ask me about PHP
Omni Adams
July 11, 2017
How-to & DIY
0
75
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
15
Alexa-Midwest
omnicolor
0
83
Break Off SunPHP20
omnicolor
0
130
Alexa, Ask Me About PHP!
omnicolor
1
23
Dark Corners Of The SPL - Midwest PHP 2019
omnicolor
0
110
Dark Corners Of The SPL
omnicolor
0
37
Dark Corners Of The SPL - Dallas PHP July
omnicolor
1
39
An Introduction to API Gateways
omnicolor
0
120
Phing All The Things!
omnicolor
1
120
Other Decks in How-to & DIY
See All in How-to & DIY
#分解のススメ 第14回 ニセAirPods分解 @tks
takasumasakazu
0
130
OuraRingで体調不良を同僚にそっと伝える方法
taokiuhuru
1
130
アウトプットしてる?ブログと LT のすゝめ (v1) 【MaxのShortTalk】/why-do-we-output
ma2shita
0
120
Realforceを濡らしてしまった話
mattenn
0
180
スマホでNode-RED
ozk009
0
220
Discover your Explorer Soul
emna__ayadi
1
660
好みのコーヒー探し / find my favorite coffee
thatblue
0
160
「DIY縦軸」イベントを能動的に楽しむという考え方。または、イベントは誰が作り育てるかという話。
camel_404
0
180
스크럼에 대한 거의 모든 것
haebom
0
410
Finding talent without LinkedIn
davidbonilla
1
1.9k
micro:bitでオタマトーン
keicafeblack
0
480
イベント参加者向けVRChatガチ初心者ガイド / VRChat for ultra beginner
chitose_snn
2
590
Featured
See All Featured
What’s in a name? Adding method to the madness
productmarketing
12
1.9k
GraphQLとの向き合い方2022年版
quramy
20
9.8k
Building an army of robots
kneath
301
40k
Raft: Consensus for Rubyists
vanstee
130
5.7k
Art, The Web, and Tiny UX
lynnandtonic
284
18k
Music & Morning Musume
bryan
36
4.6k
Building Applications with DynamoDB
mza
85
4.9k
In The Pink: A Labor of Love
frogandcode
132
21k
How to name files
jennybc
47
73k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
236
1.1M
Statistics for Hackers
jakevdp
785
210k
Gamification - CAS2011
davidbonilla
75
4.1k
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]