1# Step 1: Download and install docker
2curl -fsSL https://get.docker.com -o get-docker.sh
3sh get-docker.sh
4 
5# Step 2: Check if docker works
6docker ps
7 
8# Step 3: Remove the old installation file
9rm ~/get-docker.sh
10 
11# Step 4: Start docker and make it start automatically after reboot
12systemctl start docker
13systemctl enable docker
14 
15# Usage with docker compose:
16# Start an application
17cd /srv/apps/nginx-proxy-manager # here could be you docker-compose.yml
18docker compose up -d
19 
20# Stop an application
21cd /srv/apps/nginx-proxy-manager # here could be you docker-compose.yml
22docker compose up -d
23 
24# Take insights in your logs
25docker compose logs -f
1import java.util.ArrayList;
2import java.util.Random;
3 
4public class RandomExample {
5 
6 private static final int MAX = 10;
7 private static final String NAME = "Java";
8 
9 public static void main(String[] args) {
10 ArrayList<Integer> numbers = createNumbers();
11 int sum = calculateSum(numbers);
12 
13 System.out.println(NAME + ": " + numbers);
14 System.out.println("Summe: " + sum);
15 
16 if (sum > 50) {
17 System.out.println("Große Summe");
18 } else {
19 System.out.println("Kleine Summe");
20 }
21 
22 showNumbers(numbers);
23 checkValue(sum);
24 }
25 
26 private static ArrayList<Integer> createNumbers() {
27 final ArrayList<Integer> list = new ArrayList<>();
28 final Random random = new Random();
29 int counter = 0;
30 
31 while (counter < MAX) {
32 int value = random.nextInt(20);
33 
34 if (value == 0) {
35 counter++;
36 continue;
37 }
38 
39 list.add(value);
40 counter++;
41 }
42 
43 return list;
44 }
45 
46 private static int calculateSum(ArrayList<Integer> numbers) {
47 int sum = 0;
48 
49 for (final int number : numbers) {
50 sum += number;
51 }
52 
53 return sum;
54 }
55 
56 private static void showNumbers(ArrayList<Integer> numbers) {
57 for (int number : numbers) {
58 if (number < 5) {
59 continue;
60 }
61 
62 System.out.println("Wert: " + number);
63 }
64 }
65 
66 private static void checkValue(int value) {
67 switch (value % 3) {
68 case 0 -> System.out.println("Teilbar");
69 default -> System.out.println("Nicht teilbar");
70 }
71 }
72}

CODE / VPS & MODS / GUIDES / MORE

Built for Players.

Made for Developers.

Discover high-quality code libraries, step-by-step tutorials, VPS setup guides, and much more.
Take a look into several programming templates, a custom mod showcase and tools for creators.

wedasoft logo maxi

Hello world test

Loved by the community
0+
3.8/5 Stars
Loved by the community
0+
3.8/5 Stars
Loved by the community
0+
3.8/5 Stars

My tab 1 xxx

My tab 1 Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet. Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

Test

My tab 1 xxx

Bambi target

Latest versionsSizePlatformSHA-256
8888 TB
Linux
demodemo0bf420404a011733cfb7b190d62c65bf0bcda32b6c0b4e7a3e2f5c9
8888 GB
Linux
demodemo0bf420404a011733cfb7b190d62c65bf0bcda32b6c0b4e7a3e2f5c9
8888 MB
Windows
demodemo0bf420404a011733cfb7b190d62c65bf0bcda32b6c0b4e7a3e2f5c9
8888 KB
Windows
demodemo0bf420404a011733cfb7b190d62c65bf0bcda32b6c0b4e7a3e2f5c9
8888 KB
Windows
demodemo0bf420404a011733cfb7b190d62c65bf0bcda32b6c0b4e7a3e2f5c9
8888 KB
Windows
demodemo0bf420404a011733cfb7b190d62c65bf0bcda32b6c0b4e7a3e2f5c9
8888 KB
Windows
demodemo0bf420404a011733cfb7b190d62c65bf0bcda32b6c0b4e7a3e2f5c9
8888 KB
Windows
demodemo0bf420404a011733cfb7b190d62c65bf0bcda32b6c0b4e7a3e2f5c9
wedasoft gradient
wedasoft gradient
wedasoft logo with background maxi
happy guy working with the library simple java fx application base from wedasoft.

CODE / VPS & MODS / GUIDES / MORE

Built for Players.

Made for Developers.

Discover high-quality code libraries, step-by-step tutorials, VPS setup guides, and much more.
Take a look into several programming templates, a custom mod showcase and tools for creators.

wedasoft logo maxi