Skip to content

Instantly share code, notes, and snippets.

Avatar
☀️

Timo ntimo

☀️
  • Germany
View GitHub Profile
@ntimo
ntimo / main.tf - docker
Last active Apr 15, 2022
coder v2 terraform
View main.tf - docker
terraform {
required_providers {
coder = {
source = "coder/coder"
version = "~> 0.3.1"
}
docker = {
source = "kreuzwerker/docker"
version = "2.16.0"
}
View randomnames.sh
#!/bin/bash
# This script generates random names. Inspired by https://github.com/moby/moby/blob/master/pkg/namesgenerator/names-generator.go
namesleftpart[0]="admiring"
namesleftpart[1]="adoring"
namesleftpart[2]="affectionate"
namesleftpart[3]="agitated"
namesleftpart[4]="amazing"
namesleftpart[5]="angry"
namesleftpart[6]="awesome"
@ntimo
ntimo / graylog-api.json
Created Nov 12, 2019
Graylog API swagger file
View graylog-api.json
{
"apiVersion": "3.1.3+cda805f",
"swaggerVersion": "1.2",
"apis": [
{
"path": "/streams/{streamid}/alerts/{alertId}/history",
"name": "AlarmCallbackHistories",
"description": "Manage stream alarm callback histories"
},
{