This file contains hidden or 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
| { | |
| "response": [ | |
| { | |
| "id": "feed_story_card_id/slug", | |
| "style": "normal", | |
| "elements": [ | |
| { | |
| "type": "user_header", | |
| "data": { | |
| "title_text": "Christian Planck", |
This file contains hidden or 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
| { | |
| "kind": "plus#person", | |
| "etag": "\"xw0en60W6-NurXn4VBU-CMjSPEw/fx8n4mo5OyX09hMobGqB2VANcGQ\"", | |
| "emails": [ | |
| { | |
| "value": "[email protected]", | |
| "type": "account" | |
| } | |
| ], | |
| "objectType": "person", |
This file contains hidden or 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
| // | |
| // ViewController.m | |
| // scrollTest | |
| // | |
| // Created by Karlo Kristensen on 08/08/14. | |
| // Copyright (c) 2014 everplaces. All rights reserved. | |
| // | |
| #import "ViewController.h" | |
| #import <Masonry.h> |
This file contains hidden or 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
| // in invite.js module: | |
| exports.inviteUser = function(creatingUser,email,tempPass,response) | |
| { | |
| "use strict"; | |
| if (!tempPass) { | |
| tempPass = genRandomPass(); | |
| } | |
| var user = new Parse.User(); | |
| user.set ("username", email); |
This file contains hidden or 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
| //Override UICollectionViewFlowLayout class | |
| @interface FixedHeaderLayout : UICollectionViewFlowLayout | |
| @end | |
| @implementation FixedHeaderLayout | |
| //Override shouldInvalidateLayoutForBoundsChange to require a layout update when we scroll | |
| - (BOOL) shouldInvalidateLayoutForBoundsChange:(CGRect)newBounds { | |
| return YES; | |
| } |
This file contains hidden or 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
| def get_app_token(): #args in list | |
| args = {'grant_type': 'client_credentials', | |
| 'client_id': EVP_FB_ID, | |
| 'client_secret': EVP_FB_SECRET} | |
| args_encoded = urllib.urlencode(args) | |
| url = "https://graph.facebook.com/oauth/access_token?" | |
| response = requests.post(url=url, data=args_encoded) |