Skip to content

Instantly share code, notes, and snippets.

Ingolf Wagner mrVanDalo

Block or report user

Report or block mrVanDalo

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 MTLS Client Cert generator
{ pkgs ? import <nixpkgs> {} }:
let
openSSLScriptClientCA = pkgs.writeShellScriptBin "create-ca" ''
echo "create CA"
echo
mkdir ca
${pkgs.openssl}/bin/openssl genrsa -aes256 -out ca/ca.key 4096
chmod 400 ca/ca.key
${pkgs.openssl}/bin/openssl req -new -x509 -sha256 -days 730 -key ca/ca.key -out ca/ca.crt
chmod 444 ca/ca.crt
View keybase.md

Keybase proof

I hereby claim:

  • I am mrvandalo on github.
  • I am mrvandalo (https://keybase.io/mrvandalo) on keybase.
  • I have a public key ASChYC4sat_f7UMI5z-4bfXQauusvWeOQUGyfAE1s7A6yQo

To claim this, I am signing this object:

View gitog2json
from git import Repo
import os
import json
import click
class GitLogger:
"""to provide a log as dict of commits which are json printable"""
def __init__(self, path):
"""Create a GitStepper with the path to the git repository (not a bare repository)"""
@mrVanDalo
mrVanDalo / CMDtoSUB.elm
Created Mar 3, 2018
Elm problem to Route Cmds to Subs
View CMDtoSUB.elm
{-| This sketch should show the problem I have.
I have 2 Modules. The first Module should "receive"
Messages from another module. I could create a large and complex Msg model,
OR I could use Cmd and Sub (I think).
So my Idea is :
Second.Trigger -> Cmd "Send Start" -> Sub "Listen on Start" -> First.Start
^------ this is the part which unclear to me
@mrVanDalo
mrVanDalo / bitwig.nix
Created Jan 2, 2018
My bitwig fhsUser script (to run bitwig with vsts).
View bitwig.nix
# NixOs fhs-user script
# ---------------------
#
# this is a script for NixOS users, to start Bitwig.
# It is quite similar to docker or rkt but it uses system libs
# to create a "normal" Linux environment so dynamic links can find
# everything they need.
# function header
You can’t perform that action at this time.