Hi,
You can use the below scrip to send thank you notes to your friends who wished for your birthday on your Facebook timeline.
Instructions:
#Get the Facebook access token:
Map<Positon, Long> positionProb; | |
List<Position> finalReachableCells; | |
List<Position> visitedCells; | |
/** | |
* Class to represent the positon | |
*/ | |
class Positon { | |
int x; | |
int y; |
Hi,
You can use the below scrip to send thank you notes to your friends who wished for your birthday on your Facebook timeline.
Instructions:
#Get the Facebook access token:
package main | |
import ( | |
"fmt" | |
"sync") | |
func printEvenNumbers(ch chan int){ | |
for i:=2; i<=45; i=i+2 { | |
ch<-i; | |
} |
HTML5 has growing base of ~30 APIs of which below are very important and widely actively within the community. | |
Application cache | |
History API | |
FullScreen API | |
Page visibility API | |
WebRTC | |
Media API | |
Drag and Drop | |
User Interaction |
When we have any asynchronus code that tries to access the object patterns, we run into issues with javascript `this` issue. | |
Ex: | |
var harry = { 'name': 'harry', | |
'greet' : function(){console.log('Hello ' + this.name)}, | |
'print' : function(){ | |
// using setTimeout, it can be any async function | |
setTimeout(this.greet, 1000); // this will fail! | |
} |
/** | |
* This is a script to solve Yahoo bingo problem through | |
* websockets. http://yahoobingo.herokuapp.com/ | |
* | |
* @author harry_sistalam | |
*/ | |
var YAHOO_BINGO_URL = 'ws://yahoobingo.herokuapp.com'; | |
var user_obj = {name : 'harry_sistalam', | |
email : 'sriharsha.sm@gmail.com', |
#!/bin/env node | |
/** | |
* This scripts check of the existence of gender pronouns | |
* and aborts the commit if any of them are found | |
* | |
* Don't consider it as silly, because its really 'NOT!'. | |
* One of the core contributor of libuv had to depart since didn't | |
* accept a PR related to gender pronoun fix, so think | |
* carefully before using gender pronouns |
# these needs to be entered | |
oath_token='' | |
birth_date='' | |
birth_day_messages = ["happy", "b'day","birthday", "bday"] | |
from facepy import GraphAPI |
javascript:(function() { | |
if(!window.your_bookmarklet) { | |
var doc = document, | |
js = doc.createElement('script'); | |
js.type = 'text/javascript'; | |
js.src = 'loader.js'; | |
js.async = true; |
Description | |
This will be a REPL where user can query for twitter content within node REPL. | |
End result will be like this.. | |
node twitter-repl | |
# Will get into REPL |