d-fens GmbH General-Guisan-Strasse 6 CH-6300 Zug Switzerland
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Requires -Module Pester | |
#Requires -Version 3.0 | |
# see http://d-fens.ch/2015/06/28/bug-powershell-import-clixml-incorrectly-creates-hashtables-with-duplicate-keys/ for further explanation | |
$here = Split-Path -Parent $MyInvocation.MyCommand.Path | |
$ImportCliXmlDuplicateKeys = "{0}.xml" -f $MyInvocation.MyCommand.Name.Replace('.Tests.ps1', ''); | |
Describe -Tags "Test-ImportCliXml" "Test-ImportCliXml" { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Requires -Version 3 | |
# http://d-fens.ch/2015/04/26/nobrainer-enumerate-all-functions-in-a-powershell-script-file-via-ast | |
[CmdletBinding( | |
SupportsShouldProcess = $true | |
, | |
ConfirmImpact = 'Low' | |
, | |
DefaultParameterSetName = 'list' | |
)] | |
Param |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM graylog2/allinone | |
MAINTAINER Ronald Rink <ronald.rink@d-fens.net> | |
ENV GRAYLOG2_BASE_DIR /opt/graylog2 | |
ENV GRAYLOG_SERVER_VERSION 0.93.0-SNAPSHOT-20150112150701 | |
ENV GRAYLOG_WEB_VERSION 0.93.0-SNAPSHOT-20150112102527 | |
RUN apt-get install -y wget tar | |
RUN cd /opt/ && wget http://packages.graylog2.org/nightly-builds/graylog2-${GRAYLOG_SERVER_VERSION}.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# taken from https://github.com/wmarinho/docker-jbpm | |
FROM wmarinho/ubuntu:oracle-jdk-7 | |
MAINTAINER Wellington Marinho wpmarinho@globo.com | |
ENV JBPM_VERSION 6.1.0.Final | |
ENV JBPM_HOME /opt/jbpm | |
# Apply JAVA_HOME |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Dockerfile to build Graylog2/allinone and d-fens Plugins | |
# | |
# Copyright 2015 Ronald Rink, d-fens GmbH | |
# | |
# Licensed 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 | |
# |
- Insert-GelfHttp.ps1 inserting Gelf messages via Gelf HTTP input
- Insert-GelfTcp.ps1 inserting Gelf messages via Gelf TCP input
- Insert-GelfUdp.ps1 inserting Gelf messages via Gelf UDP input
- See LICENSE and NOTICE below for further information.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* libmc02.c | |
* | |
*/ | |
#include "libmc02.h" | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://d-fens.ch/2014/01/27/create-vcac-modelmanagemententites-objects-from-odata-rest-call-with-powershell/ | |
function Get-VcacEntity { | |
[CmdletBinding( | |
SupportsShouldProcess = $false | |
, | |
ConfirmImpact = 'Low' | |
, | |
DefaultParameterSetName = 'guid' | |
, | |
HelpURI='http://dfch.biz/PS/Vcac/Utilities/Get-VcacEntity/' |