Skip to content

Instantly share code, notes, and snippets.


Ruben Taelman rubensworks

Block or report user

Report or block rubensworks

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View blockchain
Verifying that +rubensworks is my blockchain ID.
rubensworks /
Last active Nov 17, 2015 — forked from nolanlawson/
Gradle tab completion for Bash. Works on both Mac and Linux.

Gradle tab completion script for Bash

A tab completion script that works for Bash. Relies on the BSD md5 command on Mac and md5sum on Linux, so as long as you have one of those two commands, this should work.


$ gradle [TAB]
View gist:c8d02ed92198894ae5e6
var config = {
channels: ["#seriouslee"],
server: "",
botName: "SeriousBot"
var MAX_RANDOM_TIMEOUT = 20000000;
var randomMessages = [
rubensworks / gist:5178205
Created Mar 16, 2013
pseudocode van mijn visie
View gist:5178205
dashboardmapje = new HashMap<Type, Result>();
dashboardmapje.put(indepentent, [de independent view]
dashboardmapje.put(admin, [de admin view]
public static Result dashboard(){
User user = SomeMagicClass.getCurrentUser();
if(user.getRoles().contains(Role.LOGIN)) {
return dashboardmapje.get(user.getType())
else {
You can’t perform that action at this time.