Skip to content

Instantly share code, notes, and snippets.

View ntimo's full-sized avatar
☀️

Timo ntimo

☀️
  • Germany
View GitHub Profile
@ntimo
ntimo / .gitlab-ci.yml
Created October 20, 2022 18:23
Test Coder Tempaltes with GitLab CI
---
stages:
- tpl_test
- tpl_sync
integration_tests:
stage: tpl_test
image:
name: ubuntu:20.04
@ntimo
ntimo / main.tf - docker
Last active April 15, 2022 07:02
coder v2 terraform
terraform {
required_providers {
coder = {
source = "coder/coder"
version = "~> 0.3.1"
}
docker = {
source = "kreuzwerker/docker"
version = "2.16.0"
}
#!/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 November 12, 2019 08:07
Graylog API swagger file
{
"apiVersion": "3.1.3+cda805f",
"swaggerVersion": "1.2",
"apis": [
{
"path": "/streams/{streamid}/alerts/{alertId}/history",
"name": "AlarmCallbackHistories",
"description": "Manage stream alarm callback histories"
},
{