Skip to content

Instantly share code, notes, and snippets.

View brianlucas's full-sized avatar

Brian Lucas brianlucas

  • Optimizely
  • San Francisco, CA
View GitHub Profile
#!/bin/sh
#
# Amazon EC2 user-data file for automatic configuration of IPsec/L2TP VPN
# on a Ubuntu server instance. Tested with 14.04 (Trusty) AND 12.04 (Precise).
#
# DO NOT RUN THIS SCRIPT ON YOUR PC OR MAC! THIS IS MEANT TO BE RUN WHEN
# YOUR AMAZON EC2 INSTANCE STARTS!
#
# Copyright (C) 2014 Lin Song
# Based on the work of Thomas Sarlandie (Copyright 2012)
@brianlucas
brianlucas / l2tpd-ipsec-server.sh
Created July 9, 2014 17:28
L2TPD / IPSEC Amazon EC2 script (place inside user data field)
#!/bin/sh
#
# Amazon EC2 user-data file for automatic configuration of IPsec/L2TP VPN
# on a Ubuntu server instance. Tested with 14.04 (Trusty) AND 12.04 (Precise).
#
# DO NOT RUN THIS SCRIPT ON YOUR PC OR MAC! THIS IS MEANT TO BE RUN WHEN
# YOUR AMAZON EC2 INSTANCE STARTS!
#
# Copyright (C) 2014 Lin Song
# Based on the work of Thomas Sarlandie (Copyright 2012)
@brianlucas
brianlucas / mvn clean install output
Created June 19, 2015 23:49
mvn clean install output
[ec2-user@ip-172-31-30-168 SeleniumGridScaler]$ mvn clean install
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building selenium-grid-scaler 0.9-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ selenium-grid-scaler ---
[INFO] Deleting /home/ec2-user/SeleniumGridScaler/target
[INFO]
;(function(Form) {
var editors = Form.editors;
// we don't want our nested form to have a (nested) <form> tag
// (currently bbf includes form tags: https://github.com/powmedia/backbone-forms/issues/8)
// aside from being strange html to have nested form tags, it causes submission-upon-enter
// Form.setTemplates({
// nestedForm: '<div class="bbf-nested-form">{{fieldsets}}</div>'
// });