Skip to content

Instantly share code, notes, and snippets.

View notheotherben's full-sized avatar

Benjamin Pannell notheotherben

View GitHub Profile
@notheotherben
notheotherben / certreq
Last active August 29, 2015 14:16
Sierra Softworks Guided Certificate Request Script
#! /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
@notheotherben
notheotherben / index.js
Created January 30, 2015 08:41
Eskom Load Shedding Cron Job for Kong
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;