Skip to content

Instantly share code, notes, and snippets.

Oliver Wilkie oliw

View GitHub Profile
oliw /
Created Jul 7, 2016
TopCoder Practice - ABBA
public class Main {
public String canObtain(String initial, String target) {
// Target is always longer than initial
if (canObtainHelper(initial, target)) {
return "Possible";
} else {
return "Impossible";
oliw / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
oliw /
Created Mar 27, 2014
FHIR Java Bug - Serialising and Deserialising
import org.hl7.fhir.instance.formats.Composer;
import org.hl7.fhir.instance.formats.JsonComposer;
import org.hl7.fhir.instance.formats.JsonParser;
import org.hl7.fhir.instance.formats.ParserBase.ResourceOrFeed;
import org.hl7.fhir.instance.model.AtomFeed;
import org.junit.Test;
You can’t perform that action at this time.