I hereby claim:
- I am samuelcouch on github.
- I am samuelcouch (https://keybase.io/samuelcouch) on keybase.
- I have a public key ASADeXwY4Ud3xz12_mO4OJV3yNVSMUMcJQ8iaejENMa1CAo
To claim this, I am signing this object:
| from watson_developer_cloud import SpeechToTextV1 as SpeechToText | |
| # Use this method to send the audio to Watson and save the response | |
| def get_and_save_transcript(audio_file, transcript_file): | |
| with open(audio_file, 'rb') as af: | |
| resp = stt.recognize(af, | |
| content_type='audio/wav', | |
| timestamps=True, | |
| continuous=True, | |
| word_confidence=True, |
| const Twit = require('twit') | |
| exports.main = (args) => { | |
| let twitter_consumer_key = args.twitter_consumer_key | |
| let twitter_consumer_secret = args.twitter_consumer_secret | |
| let twitter_access_token = args.twitter_access_token | |
| let twitter_access_token_secret = args.twitter_access_token_secret | |
| // If the required tokens aren't received end all operations | |
| if (!twitter_consumer_key || !twitter_consumer_secret || |
I hereby claim:
To claim this, I am signing this object:
| # Framer Git Ignore | |
| # General OSX | |
| .DS_Store | |
| .AppleDouble | |
| .LSOverride | |
| # Icon must end with two \r | |
| Icon |
| curl -H "Authorization: Bearer <token>" --data-urlencode "url=http://www.clarifai.com/img/metro-north.jpg" --data-urlencode "url=http://www.clarifai.com/img/metro-north.jpg" https://api.clarifai.com/v1/tag/ |
| package edu.temple.couchlab2; | |
| import android.app.Activity; | |
| import android.content.Intent; | |
| import android.os.Bundle; | |
| import android.view.Menu; | |
| import android.view.MenuItem; | |
| import android.view.View; | |
| import android.widget.AdapterView; | |
| import android.widget.ArrayAdapter; |
| var async = require('async'), | |
| mongoose = require('mongoose'), | |
| Review = require('../models/review'), | |
| config = require('../tools/config'); | |
| async.series([ | |
| function(callback){ | |
| mongoose.connect(config.DB_URL, callback) | |
| }, | |
| function(callback){ |
| import java.util.Scanner; | |
| class Animal{ | |
| String Question; | |
| Animal Left; | |
| Animal Right; | |
| Animal (String Question, Animal Left, Animal Right){ | |
| this.Question = Question; |
| var request = require('request'); | |
| var TOKEN = '<<TOKEN>>'; | |
| request.post('https://slack.com/api/chat.postMessage', { | |
| form:{ | |
| token: TOKEN, | |
| channel: '#bot', | |
| text: ' ', | |
| attachments: [{ |