I hereby claim:
- I am lopcode on github.
- I am carrot (https://keybase.io/carrot) on keybase.
- I have a public key ASAZjN3hpzbhivNauI_C1A8qprDIefU31MpYN3PiAujZsgo
To claim this, I am signing this object:
resource "hcloud_placement_group" "runner" { | |
name = "runner-placement-group" | |
type = "spread" | |
} | |
locals { | |
fsn_datacenter = "fsn1-dc14" | |
nbg_datacenter = "nbg1-dc3" | |
runners = [ | |
{ |
I hereby claim:
To claim this, I am signing this object:
FROM --platform=$TARGETPLATFORM eclipse-temurin:18-jdk as jre-build | |
ARG jar | |
ARG docs | |
WORKDIR /app | |
RUN mkdir build | |
ADD $jar build/service.jar | |
RUN jdeps \ | |
--ignore-missing-deps \ | |
--multi-release 18 \ |
package sponsor.api.fetcher | |
import io.ktor.client.HttpClient | |
import io.ktor.client.call.receive | |
import io.ktor.client.request.header | |
import io.ktor.client.request.parameter | |
import io.ktor.client.request.request | |
import io.ktor.client.statement.HttpResponse | |
import io.ktor.http.HttpMethod | |
import kotlinx.serialization.SerialName |
FROM openjdk:16-jdk-buster | |
LABEL org.opencontainers.image.source="https://github.com/KaleCharity/snip" | |
ARG jar | |
ADD $jar /service.jar | |
RUN curl -sS "https://s3.amazonaws.com/rds-downloads/rds-combined-ca-bundle.pem" > rds-combined-ca-bundle.pem | |
RUN awk 'split_after == 1 {n++;split_after=0} /-----END CERTIFICATE-----/ {split_after=1}{print > "rds-ca-" n ".pem"}' < rds-combined-ca-bundle.pem | |
RUN for CERT in rds-ca-*; do \ |
# To update to a new version of Nomad: | |
# Download and calculate checksums: | |
# http --download https://releases.hashicorp.com/nomad/0.8.4/nomad_0.8.4_linux_amd64.zip | |
# shasum --algorithm 256 --binary nomad_0.8.4_linux_amd64.zip | |
# unzip nomad_0.8.4_linux_amd64.zip | |
# shasum --algorithm 256 --binary nomad | |
# Update facts in this script | |
# Only run on one hashimaster at a time! | |
- name: Set nomad version |
fun extractGraphemeClusters(input: String): List<String> { | |
val characters = mutableListOf<String>() | |
val iterator = BreakIterator.getCharacterInstance() | |
iterator.setText(input) | |
var start = iterator.first() | |
var iterated = false | |
while (!iterated) { | |
val next = iterator.next() |
I hereby claim:
To claim this, I am signing this object:
The following terms are used throughout this agreement: