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
[ | |
{ | |
"name": "boysenberry", | |
"hex": "#873260" | |
}, | |
{ | |
"name": "tea_green", | |
"hex": "#d0f0c0" | |
}, | |
{ |
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.time.Duration; | |
import lombok.experimental.UtilityClass; | |
import org.reactivestreams.Publisher; | |
import reactor.core.publisher.Flux; | |
import reactor.util.function.Tuple2; | |
@UtilityClass | |
public class FluxUtils { | |
/** |
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 space.forloop.stardew.desktop.system; | |
import java.awt.*; | |
import javax.swing.*; | |
import javax.swing.border.EmptyBorder; | |
import lombok.experimental.UtilityClass; | |
import lombok.extern.slf4j.Slf4j; | |
import org.jetbrains.annotations.NotNull; | |
import space.forloop.stardew.desktop.utils.ImageUtils; |
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
################## | |
# Squashing all commits to a single commit on your feature branch | |
git checkout feature_branch | |
git reset --soft develop #Whatever branch you're merging into | |
git add -A | |
git commit -m "feat: Add new meaningful feature" | |
git push | |
################## |
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
# SSL Certificates | |
DOMAIN=example.copm # Set this to the domain you want a certificate for, sonar will be available at it on /sonar | |
[email protected] # Need a valid email for the certificate generation | |
# Directories | |
USERDIR=/${HOME}/docker # Change this to where you'd like to store SonarQube configuration on your host machine | |
# Sonar | |
SONAR_DATABASE_USER=sonar # Make sure to change this | |
SONAR_DATABASE_PASSWORD=sonar # Make sure to change this |
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
# SSL Certificates | |
DOMAIN=example.copm # Set this to the domain you want a certificate for, sonar will be available at it on /sonar | |
[email protected] # Need a valid email for the certificate generation | |
# Directories | |
USERDIR=/${HOME}/docker # Change this to where you'd like to store SonarQube configuration on your host machine | |
# Sonar | |
SONAR_DATABASE_USER=sonar # Make sure to change this | |
SONAR_DATABASE_PASSWORD=sonar # Make sure to change this |
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
sonarqube: | |
container_name: sonarqube | |
image: sonarqube:latest | |
restart: unless-stopped | |
cpus: 0.5 | |
mem_limit: 4096M | |
mem_reservation: 1024M | |
ports: | |
- 9000:9000 | |
environment: |
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
sonarqube-postgres: | |
container_name: sonarqube-postgres | |
image: postgres | |
restart: unless-stopped | |
environment: | |
- POSTGRES_USER=${SONAR_DATABASE_USER} | |
- POSTGRES_PASSWORD=${SONAR_DATABASE_PASSWORD} | |
volumes: | |
- postgresql:/var/lib/postgresql | |
- postgresql_data:/var/lib/postgresql/data |
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
version: "3" | |
services: | |
# https://hub.docker.com/_/traefik | |
traefik: | |
container_name: traefik | |
image: traefik:v2.2 | |
restart: unless-stopped | |
command: | |
- --api |
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
# SSL Certificates | |
DOMAIN=example.com | |
[email protected] | |
# Data Directories | |
USERDIR=${HOME}/docker | |
# Sonar | |
SONAR_DATABASE_USER=sonar | |
SONAR_DATABASE_PASSWORD=sonar |
NewerOlder