View arr.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "John", | |
"age": 20 | |
}, | |
{ | |
"name": "Jack", | |
"age": 28 | |
} | |
] |
View plurals.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* Jison generated parser */ | |
class Parser | |
{ | |
var $symbols_ = array(); | |
var $terminals_ = array(); | |
var $productions_ = array(); | |
var $table = array(); | |
var $defaultActions = array(); |
View gist:7458185
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ sudo mkdir -p /opt/boxen | |
$ sudo chown ${USER}:staff /opt/boxen | |
$ git clone https://github.com/boxen/our-boxen /opt/boxen/repo | |
$ cd /opt/boxen/repo | |
$ git remote rm origin | |
$ git remote add origin git@github.com:heruan/our-boxen | |
$ git push -u origin master | |
$ script/boxen | |
Warning: Permanently added the RSA host key for IP address '192.30.252.128' to the list of known hosts. | |
Boxen is up-to-date. |
View Company.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Entity | |
public class Company { | |
@Id | |
public Long id; | |
} |
View app.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<require from="./registration-form"></require> | |
<registration-form></registration-form> | |
</template> |
View flexbox.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "../valo/valo"; | |
.flexbox { | |
@include valo; | |
.v-layout, .v-slot { | |
display: flex; | |
flex-wrap: wrap; | |
} |
View DownloadStreamWriter.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; |
View StreamDataProvider.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 CustomComparatorTest.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> { |
View bcrypt-hashes.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/. |
OlderNewer