File tree 10 files changed +21
-3
lines changed
10 files changed +21
-3
lines changed Original file line number Diff line number Diff line change 1
1
///usr/bin/env jbang "$0" "$@" ; exit $?
2
2
//JAVA 14+
3
3
4
+ package scripts ;
5
+
4
6
import static java .lang .System .*;
5
7
6
8
import java .io .IOException ;
Original file line number Diff line number Diff line change 1
1
///usr/bin/env jbang "$0" "$@" ; exit $?
2
2
3
+ package scripts ;
4
+
3
5
public class echo {
4
6
5
7
public static void main (String [] args ) {
Original file line number Diff line number Diff line change 1
1
///usr/bin/env jbang "$0" "$@" ; exit $?
2
2
//DEPS com.github.lalyos:jfiglet:0.0.9
3
3
4
- package test ;
4
+ package scripts ;
5
5
6
6
import com .github .lalyos .jfiglet .FigletFont ;
7
7
Original file line number Diff line number Diff line change 2
2
3
3
//DEPS com.konghq:unirest-java:3.6.00
4
4
5
+ package scripts ;
6
+
5
7
import kong .unirest .GetRequest ;
6
8
import kong .unirest .HttpResponse ;
7
9
import kong .unirest .JsonNode ;
Original file line number Diff line number Diff line change 14
14
* That's in the "jvmci.Compiler" system property.
15
15
*/
16
16
17
+ package scripts ;
18
+
17
19
import java .lang .management .ManagementFactory ;
18
20
import com .sun .management .HotSpotDiagnosticMXBean ;
19
21
import com .sun .management .VMOption ;
Original file line number Diff line number Diff line change 2
2
3
3
//DEPS org.jmdns:jmdns:3.5.7
4
4
5
+ package scripts ;
6
+
5
7
import java .io .IOException ;
6
8
import java .net .InetAddress ;
7
9
import java .net .UnknownHostException ;
Original file line number Diff line number Diff line change 5
5
//DEPS org.yaml:snakeyaml:1.30
6
6
//DEPS com.konghq:unirest-java:3.13.10
7
7
8
+ package scripts ;
9
+
8
10
import java .io .File ;
9
11
import java .io .FileReader ;
10
12
import java .io .FileWriter ;
Original file line number Diff line number Diff line change 1
1
///usr/bin/env jbang "$0" "$@" ; exit $?
2
2
3
+ package scripts ;
4
+
3
5
import java .io .*;
4
6
import java .net .*;
5
7
import java .nio .file .*;
Original file line number Diff line number Diff line change 1
1
///usr/bin/env jbang "$0" "$@" ; exit $?
2
2
3
+ package scripts ;
4
+
3
5
public class system_env {
4
6
public static void main (String [] args ) {
5
7
System .getenv ().entrySet ().stream ().forEach (e -> System .out .println (e .getKey () + "=" + e .getValue ()));
6
8
}
7
- }
9
+ }
Original file line number Diff line number Diff line change 1
1
///usr/bin/env jbang "$0" "$@" ; exit $?
2
2
3
+ package scripts ;
4
+
3
5
public class system_properties {
4
6
public static void main (String [] args ) {
5
7
System .getProperties ().forEach ((key , value )-> System .out .println (key + "=" + value ));
6
8
}
7
- }
9
+ }
You can’t perform that action at this time.
0 commit comments