SET "MAVEN_OPTS=-Ddistinct.local.repository=true -Xmx3G -Xms256m -Djava.awt.headless=true -XX:+UnlockCommercialFeatures -XX:+FlightRecorder -XX:StartFlightRecording=duration=60s,delay=0s,settings=profile,filename=/tmp/recording.jfr"
mvn verify
This file contains hidden or 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 org.slf4j.Logger; | |
import org.slf4j.LoggerFactory; | |
import java.io.IOException; | |
import java.net.http.HttpClient; | |
import java.net.http.HttpRequest; | |
import java.net.http.HttpResponse; | |
import java.net.http.HttpResponse.BodyHandler; | |
import java.time.Duration; | |
import java.util.concurrent.CompletableFuture; |
This file contains hidden or 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
#!/usr/bin/env bash | |
## Copyright (C) 2017, Oleksandr Kucherenko | |
## Last revisit: 2017-09-29 | |
## Bug fixes: 2021-06-09, @slmingol changes applied | |
# For help: | |
# ./versionip.sh --help | |
# For developer / references: | |
# https://ryanstutorials.net/bash-scripting-tutorial/bash-functions.php |
This file contains hidden or 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
Windows Registry Editor Version 5.00 | |
[HKEY_CLASSES_ROOT\Folder\shell\Open CMD here] | |
[HKEY_CLASSES_ROOT\Folder\shell\Open CMD here\command] | |
@="cmd.exe /k \"D:\\dev\\tools\\scripts\\bat\\cmdrc.cmd %L\"" |
This file contains hidden or 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
REM set window title based on open directory | |
SET WINDOW_TITLE=%~n1% | |
REM if current directory has a '.title' file, use it instead | |
IF EXIST %CD%/.title SET /P WINDOW_TITLE=<%CD%/.title | |
#REM finally set the window title | |
TITLE %WINDOW_TITLE% |
This file contains hidden or 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
@ECHO OFF | |
REM ======================================================== | |
REM | |
REM This file is a helper to switch to different JDKs | |
REM It creates a directory symbolic link to %BASE_JDK_HOME%\current | |
REM the directory '%BASE_JDK_HOME%\current' should be part of your path | |
REM | |
REM ======================================================== |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 javafx.application.Application; | |
import javafx.scene.Scene; | |
import javafx.scene.web.WebView; | |
import javafx.stage.Stage; | |
public class SimpleBrowser extends Application { | |
@Override | |
public void start(Stage stage) { | |
WebView wv = new WebView(); | |
wv.getEngine().load("http://localhost:8080/app.html"); |
This file contains hidden or 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
# | |
# A fatal error has been detected by the Java Runtime Environment: | |
# | |
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x5fe2c175, pid=5732, tid=0x00001ffc | |
# | |
# JRE version: Java(TM) SE Runtime Environment (8.0_102-b01) (build 1.8.0_102-ea-b01) | |
# Java VM: Java HotSpot(TM) Client VM (25.102-b01 mixed mode windows-x86 ) | |
# Problematic frame: | |
# C [jfxwebkit.dll+0x8ec175] | |
# |
NewerOlder