How to get the xs value from Facebook cookie with Google Chrome:
- Open www.messenger.com
- Open Developer Tools
- Click "Application" tab
- Click, "Cookies" in the left panel
- Click "www.messenger.com"
- Copy the value of "xs"
Word of warning
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") { |
if (splashWords.some(function(v) { return data.text.toLowerCase().indexOf(v) !== -1; })) { | |
numSplashWords += 1; | |
totalNumTweets += 1; | |
publish2(); | |
console.log(data); | |
} |
function processData(data) { | |
if (!data) return; | |
if (splashWords.some(function(v) { return data.text.toLowerCase().indexOf(v) !== -1; })) { | |
numSplashWords +=1; | |
totalNumTweets+=1; | |
publish2(); | |
console.log(data); | |
} | |
bestFans(); |
function getData() { | |
pubnubTweet.history({ | |
channel: channel, | |
count: 75, | |
callback: function(messages) { | |
pubnubTweet.each(messages[0], processData); | |
getStreamData(); | |
}, | |
error: function(error) { | |
console.log(error); |
# bash/zsh completion support for core Git. | |
# | |
# Copyright (C) 2006,2007 Shawn O. Pearce <spearce@spearce.org> | |
# 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) |
{ | |
"actions": [ | |
{ | |
"collect": { | |
"name": "what_twilio_product_are_you", | |
"questions": [ | |
{ | |
"question": "1. What is your favorite color?\n A. red🔴\n B. black🖤\n C. lavender \n D. yellow", | |
"name": "color", | |
"validate": { |