This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 = ''' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[FBSDKAppEvents logEvent:FBSDKAppEventNameAddedToCart | |
valueToSum:54.23 | |
parameters:@{ FBSDKAppEventParameterNameCurrency : @"USD", | |
FBSDKAppEventParameterNameContentType : @"shoes", | |
FBSDKAppEventParameterNameContentID : @"HDFU-8452" } ]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from flask import Flask | |
from flask.json import JSONEncoder | |
from bson import json_util | |
from mongoengine.base import BaseDocument | |
from mongoengine.queryset.base import BaseQuerySet | |
class MongoEngineJSONEncoder(JSONEncoder): | |
def default(self,obj): | |
if isinstance(obj,BaseDocument): | |
return json_util._json_convert(obj.to_mongo()) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Example code for Software Systems at Olin College. | |
Copyright 2014 Allen Downey | |
License: Creative Commons Attribution-ShareAlike 3.0 | |
*/ | |
#include "stdio.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Exam 2 | |
Cory dolphin | |
*/ | |
#include "stdio.h" | |
#include "stdlib.h" // we need malloc! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Exam 2 | |
Cory dolphin | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <assert.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
< /* | |
< Exam 2 | |
< Cory dolphin | |
--- | |
> /* Example code for Software Systems at Olin College. | |
> | |
> Copyright 2014 Allen Downey | |
> License: Creative Commons Attribution-ShareAlike 3.0 | |
9d9 | |
< #include "stdlib.h" // we need malloc! |
NewerOlder