Skip to content

Instantly share code, notes, and snippets.

View corydolphin's full-sized avatar

Cory Dolphin corydolphin

View GitHub Profile
@corydolphin
corydolphin / digits_login_button.coffee
Created February 27, 2015 04:03
A simple React component for Digits Login
React = require 'react'
Request = require 'superagent'
Digits = require 'sdk'
Digits.init(consumerKey:"3evG1ZwmgzY2FiJ1NihrbfqSt")
DigitsLoginButton = React.createClass
propTypes:
userUpdated: React.PropTypes.func.isRequired
componentDidMount: ()->
[FBSDKAppEvents logEvent:FBSDKAppEventNameAddedToCart
valueToSum:54.23
parameters:@{ FBSDKAppEventParameterNameCurrency : @"USD",
FBSDKAppEventParameterNameContentType : @"shoes",
FBSDKAppEventParameterNameContentID : @"HDFU-8452" } ];
My parents impressed on me the value of that you work hard for what you want in life. That your word is your bond and you do what you say and keep your promise. That you treat people with respect. Show the values and morals in in the daily life. That is the lesson that we continue to pass on to our son.
We need to pass those lessons on to the many generations to follow. [Cheering] Because we want our children in these nations to know that the only limit to your achievement is the strength of your dreams and your willingness to work for them.
My parents impressed on me the value of that you work hard for what you want in life. That your word is your bond and you do what you say and keep your promise. That you treat people with respect. Show the values and morals in in the daily life. That is the lesson that we continue to pass on to our son.
We need to pass those lessons on to the many generations to follow. [Cheering] Because we want our children in these nations to know that the only limit to your achievement is the strength of your dreams and your willingness to work for them.
# Libraries Included:
# Numpy, Scipy, Scikit, Pandas
import re
from itertools import chain
from sets import Set
from itertools import islice
def chunk(it, size):
it = iter(it)
return iter(lambda: tuple(islice(it, size)), ())
inputs = '''