Skip to content

Instantly share code, notes, and snippets.


Block or report user

Report or block juanfezero

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
View maven-java-version.xml
juanfezero / eclipse.ini
Created Sep 6, 2016
Eclipse best .ini configuration
View eclipse.ini
juanfezero /
Last active Oct 26, 2015
database column char to boolean hibernate - juanfezero -
//if ADMIN database column contains 'yes' then admin = true
//otherwise admin = false
@Column(name = "ADMIN", columnDefinition = "char(3)")
@Type(type = "yes_no")
private boolean admin;
juanfezero / 0_reuse_code.js
Last active Aug 29, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
juanfezero /
Last active Oct 26, 2015
get stacktrace and print - juanfezero -
// ex is an exception (ExceptionUtils in commons.lang3)
juanfezero / springSelectOptionsWithEnum
Last active Nov 19, 2015
spring select options with enum - juanfezero -
View springSelectOptionsWithEnum
Enum example:
public enum Foo {
A("theA"), B("theB");
private String code;
private Foo(String code) {
this.code = code
//getter & setter's code
You can’t perform that action at this time.