Skip to content

Instantly share code, notes, and snippets.


Marcus Lang marcuslang

  • Device Insight
  • Munich
View GitHub Profile
marcuslang / gist:602f3c3a86a8e1c303e63eb5d5bc0373
Last active Apr 6, 2017
Init/Checkout submodules of a git folder recursive
View gist:602f3c3a86a8e1c303e63eb5d5bc0373
git submodule update --init --recursive
marcuslang / pom.xml
Created Mar 31, 2017
Aggregate pom for individual selection of Maven dependencies via profiles. Compose your dependencies/modules with profiles to generate different compositions
View pom.xml
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns=""
<!-- your parent pom -->
marcuslang / Vagrant Multi-VM with IP-LOOP
Last active Mar 9, 2021
Create multiple Vagrant VMs with different ips in a for loop
View Vagrant Multi-VM with IP-LOOP
Vagrant.configure("2") do |config|
(1..3).each do |i|
config.vm.define "node-#{i}" do |node| = "ubuntu/trusty64" "private_network", ip: "192.168.25.#{i}", auto_config: false
node.vm.provision "shell", inline: "echo hello from node #{i}"