I hereby claim:
- I am phobos182 on github.
- I am jeremycarroll (https://keybase.io/jeremycarroll) on keybase.
- I have a public key whose fingerprint is 77F0 B959 DAD0 3A5A F4F7 1E79 298A CF13 2ECF 0BF9
To claim this, I am signing this object:
#!/bin/bash | |
# | |
# constants | |
IFACE=eth0 | |
TX_QUEUE_LEN=5000 | |
RPS_FLOW_CNT=32768 | |
QUEUES=$(ls -d /sys/class/net/${IFACE}/queues/rx-* | wc -l) | |
RPS_FLOW_QUEUE=$((RPS_FLOW_CNT / QUEUES)) | |
# set global flow queue |
Statistics for BinaryTreeDictionary: | |
------------------------------------ | |
Total Free Space: 542384916 | |
Max Chunk Size: 337614532 | |
Number of Blocks: 58933 | |
Av. Block Size: 9203 | |
Tree Height: 124 | |
Before GC: | |
Statistics for BinaryTreeDictionary: | |
------------------------------------ |
#!/usr/bin/env python | |
import argparse | |
import brood | |
import requests | |
ENDPOINT_ADDR = '127.0.0.1' | |
ENDPOINT_PORT = 7070 | |
TOP_ITEMS = 10 |
11:11:48 PM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle | |
11:11:49 PM all 6.38 0.00 19.15 0.00 0.00 12.41 2.84 0.00 59.22 | |
11:11:49 PM 0 15.24 0.00 41.90 0.00 0.00 33.33 0.95 0.00 8.57 | |
11:11:49 PM 1 1.70 0.00 5.68 0.00 0.00 0.00 3.41 0.00 89.20 | |
--- | |
12:14:40 AM CPU %usr %nice %sys %iowait %irq %soft %steal %guest %idle | |
12:14:43 AM all 5.93 0.00 13.92 0.11 0.00 6.69 0.27 0.00 73.09 | |
12:14:43 AM 0 19.87 0.00 38.41 0.00 0.00 41.06 0.00 0.00 0.66 |
import elasticsearch | |
# Connect to cluster at search1:9200, sniff all nodes and round-robin between them | |
es = elasticsearch.Elasticsearch(["dataelasticsearch-a-master001:9200", "dataelasticsearch-b-master001:9200", | |
"dataelasticsearch-e-master001:9200"], sniff_on_start=True) | |
# Index a document: | |
es.index( | |
index="my_app", |
#!/usr/bin/env python2 | |
# Quick and dirty demonstration of CVE-2014-0160 by Jared Stafford ([email protected]) | |
# The author disclaims copyright to this source code. | |
import sys | |
import struct | |
import socket | |
import time | |
import select |
#!/usr/bin/env python | |
import argparse | |
import re | |
import sys | |
import subprocess | |
LIBSSL_NAME = 'libssl1.0.0' | |
LIBSSL_MODULE = 'libssl.so.1.0.0' | |
OPENSSL_NAME = 'openssl' | |
VERSION_WHITELIST = ['1.0.1-4ubuntu5.12'] |
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/python | |
import boto | |
import boto.utils | |
import subprocess | |
import logging | |
import re | |
import sys | |
import os | |
import psutil | |
import time |
#!/usr/bin/python | |
import os | |
import sys | |
import configobj | |
import pwd | |
import grp | |
for path in [ | |
os.path.join('opt', 'diamond', 'lib'), |