Skip to content

Instantly share code, notes, and snippets.

@Jaykah
Jaykah / speech.js
Last active Aug 26, 2015 — forked from lukehoban/speech.js
Project Oxford Speech APIs Node.js Sample
View speech.js
var fs = require('fs');
var util = require('util');
var request = require('request');
var clientId = 'test-app'; // Can be anything
var clientSecret = 'f6f0bfec08274b8790520a9079b808af'; // API key from Azure marketplace
var str = 'This is a cool demo to call Microsoft text to speach service in Node.js.';
console.log('Converting from text -> speech -> text.');
@Jaykah
Jaykah / gist:c2ea2bdad4f282c2e5ee
Last active Aug 29, 2015
Docker 1.7 Dynamic Dockerfile
View gist:c2ea2bdad4f282c2e5ee
FROM ubuntu:latest
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -qy wget git apt-transport-https pkg-config autoconf automake build-essential libdevmapper-dev golang-gosqlite-dev uuid-dev libattr1-dev zlib1g-dev libacl1-dev e2fslibs-dev libblkid-dev liblzo2-dev asciidoc xmlto --no-install-recommends
WORKDIR /opt
RUN git clone https://kernel.googlesource.com/pub/scm/linux/kernel/git/mason/btrfs-progs
WORKDIR /opt/btrfs-progs/
@Jaykah
Jaykah / docker1-7dyn.sh
Last active Aug 29, 2015
Docker 1.7 Dynamic
View docker1-7dyn.sh
apt-get install -qy apt-transport-https pkg-config autoconf automake build-essential libdevmapper-dev golang-gosqlite-dev uuid-dev libattr1-dev zlib1g-dev libacl1-dev e2fslibs-dev libblkid-dev liblzo2-dev asciidoc xmlto --no-install-recommends
cd /opt
git clone https://kernel.googlesource.com/pub/scm/linux/kernel/git/mason/btrfs-progs
cd btrfs-progs/
./autogen.sh
./configure
make
make install
You can’t perform that action at this time.