Skip to content

Instantly share code, notes, and snippets.

Oliver Wilkie oliw

Block or report user

Report or block oliw

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
@oliw
oliw / abba_answer.java
Created Jul 7, 2016
TopCoder Practice - ABBA
View abba_answer.java
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
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
oliw / MessageTest.java
Created Mar 27, 2014
FHIR Java Bug - Serialising and Deserialising
View MessageTest.java
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.InputStream;
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.