[](https://trello.com/b/nC8QJJoZ)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 😱 Seriously? | |
| 😷 That's a bad look. | |
| Burn it to the ground! 🔥 | |
| 😠 Torvalds frowns at you. | |
| 🚶 Have you considered another career? | |
| You must hate your coworkers. 👹 | |
| 😡 You must hate yourself. | |
| Ha! Yeah, that'll work. 😄 | |
| 😕 Are you just hitting keys at random? | |
| You code like a PM. 😐 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| coreos: | |
| units: | |
| - name: docker.service | |
| command: start | |
| - name: newrelic-client.service | |
| command: start | |
| content: | | |
| [Unit] | |
| Description=newrelic-client | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if loadfont /boot/grub/font.pf2 ; then | |
| insmod efi_gop | |
| insmod efi_uga | |
| insmod video_bochs | |
| insmod video_cirrus | |
| insmod gfxterm | |
| insmod png | |
| terminal_output gfxterm | |
| fi |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'sinatra' | |
| require 'json' | |
| require 'csv' | |
| # Serve data as JSON | |
| get '/hi/:name' do | |
| name = params[:name] | |
| content_type :json | |
| { :message => name }.to_json | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env ruby | |
| require 'socket' | |
| STATSD_HOST = '127.0.0.1' | |
| STATSD_PORT = 8125 | |
| NAMESPACE = "sysstat" | |
| @hostname = `hostname -s`.chomp | |
| @statsd = UDPSocket.new | |
| @statsd.connect STATSD_HOST, STATSD_PORT |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| VERSION={VERSION:0.90.5} | |
| PLUGINS=( | |
| mobz/elasticsearch-head | |
| karmi/elasticsearch-paramedic | |
| ) | |
| # install missing libraries (if any) | |
| sudo yum update | |
| sudo yum install java-1.7.0-openjdk.x86_64 unzip mc wget curl |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # elasticsearch-backup-index.sh | |
| # | |
| # Push logstash index from yesterday to s3 with an accompanying restore script. | |
| # http://logstash.net | |
| # http://www.elasticsearch.org | |
| # https://github.com/s3tools/s3cmd | http://s3tools.org/s3cmd | |
| # | |
| # Inspiration: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| # | |
| # Ansible playbook: install Mosquitto from PPA on Ubuntu v201502131346 | |
| # Louis T. Getterman IV (@LTGIV) | |
| # www.GotGetLLC.com / www.opensour.cc | |
| # | |
| # Thanks to @jpmens for insight on cert locations ( https://twitter.com/jpmens/status/565513595644313600 ) | |
| # | |
| # Example Usage: | |
| # [user@host ~$] ansible-playbook /etc/ansible/playbooks/ubuntu-mosquitto.yml --extra-vars 'target=nameFromHostsFile' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| * Promise wrapper for Firebase | |
| * | |
| * Requires jQuery and underscore.js | |
| *************************************/ | |
| (function ($) { | |
| "use strict"; | |
| var undefined; | |
| var FIREBASE_URL = 'https://YOURINSTANCE.firebaseio.com'; |
