Skip to content

Instantly share code, notes, and snippets.

View mattneel's full-sized avatar

Matthew Neel mattneel

View GitHub Profile
@mattneel
mattneel / config.exs
Created July 11, 2018 16:27
eradius server
config :eradius,
# defines radius callback, which should be called
radius_callback: Extent.Server,
session_nodes: [node()],
root: [
{ {'root', []}, [{'0.0.0.0', "testing123"}] }
],
servers: [
root: {'0.0.0.0', [1812, 1813, 3799]}
]
@mattneel
mattneel / aio.yaml
Created August 6, 2017 01:35
K8S AIO YAML
apiVersion: v1
kind: Service
metadata:
name: frontend
labels:
app: hello
tier: frontend
spec:
type: LoadBalancer
ports:
@mattneel
mattneel / bootstrap.386.html
Created April 7, 2017 15:34
Bootstrap 386
<!-- Stylesheets -->
<link href="https://kristopolous.github.io/BOOTSTRA.386/assets/css/bootstrap.css" rel="stylesheet">
<link href="https://kristopolous.github.io/BOOTSTRA.386/assets/css/bootstrap-responsive.css" rel="stylesheet">
<link href="https://kristopolous.github.io/BOOTSTRA.386/assets/css/docs.css" rel="stylesheet">
<link href="https://kristopolous.github.io/BOOTSTRA.386/assets/js/google-code-prettify/prettify.css" rel="stylesheet">
<!-- Javascript, put just before /body tag -->
<script type="text/javascript" src="//platform.twitter.com/widgets.js"></script>
<script src="https://kristopolous.github.io/BOOTSTRA.386/assets/js/jquery.js"></script>
<script src="https://kristopolous.github.io/BOOTSTRA.386/assets/js/bootstrap-386.js"></script>
@mattneel
mattneel / Kickstart.tmpl
Created October 18, 2015 20:39
Pixie CentOS 6.7 Kickstart Template
# Kickstart file automatically generated by Pixie.
install
url --url {{{url}}}
lang en_US.UTF-8
keyboard us
zerombr yes
reboot
network --onboot yes --device eth0 --bootproto static --ip {{{ipaddr}}} --netmask {{{netmask}}} --gateway {{{gateway}}} --nameserver {{{nameserver}}} --hostname {{{hostname}}}
rootpw --iscrypted {{{password}}}
@mattneel
mattneel / CentOSIPs.txt
Created October 14, 2015 23:11
Basic IP configuration for CentOS 6.7+
## Configure eth0/em1/em2
#
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE="eth0"
NM_CONTROLLED="yes"
ONBOOT=yes
HWADDR=A4:BA:DB:37:F1:04
TYPE=Ethernet
BOOTPROTO=static