I hereby claim:
- I am jjoocceeee on github.
- I am joceeholladay (https://keybase.io/joceeholladay) on keybase.
- I have a public key ASB9roh4mZVO6H1h-YCQ1dDZNrptQWWFJBywi1eTLz6H2Ao
To claim this, I am signing this object:
| function question() { | |
| if (person.readCodeSpeed > person.readSentenceSpeed || person.readCodeDesire > person.readSentenceDesire) { | |
| comments = false; | |
| } else { | |
| comments = true; | |
| } | |
| if (person.readSentenceAge >= person.readCodeAge) { | |
| person.fasterReading = code; | |
| } else { | |
| person.fasterReading = sentence; |
I hereby claim:
To claim this, I am signing this object:
| { | |
| "version": "1.0", | |
| "session": { | |
| "new": false, | |
| "sessionId": "REPLACE_ME", | |
| "application": { | |
| "applicationId": "REPLACE_ME" | |
| }, | |
| "user": { | |
| "userId": "REPLACE_ME" |
| del index.zip | |
| cd lambda | |
| 7z a -r ..\index.zip * | |
| cd .. | |
| aws lambda update-function-code --function-name alexa_testing --zip-file fileb://index.zip |
| async function getTodayHolidays(handlerInput){ | |
| const { requestEnvelope, attributesManager, responseBuilder } = handlerInput; | |
| const { intent } = requestEnvelope.request; | |
| let response = await axios({ | |
| url: 'Replace Me With URL at bottom of Blog post', | |
| method: 'post', | |
| data: { | |
| query: ` | |
| query | |
| { |
| const TodaysHolidayIntentHandler = { | |
| canHandle(handlerInput){ | |
| return handlerInput.requestEnvelope.request.type === 'IntentRequest' && handlerInput.requestEnvelope.request.intent.name === 'TodaysHolidayIntent'; | |
| }, | |
| async handle(handlerInput) { | |
| return await getTodayHolidays(handlerInput); | |
| } |
| // The lambda handler is the entry point for the AWS lambda function. | |
| let skill; | |
| exports.handler = async function (event, context) { | |
| if (!skill) { | |
| skill = Alexa.SkillBuilders.custom() | |
| .addRequestHandlers( |