Skip to content

Instantly share code, notes, and snippets.

Matt Dainty bodgit

Block or report user

Report or block bodgit

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View rabbitmq-server-plugins.spec
Name : rabbitmq-server-plugins
Version : 2.6.1
Release : 1
Summary : Plugins for RabbitMQ server
Group : Development/Libraries
Source0 : http://www.rabbitmq.com/releases/plugins/v%{version}/amqp_client-%{version}.ez
Source1 : http://www.rabbitmq.com/releases/plugins/v%{version}/rabbitmq_stomp-%{version}.ez
Source2 : http://www.rabbitmq.com/releases/plugins/v%{version}/rabbitmq_management_agent-%{version}.ez
Source3 : http://www.rabbitmq.com/releases/plugins/v%{version}/rabbitmq_management-%{version}.jquery-fix.ez
@bodgit
bodgit / Portfile
Created Aug 27, 2011
MacPorts Portfile for Marionette Collective
View Portfile
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
PortGroup ruby 1.0
name mcollective
version 1.2.1
categories net sysutils
platforms darwin
@bodgit
bodgit / Portfile
Created Sep 16, 2011
MacPorts Portfile for NetAddr Ruby Gem
View Portfile
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
PortGroup ruby 1.0
ruby.setup netaddr 1.5.0 gem {} rubyforge_gem
categories-append net
platforms darwin
maintainers nomaintainer
@bodgit
bodgit / librabbitmq.spec
Created Feb 19, 2012
RPM spec for RabbitMQ C library
View librabbitmq.spec
Name : librabbitmq
Version : 0.0.1
Release : 2.20120121hg281
Summary : RabbitMQ C AMQP client library
Group : Development/Libraries
Source0 : %{name}-%{version}.tar.gz
URL : http://www.rabbitmq.com/c-client.html
License : GPLv2
Packager : Matt Dainty <matt@bodgit-n-scarper.com>
@bodgit
bodgit / output
Last active Dec 16, 2015
libevent 2.0.21 / OS X 10.8.3 test case
View output
events = 80
Connected to 127.0.0.1:2003
events = 21
Error connecting to 127.0.0.1:2003
events = 80
Connected to 192.168.255.128:2003
events = 20
Error connecting to 127.0.0.1:2003
<5 second pause>
events = 20
@bodgit
bodgit / ES master node
Last active Aug 29, 2015
Elasticsearch configuration for EC2 cluster with remote tribe node
View ES master node
### MANAGED BY PUPPET ###
---
action:
auto_create_index: +logstash-*,-*
bootstrap:
mlockall: true
cloud:
aws:
access_key: abc123
region: ap-southeast-2
@bodgit
bodgit / elasticsearch-1.2.0-urllib.patch
Last active Aug 29, 2015
RPM spec for Elasticsearch python bindings
View elasticsearch-1.2.0-urllib.patch
diff -up elasticsearch-1.2.0/elasticsearch.egg-info/requires.txt.orig elasticsearch-1.2.0/elasticsearch.egg-info/requires.txt
--- elasticsearch-1.2.0/elasticsearch.egg-info/requires.txt.orig 2014-08-12 10:09:32.219400798 +0000
+++ elasticsearch-1.2.0/elasticsearch.egg-info/requires.txt 2014-08-12 10:09:36.809346008 +0000
@@ -1 +1 @@
-urllib3>=1.8, <2.0
\ No newline at end of file
+urllib3>=1.5, <2.0
diff -up elasticsearch-1.2.0/setup.py.orig elasticsearch-1.2.0/setup.py
--- elasticsearch-1.2.0/setup.py.orig 2014-08-12 10:08:38.643339969 +0000
+++ elasticsearch-1.2.0/setup.py 2014-08-12 10:08:44.712437366 +0000
@bodgit
bodgit / elasticsearch-curator-1.2.2-master-only.patch
Last active Aug 29, 2015
RPM spec for Elasticsearch Curator
View elasticsearch-curator-1.2.2-master-only.patch
diff -up elasticsearch-curator-1.2.2/curator/curator.py.orig elasticsearch-curator-1.2.2/curator/curator.py
--- elasticsearch-curator-1.2.2/curator/curator.py.orig 2014-08-20 11:24:42.750639539 +0000
+++ elasticsearch-curator-1.2.2/curator/curator.py 2014-08-20 11:25:12.530602535 +0000
@@ -714,8 +714,8 @@ def main():
check_version(client)
if arguments.master_only and not is_master_node(client):
- logger.fatal('Master-only flag detected. Connected to non-master node. Aborting.')
- sys.exit(1)
+ logger.info('Master-only flag detected. Connected to non-master node. Aborting.')
@bodgit
bodgit / mod_proxy_wstunnel.c
Last active Jun 20, 2019
mod_proxy_wstunnel package for Apache on CentOS 6.x
View mod_proxy_wstunnel.c
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@bodgit
bodgit / rubygem-mixlib-cli.spec
Created Sep 29, 2014
RPM spec for Sensu plugin gem
View rubygem-mixlib-cli.spec
%{?scl:%scl_package rubygem-%{gem_name}}
%{!?scl:%global pkg_name %{name}}
# Generated from mixlib-cli-1.5.0.gem by gem2rpm -*- rpm-spec -*-
%global gem_name mixlib-cli
Summary: A simple mixin for CLI interfaces, including option parsing
Name: %{?scl_prefix}rubygem-%{gem_name}
Version: 1.5.0
Release: 1%{?dist}
You can’t perform that action at this time.