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
# Removes: | |
# all stoped containers | |
# all volumes | |
# all unused images | |
docker container prune -f && \ | |
docker images prune -q && \ | |
docker volume prune -f |
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.jetbrains.annotations.NotNull; | |
... | |
// https://checkerframework.org/jsr308/specification/java-annotation-design.html#array-syntax | |
@Test | |
public void dummy() { | |
foo(null); // 1 | |
foo(new Integer[]{null}); // 2 | |
} |
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
package com.github.hubertwo.okhttptest; | |
import okhttp3.*; | |
import java.io.IOException; | |
import java.util.concurrent.TimeUnit; | |
/** | |
* This is a short example how to avoid problem |