Skip to content

Instantly share code, notes, and snippets.

View eleco's full-sized avatar
🏠
Working from home

Elec eleco

🏠
Working from home
View GitHub Profile
@eleco
eleco / Breakout.scala
Created July 23, 2013 18:33
Scala Breakout
import scala.Some
import scala.swing._
import scala.util.Random
import java.awt.Color
import java.util.Timer
import java.util.TimerTask
import swing.event._
@eleco
eleco / DivideBenchmark.java
Created April 1, 2013 20:20
bitwise ops benchmark
import com.carrotsearch.junitbenchmarks.BenchmarkOptions;
import com.carrotsearch.junitbenchmarks.BenchmarkRule;
import org.junit.Before;
import org.junit.Rule;
import org.junit.Test;
import static junit.framework.Assert.assertTrue;
public class DivideBenchmark {