I hereby claim:
- I am mcm on github.
- I am mcmaster (https://keybase.io/mcmaster) on keybase.
- I have a public key ASDYAxrejpRzi2PqiHCt2EJDk5a0281D2gmu-VVLSydeJAo
To claim this, I am signing this object:
#!/usr/bin/env python | |
import imaplib | |
import optparse | |
import subprocess | |
import sys | |
op = optparse.OptionParser() | |
op.add_option("--username", dest="username", help="IMAP username") | |
op.add_option("--password", dest="password", help="IMAP password") |
#!/usr/bin/env python2 | |
# Nagios check for OpenSSL Heartbleed bug | |
# Based on: https://gist.github.com/takeshixx/10107280 | |
import sys | |
import struct | |
import socket | |
import time | |
import select |
#!/usr/bin/env python2 | |
# Based on: https://gist.github.com/takeshixx/10107280 | |
import sys | |
import struct | |
import socket | |
import time | |
import select | |
import re |
#!/bin/bash | |
read auth_key | |
SPLUNK_TOK=$auth_key | |
export SPLUNK_TOK | |
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
export LD_LIBRARY_PATH=$script_dir | |
app_name="$( basename "$( dirname $script_dir)")" | |
app_dir=$SPLUNK_HOME/etc/apps/$app_name/bin |
template Host "appX.xxx" { | |
import "generic-host" | |
vars.os = "Linux" | |
vars.os_family = "Centos" | |
vars.placement = "yyy" | |
vars.placement = "komus" | |
vars.operator = "on_call" | |
vars.sla = "24x7" | |
vars.disable_ssh_check = "1" |
xe template-param-set uuid=$(xe template-list name-label="Ubuntu Trusty Tahr 14.04" --minimal) HVM-boot-policy="" | |
xe template-param-set uuid=$(xe template-list name-label="Ubuntu Trusty Tahr 14.04" --minimal) HVM-boot-params:order="" | |
xe template-param-set uuid=$(xe template-list name-label="Ubuntu Trusty Tahr 14.04" --minimal) PV-args="console=hvc0 debian-installer/locale=en_US console-setup/ask_detect=false console-setup/layoutcode=us preseed/url=http://agentx.hurricanedefense.com/ubuntu/kickstart/hl/xen.seed" | |
xe template-param-set uuid=$(xe template-list name-label="Ubuntu Trusty Tahr 14.04" --minimal) PV-bootloader="eliloader" | |
xe template-param-set uuid=$(xe template-list name-label="Ubuntu Trusty Tahr 14.04" --minimal) other-config:install-distro="debianlike" | |
xe template-param-set uuid=$(xe template-list name-label="Ubuntu Trusty Tahr 14.04" --minimal) other-config:install-repository="http://us.archive.ubuntu.com/ubuntu" | |
xe template-param-set uuid=$(xe template-list name-label="Ubuntu Trusty Tahr 14.04" - |
I hereby claim:
To claim this, I am signing this object:
import pymongo | |
from . import encoders | |
from . import hooks | |
class BaseResource: | |
def __init__(self): | |
self.mongo_client = pymongo.MongoClient() |
from urllib.parse import parse_qs | |
import filtration | |
def validate(req, resp, **kwargs): | |
... | |
def access_log(req, resp, **kwargs): | |
... |
import cerberus | |
import cerberus.errors | |
from bson.objectid import ObjectId | |
def SchemaValidationError(BaseException): | |
def __init__(self, *args, errors=None, **kwargs): | |
super().__init__(*args, **kwargs) | |
if errors != None: | |
self.errors = errors |