I hereby claim:
- I am simon-engledew on github.
- I am hotdogknight (https://keybase.io/hotdogknight) on keybase.
- I have a public key ASAgtfxSK9B6HOaDQ5d24zVPIew7t0ey_VboaxjNYX8ALgo
To claim this, I am signing this object:
yum -y install erlang perl perl-RRD-Simple.noarch perl-Log-Log4perl-RRDs.noarch gnuplot perl-Template-Toolkit | |
wget http://tsung.erlang-projects.org/dist/tsung-1.6.0.tar.gz | |
tar zxfv tsung-1.6.0.tar.gz | |
cd tsung-1.6.0 | |
./configure && make && sudo make install |
import xmlrpc.client | |
proxy = xmlrpc.client.ServerProxy('http://localhost:7000/xmlrpc') | |
print(proxy.hello('there')) |
import re | |
import json | |
from parsec import ( | |
sepBy, | |
regex, | |
string, | |
generate, | |
many | |
) |
""" | |
functional library for generating xml documents | |
""" | |
import xml.dom.minidom as xml | |
class Document(object): | |
""" | |
XML Document Builder |
# -*- coding: utf-8 -*- | |
""" | |
Generates a requirements.txt from any packages | |
in the current working directory. | |
""" | |
import os | |
import glob | |
import contextlib | |
import functools |
from multiprocessing import Process, Queue | |
from multiprocessing.reduction import reduce_handle, rebuild_handle | |
from contextlib import closing | |
import socket | |
def process_sockets(queue): | |
while True: | |
fd = rebuild_handle(queue.get()) | |
with closing(socket.fromfd(fd, socket.AF_INET, socket.SOCK_STREAM)) as connection: |
# -*- coding: utf-8 -*- | |
import os | |
import sys | |
import select | |
import errno | |
import threading | |
import Queue | |
from functools import wraps, partial | |
from contextlib import contextmanager, closing | |
import logging |
import hashlib | |
import getpass | |
from urllib.request import urlopen, Request | |
def check(password): | |
digest = hashlib.sha1(password.encode('utf-8')).hexdigest().upper() | |
head, tail = digest[:5], digest[5:] |
#include <signal.h> | |
#include <unistd.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
#include <sys/wait.h> | |
volatile sig_atomic_t pid = 0; | |
static void restart(int sig) | |
{ |
I hereby claim:
To claim this, I am signing this object: