You can make your own HD animated GIF generator.
Follow along with these commands to get started.
git clone git://source.ffmpeg.org/ffmpeg.git
cd ffmpeg
var pubnubEon = PUBNUB.init({ | |
subscribe_key: 'your-sub-key', | |
publish_key: 'your-pub-key' | |
}); |
var nbaChannel = 'NBAChannel'; | |
function publish2() { | |
pubnubEon.publish({ | |
channel: nbaChannel, | |
message: { | |
eon: { | |
"Splash Bros" : numSplashWords/totalNumTweets, | |
"Curry" : numCurryWords/totalNumTweets, | |
"Green" : numDraymondWords/totalNumTweets, |
eon.chart({ | |
channel: nbaChannel, | |
pubnub: pubnubEon, | |
debug: true, | |
generate: { | |
bindto: '#chart', | |
data: { | |
labels: true, | |
type: 'donut', | |
colors: { |
legend: { | |
show: true, | |
item: { | |
onmouseover: function(id) { | |
if(id== "Curry") { | |
document.getElementById('hoverImg').innerHTML = "<img src='img/curry.png' border=0/></a>"; | |
document.getElementById("hoverImg").style.transitionDuration = "10s"; | |
} | |
onmouseout: function(id) { | |
if(id== "Curry") { |
# bash/zsh completion support for core Git. | |
# | |
# Copyright (C) 2006,2007 Shawn O. Pearce <[email protected]> | |
# Conceptually based on gitcompletion (http://gitweb.hawaga.org.uk/). | |
# Distributed under the GNU General Public License, version 2.0. | |
# | |
# The contained completion routines provide support for completing: | |
# | |
# *) local and remote branch names | |
# *) local and remote tag names |
This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.
###Array ####Definition:
I hereby claim:
To claim this, I am signing this object:
func startRecording() { | |
if recognitionTask != nil { //created when request kicked off by the recognizer. used to track progress of a transcription or cancel it | |
recognitionTask?.cancel() | |
recognitionTask = nil | |
} | |
let audioSession = AVAudioSession.sharedInstance() | |
do { | |
try audioSession.setCategory(AVAudioSession.Category(rawValue: convertFromAVAudioSessionCategory(AVAudioSession.Category.record)), mode: .default) | |
try audioSession.setMode(AVAudioSession.Mode.measurement) | |
try audioSession.setActive(true, options: .notifyOthersOnDeactivation) |