Skip to content

Instantly share code, notes, and snippets.

View vermotr's full-sized avatar

Romain Vermot vermotr

View GitHub Profile
@vermotr
vermotr / arch-linux-post-installation.md
Last active July 31, 2022 21:34 — forked from kmikko/2_Arch_post-install.md
Arch Linux post-installation

Arch Linux post-installation

Install GNOME and GDM

sudo pacman -S gnome gdm
sudo systemctl enable gdm
reboot

Set keyboard layout (for GDM)

@vermotr
vermotr / arch-linux-installation.md
Last active July 31, 2022 20:43 — forked from chrisleekr/install-arch-linux-lvm-luks-dell-xps-15-7590.md
Install Arch Linux with Full Disk Encryption (LVM on LUKS)
@vermotr
vermotr / underscore.go
Last active November 25, 2021 08:32 — forked from regeda/underscore.go
Convert CamelCase to underscore in golang
package main
import (
"fmt"
"regexp"
"strings"
)
var camel = regexp.MustCompile("(^[^A-Z0-9]*|[A-Z0-9]*)([A-Z0-9][^A-Z]+|$)")