Skip to content

Instantly share code, notes, and snippets.

View mattyjones's full-sized avatar

Matt Jones mattyjones

  • Northeast-US
View GitHub Profile
@mattyjones
mattyjones / key.pub
Created January 16, 2017 02:17
Public Key
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: Keybase OpenPGP v2.0.58
Comment: https://keybase.io/mattyjones
xsFNBFgOrJcBEADakmC6GH6I97BLINIV7zHjp9pNj8KDVXVua1bIeA/JCBeWizTG
JhYDtF6z2j1IrEsn5FlYA5rf66HLX+xg1z/PkCg9fp2VIaoHddgaGbZtLCJWsCCh
2KEhcPcqGMqmyV86seeFvpOe9/I61M5bQ2Q0Jcm46J4CZseI5r+VECzlUKS6ECwn
A+yKMfNKnQaQsnoVuacO51FYxChMLSuKE0ExnhnObMBgc9OT6vGegEH1caBCATWp
jw23w90mjOiUht2XI2WODPiJ3+erNb/wBDbrzWOIMV39EapyeQZ5bGlioTFcL5W0
L2LDtGgzg40VMmDx4kajJBmfbMQ4t/ji/XBdINY0zSQHRwmiRHV6nLS65OrKiLgt

Open Source Software Development

Overview

This will be a progressive 6 week program to learn about basic open source software development tools and methodologies. We will explore common tools used in open source software development as well as concepts surrounding the open source community.

The core concept will be learning to program using the Python language. Ancillary concepts that will be explored include:

  • problem solving
  • how to ask the right questions and find the answers using common online sites

Defining A Telegraf Plugin In Elzar

This serves as a style and example guide for configuring chef attriutes to install and manage telegraf plugins.

Setting the attribute name

Set the top level attribute naming scheme, this is used for plugins going out to the entire cookbook and will be the most commmon example.

default['devops_artifactory']['telegraf']['inputs'] = {}
@mattyjones
mattyjones / linux_vpn.sh
Created October 30, 2016 21:28
Start and stop strongswan vpn's in linux in a sane manner
#! /bin/bash
# Manage our vpn connections from the commandline in an IAC way. This script
# should just be alias'd in your shell rc file for ease of use.
# TODO:
#
# validate consul datacenters
# ensure only one vpn connection is up
# provide vpn details if requested

Keybase proof

I hereby claim:

  • I am mattyjones on github.
  • I am mattyjones (https://keybase.io/mattyjones) on keybase.
  • I have a public key whose fingerprint is F494 E301 1F64 0BA5 664B BA9A 079C 9247 5474 C24B

To claim this, I am signing this object:

Ingredients

  • 2lb turkey burger
  • 5 Green Peppers cleaned
  • 1 Sweet Onion diced
  • 1/2c BBQ sauce
  • 2c cooked brown rice

Prep

#!/bin/bash +e
#
# DevOps - Auto-generated by Chef for XXX
#
# /etc/init.d/sensu-graceful-shutdown
# Subsystem for notifying the sensu server that a graceful shutdown has been initiated
#
# chkconfig: 12345 05 05
# description: Notify the sensu server that a graceful shutdown has been initiated
#

Sensu-Plugins Development Environment

Components

  • Chef
  • Vagrant
  • GIR

Chef