Skip to content

Instantly share code, notes, and snippets.

@derTobsch
derTobsch / maven
Created April 21, 2017 08:29
Enhancemants with maven: use wrapper if available - some shortcuts
# mvn
notified_maven() {
if [ -x ./mvnw ]; then
echo "## Maven Wrapper"
./mvnw $@ -Dspring.output.ansi.enabled=ALWAYS
else
echo "## Global Maven"
mvn $@ -Dspring.output.ansi.enabled=ALWAYS
fi
@derTobsch
derTobsch / fetch_all.sh
Last active December 6, 2018 13:29
Bash alias to pull (with rebase) all repository in the first depth of the actual directory
refresh_all_repos() {
count_all=0;
count_up_to_date=0;
count_updated=0;
count_need_to_push=0;
count_diverged=0;
count_conflict=0;
count_no_remote=0;

Keybase proof

I hereby claim:

  • I am derTobsch on github.
  • I am tobsch (https://keybase.io/tobsch) on keybase.
  • I have a public key whose fingerprint is 1813 550D 59A5 ED54 A3D3 1A93 7917 F86F 3F95 4808

To claim this, I am signing this object: