Skip to content

Instantly share code, notes, and snippets.

gdm85 gdm85

Block or report user

Report or block gdm85

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
@gdm85
gdm85 / testcase-dns-lookup.sh
Created Sep 19, 2014
Testcase for DNS caching bug
View testcase-dns-lookup.sh
#!/bin/bash
## @author gdm85
## tests DNS caching in Docker
##
#
if pgrep dnsmasq >/dev/null; then
echo "You are running dnsmasq, this test would not be consistent" 1>&2
exit 1
fi
@gdm85
gdm85 / testcase-save-import.sh
Last active Aug 29, 2015
testcase for Docker issue #8338 with import
View testcase-save-import.sh
#!/bin/bash
## @author gdm85
## testcase for Docker issue 8338
##
#
wget -q https://github.com/gdm85/tenku/releases/download/v0.3.0/wheezy.tar.bz2 -O- | bunzip2 | docker import - wheezy1
test -z ${PIPESTATUS[0]} && \
docker run wheezy1 /bin/bash -c "echo 'hello world'"
@gdm85
gdm85 / docker-pr-8412-test-results.log
Created Oct 7, 2014
make test results for Docker PR 8412
View docker-pr-8412-test-results.log
docker run --rm -it --privileged -e TIMEOUT -e BUILDFLAGS -e TESTFLAGS -e TESTDIRS -e DOCKER_GRAPHDRIVER -e DOCKER_EXECDRIVER -v "~/test/docker/bundles:/go/src/github.com/docker/docker/bundles" "docker:master" hack/make.sh binary cross test-unit test-integration test-integration-cli
bundles/1.2.0-dev already exists. Removing.
---> Making bundle: binary (in bundles/1.2.0-dev/binary)
Created binary: /go/src/github.com/docker/docker/bundles/1.2.0-dev/binary/docker-1.2.0-dev
---> Making bundle: cross (in bundles/1.2.0-dev/cross)
Created symlinks: /go/src/github.com/docker/docker/bundles/1.2.0-dev/cross/linux/amd64/docker /go/src/github.com/docker/docker/bundles/1.2.0-dev/cross/linux/amd64/docker-1.2.0-dev /go/src/github.com/docker/docker/bundles/1.2.0-dev/cross/linux/amd64/docker-1.2.0-dev.md5 /go/src/github.com/docker/docker/bundles/1.2.0-dev/cross/linux/amd64/docker-1.2.0-dev.sha256
Created binary: /go/src/github.com/docker/docker/bundles/1.2.0-dev/cross/linux/386/docker-1.2.0-dev
View iptables-debug.sh
#!/bin/bash
## iptables-debug.sh
##
## @author gdm85
##
## debug some iptables traffic
#
IPT=/sbin/iptables
@gdm85
gdm85 / result-1.log
Last active Aug 29, 2015
Testing around ICC & linked containers features
View result-1.log
= = = = = docker version
Client version: 1.5.0
Client API version: 1.17
Go version (client): go1.4.1
Git commit (client): a8a31ef
OS/Arch (client): linux/amd64
Server version: 1.5.0
Server API version: 1.17
Go version (server): go1.4.1
Git commit (server): a8a31ef
@gdm85
gdm85 / ssh-knownhost
Last active Aug 29, 2015
ssh-knownhost by Colin Percival
View ssh-knownhost
#!/bin/sh -e
## original article: http://www.daemonology.net/blog/2012-01-16-automatically-populating-ssh-known-hosts.html
# I hereby place this script in the public domain -- Colin Percival
# Usage
if [ $# -lt 1 ]; then
echo "usage: $0 host [fingerprint ...]" >/dev/stderr
exit 1;
fi
@gdm85
gdm85 / shellinabox-build-fail.log
Last active Aug 29, 2015
shellinabox/shellinabox dpkg build failure
View shellinabox-build-fail.log
builder@avenger:~/shellinabox# ./configure && make -j4 && dpkg-buildpackage
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
@gdm85
gdm85 / rsyslog.lua
Created Jun 16, 2015 — forked from cristifalcas/gist:b0a8b6e6d312096f9515
example plugin by cristi1979 to handle /dev/log
View rsyslog.lua
local math = require "math"
local dt = require "date_time"
local l = require "lpeg"
l.locale(l)
local hostname = read_config("hostname")
local trim = read_config("trim") or true
local overwrite_timestamp = read_config("overwrite_timestamp") or false
local overwrite_hostname = read_config("overwrite_hostname") or false
@gdm85
gdm85 / heka-syslog.patch
Created Feb 9, 2016
Patch for heka for syslog datagram parser
View heka-syslog.patch
From 9e77259573e912ff65dd4d7ed11989f00e85a6fb Mon Sep 17 00:00:00 2001
From: gdm85 <gdm85@users.noreply.github.com>
Date: Fri, 27 Mar 2015 12:32:54 +0100
Subject: [PATCH] Added raw syslog datagrams example
---
examples/raw_syslog_unixgram.toml | 44 +++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
create mode 100644 examples/raw_syslog_unixgram.toml
@gdm85
gdm85 / wolfengo.log
Created Feb 12, 2016
Texture coordinates debug output (Linux/working)
View wolfengo.log
WolfenGo v0.1.1, Copyright (C) 2016 gdm85
https://github.com/gdm85/wolfengo
WolfenGo comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under GNU/GPLv2 license.
3.0 Mesa 10.1.3
addVertices( [-0.14736843 0 0 -1 1 0 0 0 -0.14736843 0.25 0 -1 -0 0 0 0 0.14736843 0.25 0 -0 -0 0 0 0 0.14736843 0 0 -0 1 0 0 0] , [0 1 2 0 2 3] )
addVertices( [-0.18125 0 0 -1 1 0 0 0 -0.18125 0.7 0 -1 -0 0 0 0 0.18125 0.7 0 -0 -0 0 0 0 0.18125 0 0 -0 1 0 0 0] , [0 1 2 0 2 3] )
addVertices( [0 0 0 0.5 1 0 0 0 0 1 0 0.5 0.75 0 0 0 1 1 0 0.75 0.75 0 0 0 1 0 0 0.75 1 0 0 0 0 0 0 0.73 1 0 0 0 0 1 0 0.73 0.75 0 0 0 0 1 0.125 0.75 0.75 0 0 0 0 0 0.125 0.75 1 0 0 0 0 0 0.125 0.5 1 0 0 0 0 1 0.125 0.5 0.75 0 0 0 1 1 0.125 0.75 0.75 0 0 0 1 0 0.125 0.75 1 0 0 0 1 0 0 0.73 1 0 0 0 1 1 0 0.73 0.75 0 0 0 1 1 0.125 0.75 0.75 0 0 0 1 0 0.125 0.75 1 0 0 0] , [0 1 2 0 2 3 6 5 4 7 6 4 10 9 8 11 10 8 12 13 14 12 14 15] )
addVertices( [-0.030106707 0 0 -1 1 0 0 0 -0.030106707 0.0625 0 -1 -0 0 0 0 0.030106707
You can’t perform that action at this time.