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
library(shiny) | |
library(shinyjs) | |
if (!dir.exists('www/')) { | |
dir.create('www') | |
} | |
download.file( | |
url = 'https://raw.githubusercontent.com/js-cookie/js-cookie/master/src/js.cookie.js', | |
destfile = 'www/js.cookie.js' |
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 _ = require('underscore'); | |
var http = require('http'); | |
var httpProxy = require('http-proxy'); | |
var https = require('https'); | |
var fs = require('fs'); | |
var opts = require('optimist') | |
.usage('Test auth proxy.\nUsage: $0 [extPort] [destPort] [destHostName] --ssl') | |
.describe('ssl', 'Enable SSL on both the client and expect it on the target.') | |
.demand(0); |