Skip to content

Instantly share code, notes, and snippets.

View chrisradek's full-sized avatar

Christopher Radek chrisradek

View GitHub Profile
@chrisradek
chrisradek / lex-stream.js
Last active July 29, 2018 17:27
Streaming Polly Audio into Lex
var path = require('path');
var fs = require('fs');
var AWS = require('aws-sdk');
var polly = new AWS.Polly();
var lexRuntime = new AWS.LexRuntime();
async function run() {
var audioStream = polly.synthesizeSpeech({
@chrisradek
chrisradek / npm-debug.log
Created February 9, 2018 00:35
npm-debug log for failing publish
0 info it worked if it ends with ok
1 verbose cli [ '/Users/radekc/.nvm/versions/node/v8.8.1/bin/node',
1 verbose cli '/Users/radekc/.nvm/versions/node/v8.8.1/bin/npm',
1 verbose cli 'publish' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 4c3ad49e35c2b471
5 verbose publish [ '.' ]
6 info lifecycle [email protected]~prepublish: [email protected]
7 info lifecycle [email protected]~prepare: [email protected]