Skip to content

Instantly share code, notes, and snippets.

# Installs Ubiquiti UniFi Controller on Raspian (Raspberry Pi 2/3)
# adapted from: https://loganmarchione.com/2016/11/ubiquiti-unifi-controller-setup-raspberry-pi-3/
---
- hosts: newpi
become: true
tasks:
- name: Add apt key for unifi repository
apt_key:
@mattkaar
mattkaar / aia-cloudsec-cloudformation.yaml
Last active October 27, 2020 19:01
AIA Cloud Security Lab
---
AWSTemplateFormatVersion: '2010-09-09'
Description: AIA CloudFormation Lab
Parameters:
KeyName:
Description: Name of an existing EC2 KeyPair to enable SSH access to the instance
Type: AWS::EC2::KeyPair::KeyName
ConstraintDescription: must be the name of an existing EC2 KeyPair.
InstanceType:
Description: Type for each EC2 instance
@mattkaar
mattkaar / README.md
Last active July 23, 2017 12:57
Kubernetes vSphere Persistent Storage Example

Keybase proof

I hereby claim:

  • I am mattkaar on github.
  • I am mattkaar (https://keybase.io/mattkaar) on keybase.
  • I have a public key ASDid1vrHoVV84c9rl15tZ1l2wegSwXtJt0J-0rAthnMkgo

To claim this, I am signing this object:

@mattkaar
mattkaar / ansible.cfg
Last active February 10, 2017 18:26
Bro + ELK Stack on OS X
[defaults]
inventory=inventory

Network Setup

create (_132:`Subnet` {`cidr`:"1.0.0.240/30", `name`:"one-alpha"})
create (_133:`Subnet` {`cidr`:"1.0.0.32/29", `name`:"one-branchalpha"})
@mattkaar
mattkaar / network_test_20140803.cypher
Last active August 29, 2015 14:04
Neo4j network test case
begin
create (_0:`Subnet` {`cidr`:"1.0.0.240/30", `name`:"one-alpha"})
create (_1:`Subnet` {`cidr`:"1.0.0.32/29", `name`:"one-branchalpha"})
create (_2:`Subnet` {`cidr`:"1.0.0.40/29", `name`:"one-branchbravo"})
create (_3:`Subnet` {`cidr`:"1.0.0.48/29", `name`:"one-branchcharlie"})
create (_4:`Subnet` {`cidr`:"1.0.0.56/29", `name`:"one-branchdelta"})
create (_5:`Subnet` {`cidr`:"1.0.0.244/30", `name`:"one-bravo"})
create (_6:`Subnet` {`cidr`:"1.0.0.248/30", `name`:"one-charlie"})
create (_7:`Subnet` {`cidr`:"1.0.0.0/27", `name`:"one-core"})
create (_8:`Subnet` {`cidr`:"1.1.1.0/24", `name`:"one-coreservices"})