Skip to content

Instantly share code, notes, and snippets.

View wndhydrnt's full-sized avatar

Markus Meyer wndhydrnt

  • Hamburg, Germany
View GitHub Profile
@wndhydrnt
wndhydrnt / list
Last active May 22, 2024 15:59
Run several commands in parallel, prefix the stdout of each stdout with its source and fail the script if one of the commands exits with a code != 0
foo
bar
baz
@wndhydrnt
wndhydrnt / ln-go.sh
Created September 24, 2016 07:03
Link a repository to your GOPATH
#!/usr/bin/env bash
set -e
hoster=${LN_GO_HOSTER:-github.com}
username=${LN_GO_USERNAME:-wndhydrnt}
if [ -z $1 ]; then
echo ""
echo "Usage: ln-go REPOSITORY [PATH]"
@wndhydrnt
wndhydrnt / Vagrantfile
Created April 26, 2015 10:56
Mesos/Chronos/Marathon Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
ADDITIONAL_SCRIPTS = ENV.fetch('ADDITIONAL_SCRIPTS', '').split(',')
ENABLE_CHRONOS = ENV.fetch('ENABLE_CHRONOS', 1).to_i
ENABLE_MARATHON = ENV.fetch('ENABLE_MARATHON', 1).to_i