- Projekt
-
Foobar
- Besprechungsdatum
-
21.04.2017
- Ort
-
Musterhausen
- Thema
-
Foobar
- Teilnehmer
-
-
Max Mustermann (AG)
-
This file contains 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
group 'de.muspellheim' | |
version '1.0.0' | |
apply plugin: 'java' | |
sourceCompatibility = 1.8 | |
compileJava.options.encoding = 'UTF-8' | |
repositories { | |
jcenter() |
This file contains 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 org.apache.tools.ant.filters.FixCrLfFilter | |
import java.time.LocalDate | |
plugins { | |
id 'application' | |
id 'checkstyle' | |
id 'jacoco' | |
id 'java' | |
id 'com.diffplug.spotless' version '6.20.0' |
This file contains 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.fxml.FXMLLoader; | |
import javafx.stage.Stage; | |
public class FXMLControllerFactory { | |
private FXMLControllerFactory() {} | |
public static <T> T newController(Class<T> controllerType, Stage stage) { | |
var filename = "/%s.fxml".formatted(controllerType.getSimpleName()); | |
try { | |
var url = controllerType.getResource(filename); |
This file contains 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 java.util.List; | |
import java.util.Objects; | |
import java.util.concurrent.CopyOnWriteArrayList; | |
import java.util.function.Consumer; | |
public class EventEmitter<T> { | |
private final List<Consumer<T>> listeners = new CopyOnWriteArrayList<>(); | |
public EventEmitter() { | |
// public ctor |
This file contains 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 java.util.LinkedList; | |
import java.util.List; | |
import java.util.Queue; | |
public class ConfigurableResponses<T> { | |
private final Object response; | |
private ConfigurableResponses(Object value) { | |
response = value; | |
} |
This file contains 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
#!/usr/bin/env bash | |
# list all installed packages | |
# > pkgutil --pkgs | |
packageid=$1 | |
set -e | |
cd / |
This file contains 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
# EditorConfig is awesome: https://EditorConfig.org | |
# Based on following Google Style Guides: | |
# - C++: https://google.github.io/styleguide/cppguide.html | |
# - C#: https://google.github.io/styleguide/csharp-style.html | |
# - Go: https://google.github.io/styleguide/goguide.html | |
# - HTML/CSS: https://google.github.io/styleguide/htmlcssguide.html | |
# - JavaScript: https://google.github.io/styleguide/jsguide.html | |
# - Java: https://google.github.io/styleguide/javaguide.html | |
# - Python: https://google.github.io/styleguide/pyguide.html |
OlderNewer