Skip to content

Instantly share code, notes, and snippets.

View electricshaman's full-sized avatar

Jeff Smith electricshaman

View GitHub Profile
from flask import Flask, request, jsonify, current_app
from math import *
from numpy import *
from datetime import datetime
import string
import collections
SB_CONSTANT = 4.903*1e-09
SOLAR_CONSTANT = 0.0820 # MJ m^2/min
ALBEDO = 0.23
@electricshaman
electricshaman / meraki_strongswan_notes.md
Created September 14, 2017 08:01 — forked from psanford/meraki_strongswan_notes.md
connect to meraki client vpn from strongswan (ubuntu 16.04 edition)

These are my notes for connecting to a meraki client vpn from ubuntu 16.04. This configuration assumes you are using a psk for the ipsec auth.

Install the following packages:

apt-get install -y strongswan xl2tpd

Configure strong swan