Skip to content

Instantly share code, notes, and snippets.


Tomas Theunissen tomtheun

View GitHub Profile
View Java 9 setup options
Installing Java 9
Option 1: Ops Tools
If you only need to use Java 9 with Maven, you can use our 'Ops Tools' project. This will run Maven with the desired Java version (defaults to 9, but you can switch to Java 7 or 8). Follow the instructions in the README of this project. This option has two benefits; No need install Java on you machine (it runs in a container). And you will always be using the latest version of Maven and Java update version (the bit after 'u' in '8u144' or 'minor'/'patch' version in Java 9). Beware that you will be using OpenJDK when using this option, and not Oracle JDK.
Option 2: Plain install
Go to the Oracle website (, download and run installer.
Option 3: Other
tomtheun / jira-pw-reset.rb
Last active Jan 9, 2017
Simple Ruby script for resetting JIRA user passwords
View jira-pw-reset.rb
#!/usr/bin/env ruby
require 'optparse'
require 'securerandom'
require 'json'
require 'net/http'
options = {} do |parser|

Keybase proof

I hereby claim:

  • I am tomtheun on github.
  • I am tomtheun ( on keybase.
  • I have a public key whose fingerprint is AD0E 9595 9AE8 E689 99CF C276 956A 368D 3A62 F40C

To claim this, I am signing this object:

tomtheun /
Created Nov 26, 2012
Full implementation of a jQuery based Selenium CSS selector (in Java)
package nl.avisi.langur.testing;
import org.openqa.selenium.*;
import org.openqa.selenium.remote.RemoteWebElement;
import java.util.List;
public class JQuerySelector extends By {
private final String jQuerySelector;