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
deb http://shell.ninthgate.se/packages/debian squeeze main |
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
object FizzBuzzer { | |
def process(i: Int) = i match { | |
case a if contains("3")(a) => "lucky" | |
case a if multiple(15)(a) => "fizzbuzz" | |
case a if multiple(5)(a) => "buzz" | |
case a if multiple(3)(a) => "fizz" | |
case _ => i.toString | |
} |
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
$ gvm flush candidates | |
# close current terminal and open a new one | |
$ gvm install asciidoctorj | |
$ asciidoctorj -V |
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('com.github.groovy-wslite:groovy-wslite:1.1.2') | |
import wslite.rest.* | |
def consumerKey = "CONSUMER_KEY" | |
def consumerToken = "CONSUMER_TOKEN" | |
def host = "https://bintray.com" | |
def client = new RESTClient(host) | |
def releaseClient = new RESTClient("https://gvm-vendor-dev.herokuapp.com") |
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
$ gvm flush candidates | |
$ gvm install jbossforge | |
$ forge |
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
### Keybase proof | |
I hereby claim: | |
* I am marc0der 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: |
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
#!/usr/bin/env groovy | |
@Grab("org.codehaus.geb:geb-core:0.7.2") | |
@Grab("org.seleniumhq.selenium:selenium-chrome-driver:2.48.2") | |
import geb.* | |
import java.security.MessageDigest | |
import static java.net.URLDecoder.decode |
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 | |
SESSION="gradle" | |
tmux -2 new-session -d -s $SESSION | |
tmux new-window -t $SESSION:1 -n 'benchmark' | |
tmux split-window -v | |
tmux select-pane -t 0 | |
tmux send-keys "clear" C-m | |
tmux send-keys "docker run -it marc0der/gradle:1 zsh" C-m | |
tmux send-keys "sdk use gradle 2.12" C-m |
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 | |
#Tweak this if need be for you system! | |
TARGET_VOLUME="/Volumes/Macintosh HD" | |
DMG_NAME="jdk-8u101-macosx-x64.dmg" | |
MOUNT_VOLUME="/Volumes/JDK 8 Update 101" | |
SHA_256="680de8ddead3867fc34e7ff380f437c7ddb8dc75eb606186a3e8ae7e3b8c7fbc" | |
echo "Getting the DMG..." |
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
buildscript { | |
repositories { | |
maven { url "https://plugins.gradle.org/m2/" } | |
} | |
dependencies { | |
classpath "com.gradle.publish:plugin-publish-plugin:0.9.6" | |
classpath "com.netflix.nebula:nebula-kotlin-plugin:1.0.3" | |
} | |
} |