Skip to content

Instantly share code, notes, and snippets.

View gdmachado's full-sized avatar
:shipit:

Gustavo Machado gdmachado

:shipit:
  • London, UK
View GitHub Profile
# Install these packages (use your favorite AUR tool here)
yay -S minikube kubectl docker-machine-driver-kvm2 libvirt qemu-headless ebtables
# Get libvirt going
sudo systemctl enable libvirtd.service
sudo usermod -a -G libvirt $(whoami)
# This fix thanks to http://blog.programmableproduction.com/2018/03/08/Archlinux-Setup-Minikube-using-KVM/
sudo virsh net-autostart default
@fubarhouse
fubarhouse / loop_files_folders_recursively.go
Last active January 2, 2023 10:31 — forked from francoishill/loop_files_folders_recursively.go
Loop through files and folders recursively in golang
package main
import (
"fmt"
"os"
"path/filepath"
)
func run() ([]string, error) {
searchDir := "c:/path/to/dir"
@gdmachado
gdmachado / dabblet.css
Created March 23, 2012 01:41
Playing with CSS
/**
* Playing with CSS
*/
* { margin: 0; }
body {
background-color: slategray;
font: 12pt "Cochin", Georgia, serif;
line-height: 1.5em;