Skip to content

Instantly share code, notes, and snippets.

View flovilmart's full-sized avatar
📈

Florent Vilmart flovilmart

📈
View GitHub Profile
@flovilmart
flovilmart / Procfile
Last active March 12, 2018 20:15
Simple Queue for Parse hosted on Heroku with Kue, Redis
web: node web.js
worker: node worker.js
@flovilmart
flovilmart / async.js
Created June 19, 2014 18:52
parse compatible async module
var self = this;
var async = {};
// global on the server, window in the browser
var root = this,
previous_async = root.async;
async.noConflict = function () {
root.async = previous_async;
return async;

HOW TO USE


var Twitter = require("cloud/Twitter.parse.js");

// a user that has logged in with twitter
var user = Parse.User.current();

// Works with that object if colledted otherwise :)
var authData = {
@flovilmart
flovilmart / ParseFacebook.js
Created February 9, 2014 22:01
Parse / Facebook wrapper
var FacebookAPI = function(app_id, app_secret) {
return {
auth_url : "https://graph.facebook.com/oauth/access_token?"+
"client_id=" + app_id +
"&client_secret=" + app_secret +
"&grant_type=client_credentials",
setAppToken: function(app_token){
this.app_token = app_token;
@flovilmart
flovilmart / README.md
Last active December 28, 2015 03:19
The ultimate TestFlight automated distribution script

How to use?

Setup your variables (User defined build settings)

  • TF_API_TOKEN="YOUR API TOKEN"
  • TF_TEAM_TOKEN="YOUR TEAM TOKEN"
  • TF_DISTRIBUTION_LISTS="Comma separated list for distribution"
  • TF_NOTIFY=True|False -> Notify the distribution list that a new build is available
  • TF_USE_GIT_LOG=0-n -> Will use the last n git logs (pretty) as note for distribution