Skip to content

Instantly share code, notes, and snippets.

Asaf Jaffi asafjaffi

Block or report user

Report or block asafjaffi

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
import java.util.concurrent.BrokenBarrierException;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.CyclicBarrier;
public class TestItAll {
CyclicBarrier cb = new CyclicBarrier(8);
private volatile boolean working = true;
public static void main(String[] args) throws InterruptedException {
asafjaffi / remove intellij imls
Created Nov 27, 2013
clean up intellij multi-module project
View remove intellij imls
find . -name "*.iml" | awk '{print "rm "$1}' | sh
asafjaffi / .gitconfig
Created Nov 26, 2013
Git config + aliases
View .gitconfig
name = <>
email = <>
sslCert = <>
s = status
a = add
asafjaffi / Locale Mapping With Jackson Test
Created Nov 11, 2013
Testing to see when the Locale deserializer works
View Locale Mapping With Jackson Test
import java.util.HashMap;
import java.util.Locale;
import java.util.Map;
import org.codehaus.jackson.JsonGenerationException;
import org.codehaus.jackson.type.TypeReference;
import org.junit.Test;
You can’t perform that action at this time.