Skip to content

Instantly share code, notes, and snippets.


João Antonio Ferreira joao-parana

View GitHub Profile
joao-parana / .block
Created Mar 28, 2018 — forked from mbostock/.block
Chord Diagram
View .block
license: gpl-3.0
height: 960
border: no
package com.neolitec.examples;
import org.apache.commons.codec.binary.Base64;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
joao-parana /
Created Oct 2, 2015 — forked from voxxit/
Consul + Vault + MySQL = <3
git clone vault
cd vault
docker-compose up -d
export VAULT_ADDR=

Initializing a vault:

vault init
View MyListenerAndMyEntityWithListener
package model.entity;
import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.Id;
@Entity @EntityListeners(MyListener.class)
public class MyEntityWithListener {
private long id;