A tab completion script that works for Bash. Relies on the BSD md5
command on Mac and md5sum
on Linux, so as long as you have one of those two commands, this should work.
$ gradle [TAB]
Exception in thread "JavaFX Application Thread" java.lang.NullPointerException | |
at com.sun.glass.ui.monocle.MonocleWindowManager.repaintAll(MonocleWindowManager.java:163) | |
at com.sun.glass.ui.monocle.MonocleWindow.notifyDestroy(MonocleWindow.java:427) | |
at com.sun.glass.ui.monocle.MonocleWindowManager.closeWindow(MonocleWindowManager.java:106) | |
at com.sun.glass.ui.monocle.MonocleWindow._close(MonocleWindow.java:178) | |
at com.sun.glass.ui.Window.close(Window.java:323) | |
at com.sun.javafx.tk.quantum.WindowStage.lambda$close$393(WindowStage.java:764) | |
at com.sun.javafx.tk.quantum.QuantumToolkit.runWithRenderLock(QuantumToolkit.java:407) | |
at com.sun.javafx.tk.quantum.WindowStage.close(WindowStage.java:760) | |
at javafx.stage.Window$9.invalidated(Window.java:889) |
public class Main() | |
{ | |
public Client getHttpsClient() throws KeyStoreException | |
{ | |
return ClientBuilder.newBuilder() | |
.sslContext(getSSLContextProvider().getSSLContext()) | |
.build(); | |
} | |
@VisibleForTesting |
if has("nvim") | |
let g:python3_host_prog='C:\Python34\python.exe' | |
endif | |
set shortmess+=c | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
set hidden | |
set ignorecase |
/* | |
* Copyright (c) 2009, 2015, Oracle and/or its affiliates. All rights reserved. | |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. | |
* | |
* This code is free software; you can redistribute it and/or modify it | |
* under the terms of the GNU General Public License version 2 only, as | |
* published by the Free Software Foundation. Oracle designates this | |
* particular file as subject to the "Classpath" exception as provided | |
* by Oracle in the LICENSE file that accompanied this code. | |
* |
#!/usr/bin/env bash | |
command_exists() { | |
declare -Ff "$1" >/dev/null; | |
} | |
error_exit() { | |
echo "${PROGNAME}: ${1:-"Unknown Error"}" 1>&2 | |
exit 1 | |
} |
#!/bin/bash | |
[ ! -e ~/.ssh/id_rsa ] || [ ! -e ~/.ssh/id_rsa.pub ] && ssh-keygen -b 1024 -t rsa -N '' -f ~/.ssh/id_rsa | |
sed -i -r 's/^#?(PermitRootLogin|PermitEmptyPasswords|PasswordAuthentication|X11Forwarding) yes/\1 no/' /etc/ssh/sshd_config |
#!/usr/bin/env bash | |
# Usage info | |
show_help() { | |
cat << EOF | |
Usage: ${0##*/} [-hf] | |
Syncs the TestFX Monocle repository with upstream. | |
-h display this help and exit | |
EOF |
const download = spawnSync('powershell.exe', ['-ExecutionPolicy', 'Bypass', '-NoLogo', '-NonInteractive', '-NoProfile', | |
'-Command', `"Invoke-WebRequest -Uri 'https://github.com/mattn/sudo/releases/download/v0.0.1/sudo-x86_64.zip' -OutFile '${paths.composer.binaryPath}\\sudo-x86_64.zip'"`], { stdio: 'inherit', encoding: 'utf8', shell: true }); | |
const unzip = spawnSync('powershell.exe', ['-ExecutionPolicy', 'Bypass', '-NoLogo', '-NonInteractive', '-NoProfile', | |
'-Command', `"Add-Type -AssemblyName System.IO.Compression.FileSystem;[System.IO.Compression.ZipFile]::ExtractToDirectory('${paths.composer.binaryPath}\\sudo-x86_64.zip', '${paths.composer.binaryPath}\\sudo-x86_64');"`], { stdio: 'inherit', encoding: 'utf8', shell: true }); | |
$.util.log($.util.colors.bgRed(`Download status: ${download.status} - unzip status: ${unzip.status}`)); | |
$.util.log($.util.colors.bgRed(`Download error: ${download.signal} - unzip error: ${unzip.signal}`)); |
TestFX, the JavaFX GUI testing framework currently requires 4 (four) classes that are part of the JDK's private API. They are:
In order to compile the project with Java 9, we use the following flags: