Skip to content

Instantly share code, notes, and snippets.

@Slayug
Slayug / JUnit5Runner.java
Last active October 15, 2021 16:45
Running JUnit 5 Tests programmatically
/**
* You need the following dependencies in your classpath:
* junit-platform-console
* junit-platform-launcher
* junit-jupiter-engine
**/
import org.junit.platform.console.options.CommandLineOptions;
import org.junit.platform.console.options.Details;
import org.junit.platform.console.options.Theme;
@axdotl
axdotl / helm-values.yaml
Last active December 29, 2023 23:10
Helm example values for stable/jenkins v1.1.17
master:
useSecurity: true
adminUser: "admin"
fsGroup: 1000
runAsUser: 1000
serviceType: ClusterIP
installPlugins:
@kizbitz
kizbitz / dockerhub-v2-api-organization.sh
Last active April 3, 2024 08:47
Get the list of images and tags for a Docker Hub organization account
#!/bin/bash
# Example for the Docker Hub V2 API
# Returns all images and tags associated with a Docker Hub organization account.
# Requires 'jq': https://stedolan.github.io/jq/
# set username, password, and organization
UNAME=""
UPASS=""
ORG=""