This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# --------------------------------------------------------------------------- | |
# | |
# Description: This file holds all my BASH configurations and aliases | |
# | |
# Sections: | |
# 1. Environment Configuration | |
# 2. Make Terminal Better (remapping defaults and adding functionality) | |
# 3. File and Folder Management | |
# 4. Searching | |
# 5. Process Management |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
var Alexa = require("alexa-sdk"); | |
var languageStrings = { | |
'en-GB': { | |
'translation': { | |
'DEFAULT' : '<say-as interpret-as="interjection">uh-huh</say-as>', | |
'WELCOME' : "Hello there, tell me what's on your mind. I'm a great listener.", | |
'HELP' : "I love to listen! Just keep talking to me and I'll occasionally show my enthusiasm", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const Alexa = require('alexa-sdk'); | |
const moment = require('moment'); | |
const languageStrings = { | |
'en-GB': { | |
'translation': { | |
'WELCOME_MESSAGE' : 'Hello World!', | |
'LAST_HAIRCUT' : 'Your last haircut was %s', | |
'HAIRCUT_SAVED_SUCCESSFULLY' : "Ok, I'll remember this haircut", | |
'UNHANDLED' : "I'm sorry, I didn't catch that. What would you like to do?", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* IMPORTANT COPYRIGHT: Shaquilla Johnson - DO NOT COPY IDEA */ | |
// 1. Text strings ===================================================================================================== | |
// Modify these strings and messages to change the behavior of your Lambda function | |
// SEE BOTTOM FOR INTERACTION MODEL | |
var speechOutput; | |
var reprompt; | |
// 2. Skill Code ======================================================================================================= |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This code has been generated from your interaction model | |
/* eslint-disable func-names */ | |
/* eslint quote-props: ["error", "consistent"]*/ | |
// There are three sections, Text Strings, Skill Code, and Helper Function(s). | |
// You can copy and paste the contents as the code for a new Lambda function, using the alexa-skill-kit-sdk-factskill template. | |
// This code includes helper functions for compatibility with versions of the SDK prior to 1.0.9, which includes the dialog directives. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function supportsDisplay() { | |
var hasDisplay = | |
this.event.context && | |
this.event.context.System && | |
this.event.context.System.device && | |
this.event.context.System.device.supportedInterfaces && | |
this.event.context.System.device.supportedInterfaces.Display | |
return hasDisplay; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"languageModel": { | |
"types": [ | |
{ | |
"name": "RANDOM", | |
"values": [ | |
{ | |
"id": null, | |
"name": { | |
"value": "to be honest", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This code has been generated from your interaction model | |
/* eslint-disable func-names */ | |
/* eslint quote-props: ["error", "consistent"]*/ | |
// There are three sections, Text Strings, Skill Code, and Helper Function(s). | |
// You can copy and paste the contents as the code for a new Lambda function, using the alexa-skill-kit-sdk-factskill template. | |
// This code includes helper functions for compatibility with versions of the SDK prior to 1.0.9, which includes the dialog directives. | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//LAMBDA CODE! | |
/* This code has been generated from your interaction model | |
/* eslint-disable func-names */ | |
/* eslint quote-props: ["error", "consistent"]*/ | |
// There are three sections, Text Strings, Skill Code, and Helper Function(s). | |
// You can copy and paste the contents as the code for a new Lambda function, using the alexa-skill-kit-sdk-factskill template. | |
// This code includes helper functions for compatibility with versions of the SDK prior to 1.0.9, which includes the dialog directives. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* This code has been generated from your interaction model | |
/* eslint-disable func-names */ | |
/* eslint quote-props: ["error", "consistent"]*/ | |
// There are three sections, Text Strings, Skill Code, and Helper Function(s). | |
// You can copy and paste the contents as the code for a new Lambda function, using the alexa-skill-kit-sdk-factskill template. | |
// This code includes helper functions for compatibility with versions of the SDK prior to 1.0.9, which includes the dialog directives. | |
OlderNewer