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:
# these needs to be entered | |
oath_token='' | |
birth_date='' | |
birth_day_messages = ["happy", "b'day","birthday", "bday"] | |
from facepy import GraphAPI | |
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:
/** | |
* 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 : '[email protected]', |
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! | |
} |
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 |
Agenda for the ngHyderabad meetup on 20140308 | |
================================================ | |
1. Introduction to modern web applications | |
* Current web stacks (ASP/JSP/Servlet) | |
* Bottleneck and scaling concerns with the existing stack | |
2. Overview of components of MEAN stack | |
* Explanation of each component of MEAN | |
* Advantages of having a single language stack | |
* Need for the API only servers |
http://yearofmoo.com | |
http://thinkster.io | |
http://egghead.io | |
http://scotch.io/tag/angular-js | |
https://github.com/jmcunningham/AngularJS-Learning |
<span class="custom-select"> | |
<span class="header">Recipient:</span> | |
<span class="option" data-option="normal">Normal</span> | |
<ul class="dropdown"> | |
<li data-option="all">All: Email everyone</li> | |
<li data-option="normal">Normal: Everyone except pre-existing low traffic subscribers</li> | |
<li data-option="none">None: Do not email anyone</li> |
function getInstrumentedFn(fn){ | |
return new Proxy(fn, { | |
apply: function(target, that, args){ | |
//get the function name | |
var fName = fn.name || ('random function_' + parseInt(Math.random() * 1000)); | |
//mark the starting of function. | |
performance.mark(fName + '_start'); | |
var returnValue = fn.apply(that, args); |
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 |