This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
reset=$(tput sgr0) | |
bold=$(tput bold) | |
black=$(tput setaf 0) | |
red=$(tput setaf 1) | |
green=$(tput setaf 2) | |
yellow=$(tput setaf 3) | |
blue=$(tput setaf 4) | |
magenta=$(tput setaf 5) | |
cyan=$(tput setaf 6) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.mergenie.util; | |
import java.util.function.Consumer; | |
import java.util.function.Function; | |
/** | |
* utility class Maybe, simple object wrapper to prevent null pointer exceptions | |
* | |
* @param <T> | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
TARGET_VERSION="develop" | |
Color_Off='\033[0m' | |
BRed="\033[1;31m" | |
# put the pom.xml from develop branch into the temp folder | |
RANDOM_NUMBER=$((100000 + $RANDOM % 100000)) | |
#echo "RANDOM_NUMBER: "$RANDOM_NUMBER | |
#echo "git show $TARGET_VERSION:pom.xml > /tmp/$RANDOM_NUMBER-pom.xml" |