Skip to content

Instantly share code, notes, and snippets.

View LucaLanziani's full-sized avatar

Luca Lanziani LucaLanziani

View GitHub Profile
@LucaLanziani
LucaLanziani / Makefile
Last active July 26, 2022 12:26
Compose repo
.PHONY: compose from-code local staging production
compose = docker-compose -f compose.yaml -f
database:
${compose} local.yaml up postgres
from-code:
${compose} local.yaml up --build
const fs = require('fs');
const htmlparser = require('htmlparser2');
function Project(xmlConfigPath) {
var self = this;
this.xmlConfigPath = xmlConfigPath;
this.devices = {};
this.groups = {};
self.GroupAddressPrefix = [];