I hereby claim:
- I am crashdump on github.
- I am adrienp (https://keybase.io/adrienp) on keybase.
- I have a public key ASBN0dRpWA_POCJKLSZuueSZiYT4NbHMS9FQgHQ9oLWoHgo
To claim this, I am signing this object:
#! /bin/sh | |
### BEGIN INIT INFO | |
# Provides: logstash-server | |
# Required-Start: $remote_fs $syslog | |
# Required-Stop: $remote_fs $syslog | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: 0 1 6 | |
# Short-Description: Start daemon at boot time | |
# Description: Enable service provided by daemon. |
# This is a configuration for Logstash acting like that: | |
# | |
## INPUT | |
# - Syslog server listening on (custom >1024 as we don't run it as root) UDP/10514 | |
# - GELF event listening on (default) UDP/12201 | |
# | |
## FILTERING | |
# - Nothing here yet | |
# | |
## OUTPUT |
.include /usr/local/etc/exim/macros.conf | |
hide pgsql_servers = PGSQL_SERVERS | |
#primary_hostname = | |
domainlist local_domains = @ : localhost : localhost.localdomain | |
domainlist relay_sql_domains = RELAY_SQL_DOMAINS | |
domainlist relay_sql_smtp_domains = SMTP_SQL_DOMAINS | |
domainlist relay_sql_lmtp_domains = LMTP_SQL_DOMAINS | |
domainlist ldap_domains = LDAP_DOMAINS | |
domainlist smtp_callback_domains = SMTP_CALLBACK_DOMAINS | |
domainlist whitelisted_domains = WHITELISTED_DOMAINS |
#!/usr/bin/perl | |
use strict; | |
use XML::Simple; | |
use WWW::Curl::Easy; | |
my $WOEID = 12215; # Yahoo! "Where On Earth Identifier" for Bedford, UK | |
my $ZABBIX_SENDER = "/usr/bin/zabbix_sender"; | |
my $ZABBIX_SERVER = "172.24.1.36"; |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
import time, socket, sys, argparse | |
from multiprocessing.pool import ThreadPool | |
DNSRBL_LIST='/etc/zabbix/externalscripts/check-dnsrbl.txt' | |
result_list = [] | |
def reverse_host(host, separator='.'): |
#include <unistd.h> | |
#include <X11/X.h> | |
#include <X11/Xlib.h> | |
#include <strings.h> | |
#include <memory.h> | |
#include <stdlib.h> | |
#include <stdio.h> | |
/* | |
* 2013/10/09. Adrien Pujol. |
" Install me | |
" git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle | |
" wget -O ~/.vimrc https://raw.github.com/crashdump/tasty-debian/master/files/vim/vimrc | |
" vim +BundleInstall +qall | |
set nocompatible | |
filetype off | |
syntax on |
#!/usr/bin/python | |
# -*- coding: utf-8 -*- | |
# set expandtab ts=4 sw=4 ai | |
import os, sys | |
import time | |
import random | |
import string | |
import prowlpy | |
from twisted.python import log |
#!/usr/bin/env python3 | |
""" | |
Renders a partial SSH configuration file from Nodes and Services | |
located in a specified Consul catalog and then merges other partial | |
config files into the main ~/.ssh/config file. The Consul based SSH | |
config follows a convention for the SSH host:: | |
Host <prefix>_<consul-cluster-name>_<node-name> | |
User <ssh-user> | |
Hostname <consul-node-address> |
I hereby claim:
To claim this, I am signing this object: