Created
November 25, 2014 11:45
-
-
Save mdobson/116368ed1bb838ab8b0b to your computer and use it in GitHub Desktop.
Created with Gistify
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Gistify = require('./'); | |
var username = process.env.USERNAME; | |
var password = process.env.PASS; | |
Gistify.authenticate(username, password, {}, function(err, token) { | |
}); | |
Gistify.create('Test Gist', true, {'test.js': { 'content': 'console.log("hello");'}}, function(err, created) { | |
console.log(arguments); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment