Skip to content

Instantly share code, notes, and snippets.

Avatar

Ilya Rodionov ris58h

View GitHub Profile
@ris58h
ris58h / peekview.css
Created Aug 6, 2018
Custom PeekView CSS for VSCode which moves PeekView header actions to the left side.
View peekview.css
.monaco-editor .peekview-widget .head {
flex-direction: row-reverse;
}
.monaco-editor .peekview-widget .head .peekview-title {
flex: 1;
}
.monaco-editor .peekview-widget .head .peekview-actions {
flex: initial;
View Full stacktrace
12:21:06.250 [reactor-http-nio-1] INFO r.ipc.netty.tcp.BlockingNettyContext - Started HttpServer on /127.0.0.1:8888
12:22:47.673 [reactor-http-nio-4] WARN i.n.util.concurrent.DefaultPromise - An exception was thrown by reactor.ipc.netty.channel.PooledClientContextHandler.operationComplete()
reactor.core.Exceptions$BubblingException: java.util.concurrent.TimeoutException: Acquire operation took longer then configured maximum time
at reactor.core.Exceptions.bubble(Exceptions.java:112)
at reactor.core.publisher.Operators.onErrorDropped(Operators.java:266)
at reactor.core.publisher.MonoCreate$DefaultMonoSink.error(MonoCreate.java:155)
at reactor.ipc.netty.channel.ContextHandler.fireContextError(ContextHandler.java:272)
at reactor.ipc.netty.channel.PooledClientContextHandler.operationComplete(PooledClientContextHandler.java:149)
at io.netty.util.concurrent.DefaultPromise.notifyListener0(DefaultPromise.java:507)
at io.netty.util.concurrent.DefaultPromise.notifyListenersNow(DefaultPromise.java:481)
View ReactorFibonacci.java
import reactor.core.publisher.Mono;
import reactor.ipc.netty.http.client.HttpClient;
import reactor.ipc.netty.http.client.HttpClientResponse;
import reactor.ipc.netty.http.server.HttpServer;
import reactor.ipc.netty.http.server.HttpServerRoutes;
import java.nio.charset.Charset;
import java.util.function.Consumer;
import java.util.function.Function;