Skip to content

Instantly share code, notes, and snippets.

View dhollinger's full-sized avatar

David Hollinger III dhollinger

View GitHub Profile
@dhollinger
dhollinger / puppet-firewall-docker.pp
Created August 18, 2017 19:29 — forked from pmoranga/puppet-firewall-docker.pp
Make puppetlabs-firewall works with docker smoothly
class my_fw::pre {
# Disable due to selective purges of firewallchain
# resources { "firewall":
# purge => true
# }
# Avoid removing Docker rules:
firewallchain { 'FORWARD:filter:IPv4':
purge => true,
@dhollinger
dhollinger / puppet-firewall-docker.pp
Created August 18, 2017 19:29 — forked from pmoranga/puppet-firewall-docker.pp
Make puppetlabs-firewall works with docker smoothly
class my_fw::pre {
# Disable due to selective purges of firewallchain
# resources { "firewall":
# purge => true
# }
# Avoid removing Docker rules:
firewallchain { 'FORWARD:filter:IPv4':
purge => true,
@dhollinger
dhollinger / bulk_request_body.txt
Created June 22, 2016 20:07 — forked from ycombinator/bulk_request_body.txt
Hands-on Elasticsearch Workshop for php[tek] - bulk API request body
{"index": {"_id": "7192265"}}
{"sku": "7192265", "name": "Skullcandy - Hesh 2 Wireless Over-the-Ear Headphones - Blue/Black", "description": "Wirelessly enjoy rich, powerful audio with these Skullcandy Hesh 2 S6HBHW-515 over-the-ear headphones, which easily pair with most Bluetooth-enabled devices. A detachable 4' cable lets you enjoy your music while the battery recharges.", "price": 99.99, "sale_price": 49.99, "qty_in_stock": 69, "brand": "Skullcandy", "color": [ "blue", "black" ]}
{"index": {"_id": "7902883"}}
{"sku": "7902883", "name": "Bose® - SoundLink® Color Bluetooth Speaker - Black", "description": "Enjoy clear, full-range sound you might not expect from a compact speaker. This small, durable and simple-to-use Bose® SoundLink® Color Bluetooth speaker has voice prompts to ensure simplified Bluetooth pairing, letting you easily connect to devices.", "price": 129.99, "sale_price": 116.99, "qty_in_stock": 134, "brand": "Bose", "color": "black"}
{"index": {"_id": "5838295"}}
{"sku": "5838295", "name": "Io