Skip to content

Instantly share code, notes, and snippets.

View vidanov's full-sized avatar

Alexey Vidanov vidanov

View GitHub Profile
/* make button smaller */
.ot-floating-button__front svg {transform:scale(0.6); -webkit-transform:scale(0.6); -moz-transform:scale(0.6); -ms-transform:scale(0.6); -o-transform:scale(0.6); margin-left:3px !important;}
.ot-floating-button__back svg {transform:scale(0.7); -webkit-transform:scale(0.7); -moz-transform:scale(0.7); -ms-transform:scale(0.7); -o-transform:scale(0.7); margin-left:3px !important;}
#ot-sdk-btn-floating.ot-floating-button {width: 35px !important; height: 35px !important; margin-left:3px !important; margin-bottom: 35px !important;}
.ot-floating-button__close,
.ot-floating-button__open {padding: 0 !important; line-height:0 !important;}
#ot-sdk-btn-floating .ot-floating-button__front, #ot-sdk-btn-floating .ot-floating-button__back {border-radius:2px !important;}
/* make button smaller */
.ot-floating-button__front svg {transform:scale(0.6); -webkit-transform:scale(0.6); -moz-transform:scale(0.6); -ms-transform:scale(0.6); -o-transform:scale(0.6); margin-left:3px !important;}
.ot-floating-button__back svg {transform:scale(0.7); -webkit-transform:scale(0.7); -moz-transform:scale(0.7); -ms-transform:scale(0.7); -o-transform:scale(0.7); margin-left:3px !important;}
#ot-sdk-btn-floating.ot-floating-button {width: 35px !important; height: 35px !important; margin-left:3px !important; margin-bottom: 35px !important;}
.ot-floating-button__close,
.ot-floating-button__open {padding: 0 !important; line-height:0 !important;}
#ot-sdk-btn-floating .ot-floating-button__front, #ot-sdk-btn-floating .ot-floating-button__back {border-radius:2px !important;}
/* eslint-disable func-names */
/* eslint-disable no-console */
const Alexa = require('ask-sdk-core');
const GetNewFactHandler = {
canHandle(handlerInput) {
const request = handlerInput.requestEnvelope.request;
return request.type === 'LaunchRequest'
|| (request.type === 'IntentRequest');
'use strict';
const Alexa = require('ask-sdk');
const AWS = require('aws-sdk');
const s3SigV4Client = new AWS.S3({
signatureVersion: 'v4'
});
{
"interactionModel": {
"languageModel": {
"invocationName": "personality quiz",
"intents": [
{
"name": "AMAZON.CancelIntent",
"samples": []
},
{
'use strict';
const Alexa = require('ask-sdk');
const Util = require('util.js');
/***********
Data: Customize the data below as you please.
***********/
const SKILL_NAME = "Personality Quiz";
This file has been truncated, but you can view the full file.
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BUILT_IN_INTENT_UTTERANCES = {
"en": {
"AMAZON.CancelIntent": [
"cancel",
"cancel alexa",
"cancel cancel cancel",
"cancel no",
const {App} = require('@slack/bolt');
const dotenv = require('dotenv').config();
// START APP
const app = new App({
token: process.env.TOKEN,
signingSecret: process.env.SIGNING_SECRET
});
app.use(pre); // PRE HOOKS FOR EVERY REQUEST
'use strict';
const Alexa = require('ask-sdk');
const Util = require('util.js');
/***********
Data: Customize the data below as you please.
***********/
const SKILL_NAME = "Am I A Toaster";