This file contains 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
Allegiance: Legion of Sacrament | |
Mortal Realm: Shyish | |
Arkhan the Black, Mortarch of Sacrament (320) | |
- General | |
Wight King with Baleful Tomb Blade (120) | |
- Mount: Steed | |
Necromancer (110) | |
Necromancer (110) | |
Necromancer (110) | |
40 x Skeleton Warriors (280) |
This file contains 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
foobar |
This file contains 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
# carbon-cache-a upstart job | |
# | |
# Daniel Beckham | |
# @dbeckham | |
# https://github.com/dbeckham | |
# | |
# Tested with Graphite carbon tag v0.9.12 from: | |
# https://github.com/graphite-project/carbon | |
# | |
# Upstart config: /etc/init/carbon-cache-a.conf |
This file contains 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
from flask import Flask | |
from flask import request | |
from flask import Response | |
import json | |
import urlparse | |
app = Flask(__name__) | |
@app.route('/graphite', methods=['GET', 'POST']) | |
def graphite_png(): |
This file contains 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
# This goes in <my_app_coobkook>/libraries/default.rb | |
class Chef | |
class Resource | |
def hash_to_s hash | |
hash.map do |k,v| | |
k.to_s + '=' + v.to_s | |
end.join("\n") + "\n" | |
end | |
end |
This file contains 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/python -tt | |
import json | |
import optparse | |
import requests | |
import sys | |
def get_dead_sensu_clients(sensu_server, sensu_port): | |
get_dead_clients_url = 'http://%s:%s/events' % (sensu_server, sensu_port) |
This file contains 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
--- | |
- hosts: all | |
sudo: yes | |
tasks: | |
- name: "Get all the access log file paths" | |
shell: "ls /var/log/apache2/access.log*" | |
register: ls_output | |
- name: "Download all the apache logs" | |
fetch: src={{ item }} dest="logs" |
This file contains 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/python -tt | |
import requests | |
user = 'nsroot' | |
password = 'nsroot' | |
netscaler = 'my_netscaler_fqdn_or_ip' | |
url = 'http://%s/nitro/v1/config/' % netscaler | |
response = requests.get(url, auth=(user, password)) |
This file contains 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/python -tt | |
import requests | |
graphite_targets = [ | |
'some.graphite.metric.target', | |
'another.graphite.metric.target | |
] | |
graphite = 'some_graphite_host' |
This file contains 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 | |
# bootstrap-ansible.sh: download and build Ansible on Debian host | |
# https://github.com/ginas/ginas/ | |
set -e | |
# Create temporary directory for build | |
build_dir=$(mktemp -d) | |
trap "rm -rf ${build_dir}" EXIT |
NewerOlder