Skip to content

Instantly share code, notes, and snippets.

View SinSolis's full-sized avatar
🎯
Focusing

SinSolis

🎯
Focusing
View GitHub Profile
@sduff
sduff / splunk_search.py
Created September 5, 2017 06:04
Splunk search via Python, using Requests
import time # need for sleep
from xml.dom import minidom
import json, pprint
import requests
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
@anthonyclarka2
anthonyclarka2 / Vagrantfile
Created August 28, 2017 16:13
Vagrantfile that sets up multiple CentOS 7 VMs and connects them all to a single host-only network
# -*- mode: ruby -*-
# vi: set ft=ruby :
#
# Vagrantfile to create a CentOS 7 master and 3 nodes
#
# These VMs can be useful for prototyping new systems such
# as monitoring, mail, configuration management, load balancing
# etc etc.
#
# You will need a Puppet directory structure inside the