Skip to content

Instantly share code, notes, and snippets.

View crlsfilho's full-sized avatar

Carlos Filho crlsfilho

  • @muitomaisdigital
  • Brazil
View GitHub Profile
@crlsfilho
crlsfilho / zendesk-hc-template-and-components-doc.md
Created March 10, 2017 22:57 — forked from erikzrekz/zendesk-hc-template-and-components-doc.md
Zendesk Help Center Template and Components Documenation

The help center has a series of HTML templates with accompanying components. I put this together to brief myself on the available features within a help center. The official documentation can be found here

Table of Contents

  • Header
  • Footer
  • Home
  • Category
  • Section
  • Article
  • Contribution
@crlsfilho
crlsfilho / index.js
Created February 2, 2017 01:13 — forked from bobjflong/index.js
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';