Skip to content

Instantly share code, notes, and snippets.

Avatar

Matt Welke mattwelke

View GitHub Profile
View wgferg
!SESSION 2021-11-29 12:56:28.241 -----------------------------------------------
eclipse.buildId=unknown
java.version=11.0.11
java.vendor=AdoptOpenJDK
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en
Command-line arguments: -data /home/matt/.vscode-server/data/User/workspaceStorage/f631cd3f34341cfe0d384ac8caa5934a/redhat.java/jdt_ws
!ENTRY org.eclipse.jdt.ls.core 1 0 2021-11-29 12:56:28.779
!MESSAGE class org.eclipse.jdt.ls.core.internal.JavaLanguageServerPlugin is started
View g43gg35g
HISTFILE=/workspace/.gitpod/cmd-0 history -r; {
go get -v github.com/go-delve/delve/cmd/dlv
go get -v -t -d ./...
} && {
go build -o app && ./app
}
gitpod /workspace/go-starter $ HISTFILE=/workspace/.gitpod/cmd-0 history -r; {
> go get -v github.com/go-delve/delve/cmd/dlv
@mattwelke
mattwelke / gist:6b16e020da658d63e46cb686e37c9240
Created Nov 24, 2021
VS Code Gitpod Java logs when error "No delegateCommandHandler for vscode.java.startDebugSession" occurs
View gist:6b16e020da658d63e46cb686e37c9240
!SESSION 2021-11-24 01:11:24.744 -----------------------------------------------
eclipse.buildId=unknown
java.version=11.0.13
java.vendor=Azul Systems, Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -data /home/gitpod/.vscode-remote/data/User/workspaceStorage/4affa720-2/redhat.java/jdt_ws
!ENTRY org.eclipse.jdt.ls.core 1 0 2021-11-24 01:11:26.595
!MESSAGE class org.eclipse.jdt.ls.core.internal.JavaLanguageServerPlugin is started
@mattwelke
mattwelke / error
Last active Oct 9, 2021
Javalin and GCP Monitoring with custom runtime issue
View error
[main] INFO io.grpc.netty.shaded.io.netty.util.internal.PlatformDependent - Your platform does not provide complete low-level API for accessing direct buffers reliably. Unless explicitly requested, heap buffer will always be preferred to avoid potential system instability.
[main] INFO io.javalin.Javalin -
__ __ _ __ __
/ /____ _ _ __ ____ _ / /(_)____ / // /
__ / // __ `/| | / // __ `// // // __ \ / // /_
/ /_/ // /_/ / | |/ // /_/ // // // / / / /__ __/
\____/ \__,_/ |___/ \__,_//_//_//_/ /_/ /_/
https://javalin.io/documentation
@mattwelke
mattwelke / gist:8626ac5aee4e2fbfa2c6572594eba898
Created Aug 21, 2021
Javalin log message when query string param parsing fails
View gist:8626ac5aee4e2fbfa2c6572594eba898
[qtp247944893-23] INFO io.javalin.Javalin - Parameter 'from' with value '123' is not a valid Instant
[qtp247944893-23] WARN io.javalin.Javalin -
-------------------------------------------------------------------
Missing dependency 'Jackson'. Add the dependency.
pom.xml:
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.12.3</version>
View Test.java
public class Test {
public static void main(String[] args) {
System.out.println("Hello, world!");
}
}
View gist:b826907a1ff65645dcecad3e214b2e4e
├── CONTRIBUTING.md
├── LICENSE.txt
├── NOTICE.txt
├── README.md
├── build.gradle
├── core
│   ├── java8
│   │   ├── CHANGELOG.md
│   │   ├── Dockerfile
│   │   ├── build.gradle
View sdjkhfbsduifbuisdbuisd.ts
class Parent {
private readonly _child: Child;
constructor() {
// Make a DataDog counter and wrap the child's functions
this._child = new Child();
const dataDogCounter = new DataDogCounter();
}
View sdoignuiosdbn.ts
class Parent {
private readonly _child: Child;
constructor() {
// Make a DataDog counter and wrap the child's functions
this._child = new Child();
const dataDogCounter = new DataDogCounter();
}
View gist:1ab978ff495124700fb8db64d0564364
Starting OmniSharp server at 2018-5-8 21:30:56
Target: /home/mwelke/MyAs
OmniSharp server started wth Mono
Path: /home/mwelke/.vscode/extensions/ms-vscode.csharp-1.14.0/.omnisharp/omnisharp/OmniSharp.exe
PID: 6048
[info]: OmniSharp.Stdio.Host
Starting OmniSharp on arch 0.0 (x64)
[warn]: OmniSharp.MSBuild.Discovery.Providers.MonoInstanceProvider