Skip to content

Instantly share code, notes, and snippets.

View laszlocph's full-sized avatar

Laszlo Fogas laszlocph

View GitHub Profile
# sh vcluster.sh bublebee-vcluster youcef 600Mi 2000m 300Mi 1000m
VCLUSTER=$1
NAMESPACE=$2
MEMORY_LIMIT=$3
CPU_LIMIT=$4
MEMORY_REQUEST=$5
CPU_REQUEST=$6
@sebastianwebber
sebastianwebber / pg-notify-parallel.go
Last active September 19, 2024 02:43
postgres listen/notifiy with golang and `go-pg`
package main
import (
"log"
"time"
"github.com/go-pg/pg"
)
const maxWorkers = 5