Skip to content

Instantly share code, notes, and snippets.

View JustAnotherJavaProgrammer's full-sized avatar
🚩
This is fine.

JustAnotherJavaProgrammer

🚩
This is fine.
View GitHub Profile
@JustAnotherJavaProgrammer
JustAnotherJavaProgrammer / Arithmetic_Examples.md
Last active April 1, 2022 19:55
Arithmetic example (April Fools)

What is this?

This is a collection of examples illustrating how one could program some simple arithmetic functions in Java, ranging from ugly to bad to good. The order from ugly to perfect is as follows:

  1. ugly
  2. terrible
  3. bad
  4. good
  5. better
  6. great
@JustAnotherJavaProgrammer
JustAnotherJavaProgrammer / Histogramm.java
Created September 2, 2021 12:44
Aus dem Informatik-Unterricht
import java.awt.Color;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.nio.file.StandardOpenOption;
import de.informatics4kids.Picture;
public class Histogramm {
@JustAnotherJavaProgrammer
JustAnotherJavaProgrammer / JBackgroundPanel.java
Last active January 6, 2023 21:13
JBackgroundPanel (GPL)
/*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.