Skip to content

Instantly share code, notes, and snippets.

View marc0der's full-sized avatar

Marco Vermeulen marc0der

View GitHub Profile
#adding glide to gvm
gvm flush candidates
source ~/.gvm/bin/gvm-init.sh
gvm install glide
@marc0der
marc0der / gist:6870948
Last active December 24, 2015 22:09
Install Gaiden on GVM
#ensure internet is reachable
$ gvm flush candidates
#open a new terminal now
$ gvm install gaiden
$ gaiden
@marc0der
marc0der / gist:6194433
Last active December 20, 2015 20:59
Install springboot with GVM
$ gvm flush candidates
#open a new terminal now
$ gvm install springboot
$ spring --version
#have fun
@marc0der
marc0der / gist:6015948
Last active May 24, 2022 10:06
Higher order function in bash!
#!/bin/bash
function printit {
echo "This is from an embedded function: $1"
}
function printthat {
echo "This is the first line."
$1 $2
echo "This is the third line."
@marc0der
marc0der / gist:5929475
Created July 4, 2013 18:18
GVM Selfupdate
gvm selfupdate && source ~/.gvm/bin/gvm-init.sh
@marc0der
marc0der / gist:5918820
Created July 3, 2013 14:53
Switch to GVM Prod
export GVM_SERVICE="http://dev.gvmtool.net" && gvm selfupdate
@marc0der
marc0der / gist:5684862
Created May 31, 2013 13:07
Install Groovy with GVM
gvm install groovy
@marc0der
marc0der / gist:5683846
Created May 31, 2013 09:22
Switch to GVM DEV
export GVM_SERVICE="http://dev.gvmtool.net" && gvm selfupdate
@marc0der
marc0der / gist:5683790
Created May 31, 2013 09:11
Switch to GVM Beta
export GVM_SERVICE="http://beta.gvmtool.net" && gvm selfupdate
@marc0der
marc0der / deploy-gvm.sh
Created December 3, 2012 14:22
Deploy GVM
#!/bin/bash
ENV="$1"
TAG="$2"
if [[ -z "$ENV" || -z "$TAG" ]]; then
echo "Usage: deploy-gvm <env> <tag>"
exit 0
fi