Skip to content

Instantly share code, notes, and snippets.

@toutantic
toutantic / World.java
Created December 5, 2011 12:24
Game of live
package gol;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;
public class World {
Set<String> world = new HashSet<String>();
@toutantic
toutantic / fooBarQixTest
Created November 16, 2011 13:59
FooBarQixTest
package net.codestory.fooBarQix;
import static org.junit.Assert.*;
import org.junit.Test;
public class fooBarQixTest {
String expected[]= new String[]{
"1",
@toutantic
toutantic / JgitTest
Created November 9, 2011 09:51
Code sample for jgit
package net.toutantic.jgit;
import static org.junit.Assert.*;
import java.io.File;
import java.io.FileWriter;
import java.io.IOException;
import java.util.Collection;
import java.util.Iterator;