Skip to content

Instantly share code, notes, and snippets.

View Kwabang's full-sized avatar
🏫
Studying

Gyeongtaek Kim Kwabang

🏫
Studying
View GitHub Profile
@Kwabang
Kwabang / dashboard.json
Created July 23, 2024 22:16
Grafana dashboard JSON model for DebConf24 sFlow
{
"annotations": {
"list": [
{
"builtIn": 1,
"datasource": {
"type": "datasource",
"uid": "grafana"
},
"enable": true,
@Kwabang
Kwabang / prometheus.yml
Created July 23, 2024 22:14
Prometheus config for DebConf24 sFlow
- job_name: "sflow-rt-all-debconf24-ipv4"
metrics_path: /app/prometheus/scripts/export.js/flows/<agent IP>/txt
static_configs:
- targets: ["videoTeamCollectorIP:8008"]
params:
metric: ["sflow_rt_debconf24_ipv4"]
key:
[
"null:[asn:ipsource:both]:unknown",
"null:[asn:ipdestination:both]:unknown",
@Kwabang
Kwabang / custom.css
Created April 20, 2024 08:44 — forked from Ynng/custom.css
vscode vtuber logo
.editor-group-watermark > .letterpress{
background-image: url("https://raw.githubusercontent.com/Aikoyori/ProgrammingVTuberLogos/main/VSCode/VSCode.png") !important;
opacity: .75;
}
@Kwabang
Kwabang / create-cloud-init.sh
Last active March 18, 2024 13:41 — forked from casperghst42/create-cloud-init.sh
Create a cloud-init Debian 12 image on proxmox
#!/bin/bash
# Author: Casper Pedersen (github.com/casperghst42)
# License: GPL2
wget https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.qcow2
virt-customize -a debian-12-generic-amd64.qcow2 --install qemu-guest-agent --install resolvconf --install systemd-resolved --update --run-command 'mkdir -p /etc/network/interfaces.d' --run-command 'echo "auto ens18" >> /etc/network/interfaces.d/ens18' --run-command 'echo "iface ens18 inet manual" >> /etc/network/interfaces.d/ens18'
qm create 100000 --name "debian12-cloudinit-template" --memory 2048 --net0 virtio,bridge=vmbr0
qm importdisk 100000 debian-12-generic-amd64.qcow2 local -format qcow2
### Keybase proof
I hereby claim:
* I am kwabang on github.
* I am kwabang (https://keybase.io/kwabang) on keybase.
* I have a public key ASC-cRMxtpr8WV8BRaiW5HbStHNyYoygjGCgtTJPJknCKgo
To claim this, I am signing this object: