Skip to content

Instantly share code, notes, and snippets.

View yrodiere's full-sized avatar

Yoann Rodière yrodiere

View GitHub Profile
diff -I 'Generated by javadoc' -r /home/yrodiere/tmp/github-api-apidocs-17-11/org/kohsuke/github/EnforcementLevel.html /home/yrodiere/tmp/github-api-apidocs-17-8/org/kohsuke/github/EnforcementLevel.html
49c49
< <li><a href="#nested-class-summary">Nested</a>&nbsp;|&nbsp;</li>
---
> <li>Nested&nbsp;|&nbsp;</li>
84c84
< <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html" title="class or interface in java.io" class="external-link">Serializable</a></code>, <code><a href="https://docs.oracle.com/javase/8/docs/api/java/lang/Comparable.html" title="class or interface in java.lang" class="external-link">Comparable</a>&lt;<a href="EnforcementLevel.html" title="enum in org.kohsuke.github">EnforcementLevel</a>&gt;</code>, <code>java.lang.constant.Constable</code></dd>
---
> <dd><code><a href="https://docs.oracle.com/javase/8/docs/api/java/io/Serializable.html" title="class or interface in java.io" class="external-link">Serializable</a></code>, <code><a href="https://docs.oracle.com/jav
@yrodiere
yrodiere / generated-config.diff
Created June 23, 2021 15:25
Diff of generated config doc before and after https://github.com/quarkusio/quarkus/pull/18106
diff -r target/asciidoc/generated/config/quarkus-amazon-common-config-group-aws-config.adoc /home/yrodiere/tmp/config/quarkus-amazon-common-config-group-aws-config.adoc
6c6
< h|[[quarkus-amazon-common-config-group-aws-config_quarkus.sqs.aws-aws-services-configurations]]link:#quarkus-amazon-common-config-group-aws-config_quarkus.sqs.aws-aws-services-configurations[AWS services configurations]
---
> h|[[quarkus-amazon-common-config-group-aws-config_quarkus.ssm.aws-aws-services-configurations]]link:#quarkus-amazon-common-config-group-aws-config_quarkus.ssm.aws-aws-services-configurations[AWS services configurations]
11c11
< a| [[quarkus-amazon-common-config-group-aws-config_quarkus.sqs.aws.region]]`link:#quarkus-amazon-common-config-group-aws-config_quarkus.sqs.aws.region[quarkus.sqs.aws.region]`
---
> a| [[quarkus-amazon-common-config-group-aws-config_quarkus.ssm.aws.region]]`link:#quarkus-amazon-common-config-group-aws-config_quarkus.ssm.aws.region[quarkus.ssm.aws.region]`
31c31
/home/yrodiere/tools/java/jdk1.8/bin/java -ea -Djava.util.logging.manager=org.jboss.logmanager.LogManager -Dmaven.home=/home/yrodiere/.m2/wrapper/dists/apache-maven-3.6.3-bin/1iopthnavndlasol9gbrbg6bf2/apache-maven-3.6.3 -Xmx1500m -Didea.test.cyclic.buffer.size=1048576 -Dfile.encoding=UTF-8 -classpath /home/yrodiere/tools/idea/idea-IC-193.6494.35/lib/idea_rt.jar:/home/yrodiere/.m2/repository/org/junit/platform/junit-platform-launcher/1.7.0/junit-platform-launcher-1.7.0.jar:/home/yrodiere/tools/idea/current/plugins/junit/lib/junit5-rt.jar:/home/yrodiere/tools/idea/current/plugins/junit/lib/junit-rt.jar:/home/yrodiere/tools/java/jdk1.8/jre/lib/charsets.jar:/home/yrodiere/tools/java/jdk1.8/jre/lib/ext/cldrdata.jar:/home/yrodiere/tools/java/jdk1.8/jre/lib/ext/dnsns.jar:/home/yrodiere/tools/java/jdk1.8/jre/lib/ext/jaccess.jar:/home/yrodiere/tools/java/jdk1.8/jre/lib/ext/localedata.jar:/home/yrodiere/tools/java/jdk1.8/jre/lib/ext/nashorn.jar:/home/yrodiere/tools/java/jdk1.8/jre/lib/ext/sunec.jar:/home/yrodiere/tool
@yrodiere
yrodiere / result.diff
Created April 1, 2020 15:41
Diff of OSGI manifests after pull request https://github.com/hibernate/hibernate-orm/pull/3080
=====================
File /home/yrodiere/.m2/repository/org/hibernate/hibernate-testing/5.4.13.Final/hibernate-testing-5.4.13.Final.jar
{
Bnd-LastModified: {
- 1585286204000: {
- }
+ 1585667846000: {
+ }
}
Created-By: {
@yrodiere
yrodiere / Scratch
Created January 8, 2020 10:19
ZonedDateTime with offset and zone ID
import static java.time.temporal.ChronoField.DAY_OF_MONTH;
import static java.time.temporal.ChronoField.HOUR_OF_DAY;
import static java.time.temporal.ChronoField.MINUTE_OF_HOUR;
import static java.time.temporal.ChronoField.MONTH_OF_YEAR;
import static java.time.temporal.ChronoField.NANO_OF_SECOND;
import static java.time.temporal.ChronoField.SECOND_OF_MINUTE;
import static java.time.temporal.ChronoField.YEAR;
import java.time.ZonedDateTime;
import java.time.format.DateTimeFormatter;
@yrodiere
yrodiere / search6-merge
Last active September 3, 2018 15:26
Search 6 POC merge script
#!/bin/bash
set -o errexit
set -o pipefail
function log() {
echo 1>&2 "${@}"
}
function abort() {
import java.io.IOException;
import org.junit.Assert;
import org.junit.Test;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.core.KeywordAnalyzer;
import org.apache.lucene.index.Term;
import org.apache.lucene.search.Query;
import org.apache.lucene.search.TermQuery;
@yrodiere
yrodiere / after_HSEARCH-2867.txt
Created September 12, 2017 09:59
Hibernate Search - JDK9 modules sharing a package
[ERROR] the unnamed module reads package org.apache.lucene.util.fst from both lucene.misc and lucene.core
[ERROR] the unnamed module reads package org.apache.lucene.store from both lucene.misc and lucene.core
[ERROR] the unnamed module reads package org.apache.lucene.search from both lucene.misc and lucene.core
[ERROR] the unnamed module reads package org.apache.lucene.index from both lucene.misc and lucene.core
[ERROR] the unnamed module reads package org.apache.lucene.document from both lucene.misc and lucene.core
[ERROR] module hibernate.core reads package org.apache.lucene.util.fst from both lucene.misc and lucene.core
[ERROR] module hibernate.core reads package org.apache.lucene.store from both lucene.misc and lucene.core
[ERROR] module hibernate.core reads package org.apache.lucene.search from both lucene.misc and lucene.core
[ERROR] module hibernate.core reads package org.apache.lucene.index from both lucene.misc and lucene.core
[ERROR] module hibernate.core reads package org.apache.lucene.document fro
61c61
< <file-handler name="file" formatter="json-formatter" path="audit-log.log" relative-to="jboss.server.data.dir"/>
---
> <file-handler name="file" formatter="json-formatter" relative-to="jboss.server.data.dir" path="audit-log.log"/>
102a103,105
> <logger category="org.apache.tomcat.util.modeler">
> <level name="WARN"/>
> </logger>
105a109,111
> <logger category="org.hibernate.search">
3c3
< <server xmlns="urn:jboss:domain:4.2">
---
> <server xmlns="urn:jboss:domain:4.0">
47,51d46
< <server-identities>
< <ssl>
< <keystore path="application.keystore" relative-to="jboss.server.config.dir" keystore-password="password" alias="server" key-password="password" generate-self-signed-certificate-host="localhost"/>
< </ssl>
< </server-identities>