Skip to content

Instantly share code, notes, and snippets.

View kennychufk's full-sized avatar

Kinfung Chu (Kenny) kennychufk

View GitHub Profile
@kennychufk
kennychufk / ginit.vim
Created April 10, 2018 06:30
Windows nvim-qt config
Guifont DejaVu Sans Mono for Powerline:h13
@kennychufk
kennychufk / file-system-check-failure.sh
Created February 8, 2018 09:16
Arch Linux troubleshooting
# Failed to boot:
# Failed to start file system check on /dev/disk/by-uuid/....
journalctl -xb
# (look at the disk label that fsck failed)
fsck /dev/sda3
#
@kennychufk
kennychufk / bluetooth-tethering.sh
Last active February 20, 2018 02:57
Arch Linux tricks
modprobe btusb
systemctl start bluetooth.service
# (using UI, pair with Android device, turn on bluetooth tethering)
@kennychufk
kennychufk / arch-linux-install-commands.sh
Last active March 26, 2019 16:36
Arch Linux installation
efivar -l
fdisk -l
# see new_partition_layout.sh
pacstrap -i /mnt base base-devel
genfstab -U -p /mnt >> /mnt/etc/fstab