Skip to content

Instantly share code, notes, and snippets.

nzroller / git-pr-cleanup
Created Aug 19, 2016
Github squash-merge PR local cleanup
View git-pr-cleanup
# Delete local branches whose upstream has been removed
# (useful for Github squashed and merged branches)
# WARNING: git branch -D will force delete branches!
git branch -vv | grep ' gone' | cut -d' ' -f1-3 | xargs -i git branch -D {}
nzroller /
Created Apr 21, 2016
Keybase Identity

Keybase proof

I hereby claim:

  • I am nzroller on github.
  • I am nzroller ( on keybase.
  • I have a public key ASDSfO0YA6Jmmup-CSb80LaNYOdAh2I6fVqt8yRjw4dwvQo

To claim this, I am signing this object:

nzroller / IncludeNonEmptySerializationTest
Created Jun 16, 2015
Include.NON_EMPTY default and afterburner serialization test
View IncludeNonEmptySerializationTest
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.module.afterburner.AfterburnerModule;
public class PrimitiveTest {
You can’t perform that action at this time.