This file contains 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
//reverse a string | |
var x = "name"; | |
var q = []; | |
function reverse (x) { | |
let string = x.split(""); | |
//console.log(string); | |
for(let i = 0; i < string.length; i++){ | |
q.unshift(string[i]); | |
} |
This file contains 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 http = require('http'); | |
var hellosign = require('hellosign-sdk')({key : 'YOURAPIKEYHERE'}); // your HelloSign API Key here | |
var port = (process.env.PORT || process.env.VCAP_APP_PORT || 6500); | |
// follow the Embedded Signing Walkthrough to tell us why this isn't working | |
// go ahead and fix the issue(s) | |
// then print out the sign_url once you get it working | |
http | |
.createServer( |
This file contains 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
const hellosign = require('hellosign-sdk')({ key: 'Joe_API_KEY' }); | |
const opts = { | |
test_mode: 1, | |
title: 'NDA with Acme Co.', | |
subject: 'The NDA we talked about', | |
message: 'Please sign this NDA and then we can discuss more.', | |
signers: [ | |
{ | |
email_address: 'exxxxxx@dropbox.com', |