Skip to content

Instantly share code, notes, and snippets.

View mfurtak's full-sized avatar

Michael Furtak mfurtak

View GitHub Profile
{
"intents": [
{
"intent": "SummaryIntent"
},
{
"intent": "BriefingIntent",
"slots": [
{
"name": "Metric",
package com.mikefurtak.speechlet;
import com.amazon.speech.ui.SsmlOutputSpeech;
import com.amazonaws.util.StringInputStream;
import org.xml.sax.SAXException;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
import java.io.IOException;
String speechMarkup = new SsmlBuilder()
.sentence("Welcome to Fabric!")
.sentence(s -> s.text("To get started, please visit fabric dot").spellOut("IO").text("slash home"))
.sentence("Apps that you mark as favorites will be included in your briefings")
.build();
// speechMarkup gets SSML equivalent to:
//
// <speech>
// <s>Welcome to Fabric!</s>
/**
* Designed for use with two 74HC595N shift registers,
* one AT28C64B EEPROM, and an Arduino Micro.
*
* Based on work by Ben Eater from https://www.youtube.com/watch?v=K88pgWhEb1M
*/
// Arduino pins connected to the shift register pins
#define SHIFT_DATA 2
#define SHIFT_CLK 3
Make the starter the night before by mixing together with your fingers:
1 cup (4 ¼ ounces) King Arthur Unbleached All-Purpose Flour (or ¾ cup all-purpose flour + ¼ cup whole wheat flour)
3/4 cup (6 ounces) room-temperature water
1 pinch yeast
Cover and let sit at room temperature overnight.
If you need to speed this up, let it sit in the oven with the oven light on for about 6 to 7 hours, and it should be ready to use.