Skip to content

Instantly share code, notes, and snippets.

View marcuslang's full-sized avatar

Marcus Lang marcuslang

  • Device Insight
  • Munich
View GitHub Profile
@marcuslang
marcuslang / intellij_azure_function_debugger.md
Created October 20, 2021 14:53
Debugging Azure Functions locally in Intellij
  1. Go to Edit Configurations under the Run menu
  2. Create a new Attach to Node.js/Chrome configuration
  3. Choose a port, e.g. 5858
  4. Save & close
  5. Go to your local.settings.json
  6. Add the following:
{
  ...
 "Values": {
@marcuslang
marcuslang / gist:602f3c3a86a8e1c303e63eb5d5bc0373
Last active April 6, 2017 10:52
Init/Checkout submodules of a git folder recursive
git submodule update --init --recursive
@marcuslang
marcuslang / pom.xml
Created March 31, 2017 08:25
Aggregate pom for individual selection of Maven dependencies via profiles. Compose your dependencies/modules with profiles to generate different compositions
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<!-- your parent pom -->
</parent>
<modelVersion>4.0.0</modelVersion>
<name>myproject-${option1}</name>
@marcuslang
marcuslang / Vagrant Multi-VM with IP-LOOP
Last active September 25, 2022 17:54
Create multiple Vagrant VMs with different ips in a for loop
Vagrant.configure("2") do |config|
(1..3).each do |i|
config.vm.define "node-#{i}" do |node|
node.vm.box = "ubuntu/trusty64"
node.vm.network "private_network", ip: "192.168.25.#{i}", auto_config: false
node.vm.provision "shell", inline: "echo hello from node #{i}"
end
end