Skip to content

Instantly share code, notes, and snippets.

View sarnowski's full-sized avatar

Tobias Sarnowski sarnowski

View GitHub Profile
@sarnowski
sarnowski / CodeReview.java
Created April 11, 2016 09:31
Java Code Review
package code_review;
import javax.annotation.concurrent.Immutable;
import java.util.List;
@Immutable
public class CodeReview implements Comparable<CodeReview> {
private int m_id;
private String m_type;

Keybase proof

I hereby claim:

  • I am sarnowski on github.
  • I am sarnowski (https://keybase.io/sarnowski) on keybase.
  • I have a public key ASDSfOE5XqL6IdRU6rtga6PHUyL4kdC-heGYj5Yyu65pIwo

To claim this, I am signing this object:

@sarnowski
sarnowski / gist:c79f17ab2fcfddbc2557
Created August 20, 2014 16:15
Datomic db values not equal but should be
(require '[datomic.api :as d])
(def uri "datomic:cass://127.0.0.1:9042/datomic.datomic/demo")
(d/create-database uri)
(def conn (d/connect uri))
(def schema {:db/id (d/tempid :db.part/db),
:db/ident :email,
:db/valueType :db.type/string,