Skip to content

Instantly share code, notes, and snippets.

View crlsfilho's full-sized avatar

Carlos Filho crlsfilho

  • @muitomaisdigital
  • Brazil
View GitHub Profile
TRUE = λx. λy. x
FALSE = λx. λy. y
NOT = λb. b FALSE TRUE
AND = λb1. λb2. b1 b2 FALSE
OR = λb1. λb2. b1 TRUE b2
XOR = λb1. λb2. b1 (b2 FALSE TRUE) b2
@bobjflong
bobjflong / index.js
Last active December 19, 2017 18:30
Conversations Tags Demo
var PromiseThrottle = require('promise-throttle');
var wait = require('waitress');
var Intercom = require('intercom-client');
var intercomClient = new Intercom.Client("app id", "api key").usePromises();
var redis = require('redis');
var client = redis.createClient()
var _ = require('underscore');
var fetchConversation = function (id) {
return function () {
// Includes functions for exporting active sheet or all sheets as JSON object (also Python object syntax compatible).
// Tweak the makePrettyJSON_ function to customize what kind of JSON to export.
var FORMAT_ONELINE = 'One-line';
var FORMAT_MULTILINE = 'Multi-line';
var FORMAT_PRETTY = 'Pretty';
var LANGUAGE_JS = 'JavaScript';
var LANGUAGE_PYTHON = 'Python';