Hey, I'm trying something for GH Candle let's see if it works ;)
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
@Grab(group='net.razorvine', module='pyrolite', version='4.20') | |
@Grab(group='com.jossemargt', module='cookie-twist', version='0.3.1') | |
// HMAC SHA256 sign | |
import java.security.InvalidKeyException; | |
import java.security.NoSuchAlgorithmException; | |
import java.security.SignatureException; | |
import java.util.Formatter; | |
import javax.crypto.Mac; |
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 | |
JENKINS_URL=$1 | |
HINT=${2-master} | |
USER=${3-jenkins} | |
JENKINS_TOKEN=$4 | |
REMINDER=`mktemp /tmp/${HINT}.XXXXX` | |
echo "ID's will be printed on ${REMINDER}" |
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 | |
# Force update for your local node modules, use with caution though | |
OUTDATED=`npm outdated` | |
while IFS=$'\n' read -ra item; do | |
if [[ $item == *"Package"* ]]; then | |
continue | |
fi |