Skip to content

Instantly share code, notes, and snippets.

Johannes Schüth Jotschi

Block or report user

Report or block Jotschi

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 reflection-config.json
"methods":[{"name":"valueOf","parameterTypes":["java.lang.String"] }]
"methods":[{"name":"<init>","parameterTypes":[] }]
Jotschi / build.log
Last active May 10, 2019
View build.log
[INFO] Scanning for projects...
[WARNING] Some problems were encountered while building the effective model for de.jotschi:vertx-graalvm-native-image-test:jar:0.0.1-SNAPSHOT
[WARNING] 'dependencies.dependency.systemPath' for should not point at files within the project directory, ${basedir}/svm.jar will be unresolvable by dependent projects @ line 132, column 16
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
Jotschi / View.jsx
Created May 9, 2019
Websocket Gentics Mesh Snippets
View View.jsx
import useWebsocketBridge from '../eventbus';
export default function ScreenView({ match }) {
const id =;
const [screenResponse, setScreenResponse] = useState();
useWebsocketBridge(async () => { setScreenResponse(await getScreen(id)) });
useEffect(() => {
}, []);
Jotschi /
Created Apr 18, 2019
HandlebarsExample Vert.x Example
public class HandlebarsExample extends AbstractVerticle {
public void start(Future<Void> startFuture) throws Exception {
HttpServerOptions options = new HttpServerOptions();
HttpServer server = vertx.createHttpServer(options);
Router router = Router.router(vertx);
HandlebarsTemplateEngine engine = HandlebarsTemplateEngine.create(vertx);
View graal-netty-image-error.log
Executing [
/opt/jvm/graalvm-1.0.0-rc1/bin/java \
-Xbootclasspath/a:/opt/jvm/graalvm-1.0.0-rc1/jre/lib/boot/graal-sdk.jar:/opt/jvm/graalvm-1.0.0-rc1/jre/lib/boot/graaljs-scriptengine.jar \
-cp \
/opt/jvm/graalvm-1.0.0-rc1/jre/lib/svm/builder/objectfile.jar:/opt/jvm/graalvm-1.0.0-rc1/jre/lib/svm/builder/pointsto.jar:/opt/jvm/graalvm-1.0.0-rc1/jre/lib/svm/builder/svm.jar:/opt/jvm/graalvm-1.0.0-rc1/jre/lib/jvmci/graal.jar:/opt/jvm/graalvm-1.0.0-rc1/jre/lib/jvmci/jvmci-hotspot.jar:/opt/jvm/graalvm-1.0.0-rc1/jre/lib/jvmci/jvmci-api.jar \
-server \
-d64 \
-noverify \
-XX:+UnlockExperimentalVMOptions \
-XX:+EnableJVMCI \
View orientdb-sync-error.log
TEST DEBUG [main] [] - Starting container: mesh-local
TEST DEBUG [main] [] - Trying to start container: mesh-local
TEST DEBUG [main] [] - Trying to start container: mesh-local (attempt 1/1)
TEST DEBUG [main] [] - Starting container: mesh-local
TEST INFO [main] [] - Creating container for image: mesh-local
TEST INFO [main] [] - Starting container with ID: afbfb45ceb0c5b5fa87e1a4cb706b72bd3360ddf205ade8855deb0c762464e92
TEST INFO [main] [] - Container mesh-local is starting: afbfb45ceb0c5b5fa87e1a4cb706b72bd3360ddf205ade8855deb0c762464e92
TEST INFO [main] [] - Container mesh-local started
TEST DEBUG [main] [] -
+ Profiler [Container startup]
Jotschi /
Created Dec 21, 2017
Vert.x 3.5.0 RxJava2 PumpTest
import static org.junit.Assert.assertEquals;
import org.junit.Test;
import io.reactivex.Observable;
import io.vertx.core.file.OpenOptions;
Jotschi /
Created Nov 29, 2017
Vert.x 3.5.0 Websocket Regression Reproducer
import io.vertx.core.AbstractVerticle;
import io.vertx.core.Future;
import io.vertx.core.Vertx;
import io.vertx.core.http.HttpClient;
import io.vertx.core.http.HttpClientOptions;
import io.vertx.core.http.HttpServer;
import io.vertx.core.http.HttpServerOptions;
import io.vertx.core.json.JsonObject;
import io.vertx.ext.bridge.PermittedOptions;
View stack.yml
version: '3.1'
image: gentics/mesh-demo
- 8080:8080
Jotschi / translationTable.ts
Created Sep 28, 2017
Mesh UI Translations
View translationTable.ts
module meshAdminUi {
const userAuth = {
'LOG_IN': {
en: 'Log In',
de: 'Einloggen'
'LOG_OUT': {
en: 'Log Out',
de: 'Ausloggen'
You can’t perform that action at this time.