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
| TMP=`mktemp` | |
| tail -n +2 $@ >> $TMP | |
| echo "/exit" >> $TMP | |
| $JAVA_HOME/bin/jshell -q --execution local $TMP | |
| rm $TMP | |
| #put this file in /usr/local/bin/ or somewhere in your $PATH |
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.*; | |
| import javafx.geometry.Pos; | |
| import javafx.scene.*; | |
| import javafx.scene.control.Label; | |
| import javafx.scene.layout.*; | |
| import javafx.scene.paint.Color; | |
| import javafx.stage.*; | |
| import javax.imageio.ImageIO; | |
| import java.io.IOException; |
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
| apply plugin:'groovy' | |
| apply plugin:'idea' | |
| repositories { mavenCentral() } | |
| dependencies { | |
| groovy 'org.codehaus.groovy:groovy-all:1.8.4' | |
| } | |
| task makeDirs(description:'make all dirs for project setup') << { |