Skip to content

Instantly share code, notes, and snippets.

View heitortsergent's full-sized avatar

Heitor Tashiro Sergent heitortsergent

View GitHub Profile
@heitortsergent
heitortsergent / Azkfile.js
Created March 18, 2015 02:09
Azkfile.js for Feedbin + Refresher
/**
* Documentation: http://docs.azk.io/Azkfile.js
*/
// Adds the systems that shape your system
systems({
feedbin: {
// Dependent systems
depends: ["clock", "worker-slow", "worker", "redis", "postgres", "elasticsearch", "memcached"],
// More images: http://images.azk.io
@heitortsergent
heitortsergent / Azkfile.js
Last active August 29, 2015 14:16
Feedbin Config
/**
* Documentation: http://docs.azk.io/Azkfile.js
*/
// Adds the systems that shape your system
systems({
feedbin: {
// Dependent systems
depends: ["clock", "worker-slow", "worker", "redis", "postgres", "elasticsearch", "memcached"],
// More images: http://images.azk.io
@heitortsergent
heitortsergent / Azkfile.js
Last active August 29, 2015 14:16
Azkfile.js Example
// Adds the systems that shape your system
systems({
'node-example': {
// Dependent systems
depends: ["db"],
// More images: http://registry.hub.docker.com
image: { docker: "azukiapp/nodejs:0.12" },
// Steps to execute before running instances
provision: [
"npm install",
@heitortsergent
heitortsergent / webhook_demo.sh
Created February 26, 2015 22:04
Steps to run webhook demo
# 1. git clone the repository
$ git clone https://github.com/heitortsergent/gimmegif.git
# 2. grab your SendGrid credentials (or create an account first and grab them)
# 3. grab any other service credentials (Giphy's API key for example)
# 4. set up your environment variables (using something like dotenv)
@heitortsergent
heitortsergent / webhook_azk.sh
Last active August 29, 2015 14:16
Steps to test webhook with azk
# 1. git clone the repository
$ git clone http://github.com/username/yourawesomerepo.git
# 2. add your SendGrid/Twilio/Twitter/Giphy credentials
# 3. run azk start
$ azk start
@heitortsergent
heitortsergent / Azkfile.js
Created February 25, 2015 05:27
Azkfile.js for sendgrid-parse-ngrok demo
/**
* Documentation: http://docs.azk.io/Azkfile.js
*/
// Adds the systems that shape your system
systems({
'sendgrid-parse-api-example': {
// Dependent systems
depends: [],
// More images: http://images.azk.io
@heitortsergent
heitortsergent / Import
Created July 31, 2014 00:35
SendGrid Objective-C Library Import
#import <SendGrid/SendGrid.h>
#import <SendGrid/SendGridEmail.h>