Skip to content

Instantly share code, notes, and snippets.

View dcaba's full-sized avatar

Daniel Caballero dcaba

View GitHub Profile
from cgroups import Cgroup
from cgroups.user import create_user_cgroups
import os
import subprocess
try:
# setup cgroup directory for this user
user = os.getlogin()
create_user_cgroups(user)
#+Title: Put your pants on Kubernetes!
#+Author: Steinn Steinsen
#+EPRESENT_FRAME_LEVEL: 2
microservices + monorepo + Kubernetes = love
* WOWair Tech Stack
@drewolson
drewolson / reflection.go
Last active November 20, 2023 09:39
Golang Reflection Example
package main
import (
"fmt"
"reflect"
)
type Foo struct {
FirstName string `tag_name:"tag 1"`
LastName string `tag_name:"tag 2"`