Skip to content

Instantly share code, notes, and snippets.

:octocat:
Coding

Giovanni Lovato heruan

:octocat:
Coding
Block or report user

Report or block heruan

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 bcrypt-hashes.txt
Fadcfv59klSATAZN $2a$10$RAEHbnhGi2sEDZK.4TY8U.lMPlkHpIXKTHGJ14.p1ZHleYrbVsr9m
j45rXi0OKa8u33D4 $2a$10$ATQpY70dcknzJPFfj187kuoQvONWn328xCCueeoYSXiBMnUGlMR.O
cNf3MWvfXe15eiRX $2a$10$rWzF9S.irV.lNGlICnxzPe/wT/cyo3jizPS4QrRaUDbZG2Q6t2U6.
vQ89UmH6iiOTiuKi $2a$10$ATiaYx.hTFZdjwW2MQdwzOw1eZelVrn72dyP.Xm2gzBS5sgF3SpY6
dEI9NfMIZYur8iHq $2a$10$/JEz.YV/txRYLKkufjjHUO3ythe.tqzrI2JMJVSL8F8OUVGMbn4dS
v2YWtBd5sgBl8JKg $2a$10$5pxH3FKM.yh04OTrBPIMLO5LbBswmiLd3IFcT7fTeiKj5JK.DR0OG
pfwqWrUQwT00esAl $2a$10$Knf7o5f2TL6vZisvBDv1ye1i3uJ.ntubRuBHpl.OjhIr77oug3.Q6
NiyYaHLOj2wrUTDM $2a$10$FcmaVo.AUuO5CwbMsIm.ruNwiJttjI33bvcKR0vJWTnyJNd/jXZMW
qklrYaWsh4DdwbMN $2a$10$bQV71ZDm/xWm4H7DTFYp0ehDy/zF0xCOULuZNCHC0SjLh.3rxTr5.
Ck1pFOb1tMSRb573 $2a$10$3dMTbX0.3Oh6tyImAAmUMuFaOtekFIAlkiRxtzZILau1GPElwL7/.
@heruan
heruan / commands.cli
Created Jan 30, 2018 — forked from darranl/commands.cli
WildFly Elytron - SSL Configuration
View commands.cli
Client Cert authentication with fallback to username / password authentication.
# Paths
./path=elytron.project:add(path=/home/darranl/src/wildfly10/wildfly-elytron)
./path=elytron.project.jks:add(path=src/test/resources/ca/jks, relative-to=elytron.project)
./path=elytron.project.properties:add(path=src/test/resources/org/wildfly/security/auth/realm, relative-to=elytron.project)
# KeyStores
View CustomComparatorTest.java
import java.util.Comparator;
import java.util.Optional;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
public class CustomComparatorTest {
static class CustomComparator<T> implements Comparator<T> {
@heruan
heruan / StreamDataProvider.java
Last active Nov 21, 2017
Transactional DataCommunicator and Grid for Flow
View StreamDataProvider.java
import java.util.function.Predicate;
import java.util.function.Supplier;
import java.util.stream.Stream;
import com.vaadin.data.provider.AbstractBackEndDataProvider;
import com.vaadin.data.provider.Query;
public class StreamDataProvider<T> extends AbstractBackEndDataProvider<T, Predicate<T>> {
private final Supplier<Stream<T>> streamSupplier;
View test-client-default-value.diff
diff --git a/flow-html-components/src/test/java/com/vaadin/ui/html/ComponentProperty.java b/flow-html-components/src/test/java/com/vaadin/ui/html/ComponentProperty.java
index bd670982ff..c92bc10f41 100644
--- a/flow-html-components/src/test/java/com/vaadin/ui/html/ComponentProperty.java
+++ b/flow-html-components/src/test/java/com/vaadin/ui/html/ComponentProperty.java
@@ -23,19 +23,20 @@ import com.vaadin.ui.Component;
public class ComponentProperty {
public String name;
- public Object defaultValue, otherValue;
+ public Object defaultValue, otherValue, clientDefault;
@heruan
heruan / DownloadStreamWriter.java
Created Jun 16, 2017
Vaadin Resource for FileDownload which consumes OutputStream
View DownloadStreamWriter.java
import java.io.IOException;
import java.io.OutputStream;
import java.util.Iterator;
import java.util.function.Consumer;
import javax.servlet.http.HttpServletResponse;
import com.vaadin.server.Constants;
import com.vaadin.server.DownloadStream;
import com.vaadin.server.VaadinRequest;
@heruan
heruan / flexbox.scss
Created Jan 26, 2017
Simple theme to make Valo layouts flexible
View flexbox.scss
@import "../valo/valo";
.flexbox {
@include valo;
.v-layout, .v-slot {
display: flex;
flex-wrap: wrap;
}
@heruan
heruan / app.html
Created Aug 10, 2016 — forked from jdanyow/app.html
Aurelia Validation Demo
View app.html
<template>
<require from="./registration-form"></require>
<registration-form></registration-form>
</template>
@heruan
heruan / Company.java
Created Feb 26, 2016
Entity with multiple reference to a composite-id foreign key throws EntityExistsException
View Company.java
@Entity
public class Company {
@Id
public Long id;
}
@heruan
heruan / arr.json
Created May 29, 2015
Mapping JSON parsed object instances
View arr.json
[
{
"name": "John",
"age": 20
},
{
"name": "Jack",
"age": 28
}
]
You can’t perform that action at this time.