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
#! /usr/bin/env bash | |
echo "Sierra Softworks Certificate Request Script" | |
echo "v1.0.0-beta" | |
KEY_NAME=$1 | |
EDITOR=$2 | |
################################################# | |
################### IMPORTANT! ################## | |
################################################# | |
# These defaults are the StartSSL CA certificates |
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 request = require('superagent'), | |
fs = require('fs'), | |
_ = require('lodash'); | |
var config = require('./config.json'); | |
var status = require('./status.json'); | |
_.each(config.areas, function(area) { | |
request.get('/api/' + area.code + '/' + var2).end(function(err, data) { | |
if(err) throw err; |
NewerOlder