Skip to content

Instantly share code, notes, and snippets.

David Cortés davebcn87

View GitHub Profile
davebcn87 / gist:82142ba5903e95f86d90
Created Jan 7, 2015
RSS-Driven Push notifications with Parse
View gist:82142ba5903e95f86d90
var xmlreader = require('cloud/xmlreader.js');
var url = "";
function SavePost(title, link){
var PostClass = Parse.Object.extend("Post");
var post = new PostClass();
post.set("title", title);
post.set("link", link);;
davebcn87 /
Last active Dec 17, 2015
Mocks explanation
id mailManagerMock = [MailManager mock];
[mailManagerMock stub:@selector(sendEmail) andReturn:theValue(YES)];
davebcn87 / gist:4547426
Created Jan 16, 2013
Alias podmerge: Add a post-merge hook to execute 'pod install' every time you do a git merge (git pull)hook
View gist:4547426
alias podmerge="[ -d .git/hooks ] && curl --silent > .git/hooks/post-merge"
You can’t perform that action at this time.