Skip to content

Instantly share code, notes, and snippets.

Avatar

VoiceTechGuy goldzulu

View GitHub Profile
@goldzulu
goldzulu / quickfight_apl.json
Created Oct 10, 2020
Quick Fight Char APL Selection
View quickfight_apl.json
{
"type": "APL",
"version": "1.3",
"settings": {},
"theme": "dark",
"import": [],
"resources": [],
"styles": {},
"onMount": [],
"graphics": {},
View gist:4c08539a302123e92aba06e838f21369
{
"document": {
"type": "APL",
"version": "1.4",
"settings": {},
"theme": "dark",
"import": [],
"resources": [],
"styles": {},
"onMount": [],
@goldzulu
goldzulu / ask-states.json
Created Sep 17, 2020
To reset the skill place ask-states.json in the .ask folder and skill.json to the skill-package folder. Running ask deploy after will recreate all the infrastructure again
View ask-states.json
{
"askcliStatesVersion": "2020-03-31",
"profiles": {
"ddm": {
"skillId": "",
"skillInfrastructure": {
"@ask-cli/lambda-deployer": {
"deployState": {}
}
}
View tinderWannaBe.json
{
"type": "APL",
"version": "1.4",
"settings": {},
"theme": "dark",
"import": [],
"resources": [],
"styles": {},
"onMount": [],
"graphics": {},
@goldzulu
goldzulu / Alexa-Grid-List.json
Created Jul 30, 2020
Alexa Grid List Sequence
View Alexa-Grid-List.json
{
"document": {
"type": "APL",
"version": "1.4",
"theme": "dark",
"import": [
{
"name": "alexa-layouts",
"version": "1.2.0"
}
@goldzulu
goldzulu / grid sequence.json
Created Jul 30, 2020
Sample APL 1.4 GridSequence With Embedded Video
View grid sequence.json
{
"type": "APL",
"version": "1.4",
"settings": {},
"theme": "dark",
"import": [],
"resources": [],
"styles": {},
"onMount": [],
"graphics": {},
@goldzulu
goldzulu / GoldzuluTextAPL.json
Created Jul 27, 2020
An APL 1.4 example on how to use fonts and text (AVG) VectorGraphics Component in Alexa Skill
View GoldzuluTextAPL.json
{
"type": "APL",
"version": "1.4",
"settings": {},
"theme": "dark",
"import": [],
"resources": [],
"styles": {},
"onMount": [],
"graphics": {
@goldzulu
goldzulu / updateSkillEndpoint.js
Last active Jun 23, 2020
node js executable script to change the lambda endpoints from command line E.g. Usage: node ./updateSkillEndpoint.js --url https://letmypeoplesleep.com ... or if you have ngrok running, can use node ./updateSkillEndpoint.js --ngrok ... you can optionally attached tunnelName to the --ngrok param if you have multiple tunnels.
View updateSkillEndpoint.js
#! /usr/bin/env node
// node.js script to update the endpoint at the ADC to a local endpoint
// Originally written by @Voicetechguy1 twitch.tv/goldzulu
// This file is to be placed at the root of the Alexa Skill Project
// currently works only for ASK2 CLI
// Get the arguments from the command line and use the default below if none is given
// e.g. node ./updateSkillEndpoint.js --url https://letmypeoplesleep.com
// if you are using ngrok and ngrok is running before running this script
@goldzulu
goldzulu / m.sh
Created Jun 11, 2020
A utility shell script to deploy only the Interaction Model skill package to the Alexa Developer Console.
View m.sh
#/bin/bash
# Written Originally by @VoiceTechGuy1 - GOLDZULU 2020-06-11
# Update the remote ADC Interaction Model with the locale ones
# Need to be located at the root of the alexa skill sdk project
# Please modify as needed to customize for your own needs
# Do not use it as is!
# use the get-skill-id.js file to get the skill id for the current alexa skill project
# check the blog at https://dzone.com/articles/syncing-local-alexa-skills-json-files-with-alexa-d
@goldzulu
goldzulu / changeAskToAskX.js
Last active May 21, 2020
Scripts to help update the latest ask-cli, change it to be called askx and then install the package (locally) for those of you using method 2 https://gist.github.com/germanviscuso/48f5c68f876b31b51ba59f91b49a253f
View changeAskToAskX.js
const fs = require('fs');
const fileName = './package.json';
let file = require(fileName);
console.log(file.name);
if (file.name == "ask-cli") {
file.name="ask-cli-x";
console.log("Changed name ask-cli to name ask-cli-x");
}
You can’t perform that action at this time.