Skip to content

Instantly share code, notes, and snippets.

View te-lang-wakker's full-sized avatar
💭
moe

te lang wakker te-lang-wakker

💭
moe
View GitHub Profile
@te-lang-wakker
te-lang-wakker / main.tf
Created November 5, 2024 19:49
Access for Coder
terraform {
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
}
}
}
locals {
zones = {
@te-lang-wakker
te-lang-wakker / main.tf
Created November 5, 2024 19:43
Terraform CloudFlare Tunnel module for Coder
terraform {
required_providers {
cloudflare = {
source = "cloudflare/cloudflare"
}
}
}
variable "zone" {
description = "Cloudflare zone including zone, zone_id, and account_id"
#import "tablex.typ": *
#let groupedx(data, results-start: none, gutter: auto, column-gutter: auto, row-gutter: auto, fill: none, align: horizon, stroke: black, inset: 5pt) = {
let datax = data.map(x => x.map(y => ()))
let number-of-columns = data.at(0).len()
let number-of-rows = data.len()
let skip = ()
@te-lang-wakker
te-lang-wakker / info-box.typ
Last active March 18, 2024 09:19
Titled & stacking textbox for Typst
// todo: key this by the provided label or just use dependency injection
#let this-counter = counter("info-box")
#let info-box(
title: none,
sections: none,
label: none,
caption: none,
radius: 3pt,
inset: 16pt,