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
@bodgit
bodgit / Raritan.markdown
Last active Oct 29, 2019
Sun keyboard shortcuts on a Raritan KVM converter
View Raritan.markdown
Sun key Local port key combination
Again Ctrl+ Alt +F2
Props Ctrl + Alt +F3
Undo Ctrl + Alt +F4
Stop A Break a
Front Ctrl + Alt + F5
Copy Ctrl + Alt + F6
Open Ctrl + Alt + F7
Find Ctrl + Alt + F9
@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 / proxy-config.ldif
Last active Sep 24, 2018
OpenLDAP proxy using translucent and pcache overlays
View proxy-config.ldif
dn: cn=config
objectClass: olcGlobal
cn: config
olcArgsFile: /home/matt/ldap/proxy/slapd.args
olcPidFile: /home/matt/ldap/proxy/slapd.pid
dn: cn=schema,cn=config
objectClass: olcSchemaConfig
cn: schema
@bodgit
bodgit / Beaker.markdown
Created Aug 24, 2016
How to get debug-level Puppet logs
View Beaker.markdown

Node profile:

HOSTS:
  centos-70-x64:
    roles:
      - master
    platform: el-7-x86_64
    box: puppetlabs/centos-7.0-64-nocm
    box_url: https://vagrantcloud.com/puppetlabs/boxes/centos-7.0-64-nocm
@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 / 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 / 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 / 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
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 / kubernetes-1.0.6-glusterfs.patch
Created Sep 16, 2015
Kubernetes 1.0.6 on Mesos and GlusterFS
View kubernetes-1.0.6-glusterfs.patch
diff --git a/pkg/volume/glusterfs/glusterfs.go b/pkg/volume/glusterfs/glusterfs.go
index b3d5c4b..3ee9f38 100644
--- a/pkg/volume/glusterfs/glusterfs.go
+++ b/pkg/volume/glusterfs/glusterfs.go
@@ -17,8 +17,8 @@ limitations under the License.
package glusterfs
import (
- "math/rand"
"os"
You can’t perform that action at this time.