This file contains hidden or 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
from ask_sdk_core.skill_builder import CustomSkillBuilder | |
from ask_sdk_core.api_client import DefaultApiClient | |
from ask_sdk_core.dispatch_components import AbstractRequestHandler | |
from ask_sdk_core.dispatch_components import AbstractExceptionHandler | |
from ask_sdk_core.utils import is_request_type, is_intent_name | |
from ask_sdk_model.ui import SimpleCard | |
from ask_sdk_model.services.directive import ( | |
SendDirectiveRequest, Header, SpeakDirective) | |
from ask_sdk_core.handler_input import HandlerInput | |
from ask_sdk_model.response import Response |
This file contains hidden or 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 sample demonstrates a simple skill built with the Amazon Alexa Skills Kit. | |
The Intent Schema, Custom Slots, and Sample Utterances for this skill, as well | |
as testing instructions are located at http://amzn.to/1LzFrj6 | |
For additional samples, visit the Alexa Skills Kit Getting Started guide at | |
http://amzn.to/1LGWsLG | |
""" | |
from __future__ import print_function |
On mac:
- Download the latest release.
- Extract the binary and place it in
/usr/local/bin
.
This script, originally created on April 29, 2015, addressed a different behavior of LibreOffice
installation on macOS at that time. However, it is now outdated and no longer relevant. Please refer to the latest comments for updated information, as much has changed over the past 8–9 years.
sudo curl https://gist.githubusercontent.com/pankaj28843/3ad78df6290b5ba931c1/raw/soffice.sh > /usr/local/bin/soffice && sudo chmod +x /usr/local/bin/soffice
This file contains hidden or 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
Exercise: Nutrition Facts | |
Create an empty webpage. | |
Download nutrition.xml from https://gist.github.com/3000322 and place in your project folder. | |
Use AJAX via jQuery or JS API to fetch the file into the page. | |
Create a table. For each <food> in the XML file, create a row in the table with the food name and nutritional facts - serving size, calories, carbs. | |
Bonus: Use the tablesorter jQuery plugin to make the table sortable by the nutritional facts. | |
Exercise: Lady Gaga News |