Skip to content

Instantly share code, notes, and snippets.

@mvrueden
mvrueden / gist:7db22d101515bbfe50b3c4cd8e6ce1f6
Created March 25, 2019 10:36
Grep for executed test in maven output
grep -e "Tests run:.*, Failures:.*, Errors:.*, Skipped:.*, Time elapsed:.* - in .*" file.log
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<config xmlns="http://artifactory.jfrog.org/xsd/1.7.8" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.jfrog.org/xsd/artifactory-v1_7_8.xsd">
<serverName>opennms-jfrog</serverName>
<offlineMode>false</offlineMode>
<helpLinksEnabled>true</helpLinksEnabled>
<fileUploadMaxSizeMb>100</fileUploadMaxSizeMb>
<dateFormat>dd-MM-yy HH:mm:ss z</dateFormat>
<addons>
<showAddonsInfo>true</showAddonsInfo>
<showAddonsInfoCookie>1471871187542</showAddonsInfoCookie>
# Path to your oh-my-zsh installation.
export ZSH=$HOME/.oh-my-zsh
export JAVA_HOME=$(/usr/libexec/java_home -v 1.8.0_144)
# Set name of the theme to load.
# Look in ~/.oh-my-zsh/themes/
# Optionally, if you set this to "random", it'll load a random theme each
# time that oh-my-zsh is loaded.
#ZSH_THEME="robbyrussell" # default
ZSH_THEME="kolo" # my choice
@mvrueden
mvrueden / opennms-build-rpms.adoc
Last active June 19, 2018 14:51
Build OpenNMS RPMs using docker
docker run -it -w /data -v `pwd`:/data opennmsbamboo/build-centos ./makerpm.sh
@mvrueden
mvrueden / install-hawtio-opennms.sh
Created May 30, 2018 09:18 — forked from j-white/install-hawtio-opennms.sh
Install Hawtio on OpenNMS
wget -qO /opt/opennms/jetty-webapps/hawtio.war https://oss.sonatype.org/content/repositories/public/io/hawt/hawtio-default/1.4.63/hawtio-default-1.4.63.war && \
unzip /opt/opennms/jetty-webapps/hawtio.war -d /opt/opennms/jetty-webapps/hawtio && rm -f /opt/opennms/jetty-webapps/hawtio.war
@mvrueden
mvrueden / opennms-dev-guide.adoc
Created March 14, 2017 08:42
OpenNMS Developers Welcome Guide Draft

OpenNMS Developer Welcome Guide

This guide describes the requirements and the steps necessary in order to get started with the development of the OpenNMS project.

Operating System / Environment

To build/compile OpenNMS it is necessary to run a *nix system. You do not need to run it physically, a virtual machine is sufficient, but the choice is yours. We recommend one of the following:

@mvrueden
mvrueden / cover.php
Last active March 8, 2017 21:06
Simple "server" to serve images for mpod.
<?php
// Simple "server" to serve images for mpod.
// Configure Mpod like this: "host:port/cover.php?get=".
// Simply start it with "php -S 0.0.0.0:port"
// For me "sacad_r" worked best to automatically download covers: "sacad_r ./ 600 cover.jpg"
// See: https://github.com/desbma/sacad
$root = "/var/lib/mpd/music/"; //mpd lib direcotry (must end with /)
// We need at least one parameter