Skip to content

Instantly share code, notes, and snippets.

View marc0der's full-sized avatar

Marco Vermeulen marc0der

View GitHub Profile
@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:5929475
Created July 4, 2013 18:18
GVM Selfupdate
gvm selfupdate && source ~/.gvm/bin/gvm-init.sh
@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: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: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
#adding glide to gvm
gvm flush candidates
source ~/.gvm/bin/gvm-init.sh
gvm install glide
@marc0der
marc0der / wallpapers.groovy
Created April 5, 2014 16:59
A wallpaper downloader using Geb
@Grab("org.codehaus.geb:geb-core:0.7.2")
@Grab("org.seleniumhq.selenium:selenium-chrome-driver:2.32.0")
import geb.*
import static java.net.URLDecoder.decode
def images = new HashSet()
def userHome = System.getProperty('user.home')
def pictureFolder = "${userHome}/Pictures"
@marc0der
marc0der / keybase.md
Last active August 29, 2015 13:58
keybase.md

Keybase proof

I hereby claim:

  • I am marcovermeulen on github.
  • I am marcovermeulen (https://keybase.io/marcovermeulen) on keybase.
  • I have a public key whose fingerprint is 4EF1 482E D60C 7CBF C1EB 40AC 33E7 5AD0 46EF 18C4

To claim this, I am signing this object:

@marc0der
marc0der / gist:034427ea661c7e881d60
Created June 8, 2014 21:25
Install Crash on GVM
#ensure internet is reachable
$ gvm flush candidates
#open a new terminal now
$ gvm install crash 1.3.0.RC7
_____ ________ _______ ____ ____
.' `. | `. .' `. | | | 1.3.0-cr7
@marc0der
marc0der / gist:afdd4331f097e7f25e90
Last active August 29, 2015 14:05
Adds new JBake candidate to GVM
$ gvm flush candidates
# close current terminal and open a new one
$ gvm install jbake
$ jbake -help