Skip to content

Instantly share code, notes, and snippets.

Michael Gerhaeuser migerh

Block or report user

Report or block migerh

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 4min-admin-guide-test.md
@migerh
migerh / Dockerfile
Created Sep 7, 2018
hello gitlab registry
View Dockerfile
FROM node:10
COPY hello.js /
CMD ["node", "/hello.js"]
@migerh
migerh / converge.js
Last active Aug 10, 2018
ramda.js forked processing
View converge.js
const person = {
first: "Nikola",
last: "Testa"
};
const getFirstName = prop('first');
const getLastName = prop('last');
const whitespace = () => ' ';
const concatenateMultipleStrings = unapply(reduce(concat, ''))
@migerh
migerh / .babelrc
Created Sep 22, 2016
JSXGraph import example
View .babelrc
{
"presets": [
"es2015",
"stage-3"
],
"plugins": [
"transform-runtime"
]
}
@migerh
migerh / Dockerfile
Last active May 20, 2016
pdftk docker container
View Dockerfile
FROM ubuntu:16.04
MAINTAINER Michael Gerhaeuser <michael.gerhaeuser@gmail.com>
RUN mkdir /work
WORKDIR /work
VOLUME ["/work"]
RUN apt-get update
RUN apt-get install -y --no-install-recommends pdftk sudo
View day1.erl
-module(day1).
-export([count/1]).
-export([count10/0]).
-export([check/1]).
count([32| Rest]) -> count(Rest) + 1;
count([_| Rest]) -> count(Rest);
count([]) -> 1.
count10(10) -> 10;
View PKGBUILD
# Maintainer: hollunder <murks at tuxfamily dot org>
pkgname=wxlua-svn
pkgver=247
pkgrel=1
pkgdesc="WxLua - SVN version."
arch=('i686' 'x86_64')
url="http://wxlua.sourceforge.net"
license=('custom:wxWindows')
depends=('desktop-file-utils' 'wxgtk' 'webkitgtk2')
View PKGBUILD
# Maintainer : Michael Gerhaeuser <michael dot gerhaeuser at gmail dot com>
# Contributor : speps <speps at aur dot archlinux dot org>
# Contributor: Eric Forgeot < http://ifiction.free.fr >
pkgname=wxlua
pkgver=2.8.12.3
pkgrel=3
pkgdesc="A set of bindings to the wxWidgets library for the Lua programming language."
arch=('i686' 'x86_64')
url="http://wxlua.sourceforge.net"
@migerh
migerh / Base game
Last active Aug 29, 2015
bl2 items
View Base game
== Weapons ==
Acuminous Hellfire OP1
BL2(hwAAAAD5XABDKANBEJE8rmIxwYKLJQELC5YGLBJY/v/nYpnBIozl)
Analytical Bane 72
BL2(hwAAAABncwBCSAFBDIFEdmIZwZKJBQELChYILBNY/v9rYsHBAorl)
Analytical Bitch 72
BL2(hwAAAAAOZwBCSANBDIFEpmIZwWKLZQGLCpYGLBNY/v/fYsHBEozl)
@migerh
migerh / groups.c
Created Dec 29, 2013
List all groups the current user is member of.
View groups.c
#include <stdio.h>
#include <unistd.h>
#include <grp.h>
#include <stdlib.h>
#include <malloc.h>
int main()
{
struct group *gr;
int i, n;
You can’t perform that action at this time.