Skip to content

Instantly share code, notes, and snippets.

@ricardozanini
ricardozanini / How-to-add-custom-spring-module-wildfly.md
Last active December 9, 2020 03:12
Add a Spring Framework Web Custom module to Wildfly/JBoss/EAP
  1. Create a module.xml file in $JBOSS_HOME/modules/org/springframework/${spring-version}:
<?xml version="1.0"?>
<module xmlns="urn:jboss:module:1.1" name="org.springframework" slot="${spring-version}">
    <resources>
            <resource-root path="aopalliance-1.0.jar" />
            <resource-root path="spring-aop-${spring-version}.jar" />
            <resource-root path="spring-beans-${spring-version}.jar" />
            <resource-root path="spring-context-${spring-version}.jar" />
@raulperula
raulperula / README.me
Created March 10, 2017 11:52
How do I save terminal output to a file?
To write the output of a command to a file, there are basically 10 commonly used ways.
Please note that the n.e. in the syntax column means "not existing".
There is a way actually, but it's too complicated to fit into the column. You can find a helpful link in the List section about it.
Overview:
|| visible in terminal || visible in file || existing
Syntax || StdOut | StdErr || StdOut | StdErr || file
==========++==========+==========++==========+==========++===========

NextGen Connect (formerly known as Mirth Connect) Server Setup

Create a VM running Ubuntu. Use a modern version.

Great thanks for the original guide: https://gist.github.com/jgautsch/9157402

# Update Ubuntu
sudo apt-get update

# Upgrade Ubuntu
sudo aptitude upgrade
@pdunnavant
pdunnavant / increment-pom-versions.sh
Last active September 5, 2023 02:09
Script that uses the versions-maven-plugin to automatically increment the build number in the version of a project. This is intended to be used in a continuous delivery environment.
#!/bin/bash
#################################################################################
# WARNING: DO NOT JUST RUN THIS SCRIPT BLINDLY. MAKE SURE YOU UNDERSTAND WHAT IT
# IS DOING. IT *WILL* TRY TO COMMIT CHANGES. IT WILL ALSO TRY TO EAT YOUR
# CHILDREN. IT MAY CAUSE THE SUN TO GO SUPERNOVA. I CLAIM NO RESPONSIBILITY FOR
# WHATEVER HAPPENS AFTER YOU RUN THIS. NOW, CARRY ON. :-)
#
# This script, run from the root of a Maven single or multi-module project, will
# update the pom files to increment the build number on the version.