Skip to content

Instantly share code, notes, and snippets.

View BoyanXu's full-sized avatar
🎣
Fishing

BoyanXu BoyanXu

🎣
Fishing
View GitHub Profile
@BoyanXu
BoyanXu / bash_powerline.log
Created March 4, 2022 13:17 — forked from cyruzin/bash_powerline.log
Install Powerline in Arch Linux
# Install powerline and powerline fonts.
sudo pacman -S powerline powerline-fonts
# Optional - Install powerline-fonts-git package from AUR to get the patched fonts.
# Remove the powerline-fonts first then:
sudo pacman -S powerline-fonts-git
@BoyanXu
BoyanXu / .gitconfig
Created March 8, 2022 15:10 — forked from Kovrinic/.gitconfig
git global url insteadOf setup
# one or the other, NOT both
[url "https://github"]
insteadOf = git://github
# or
[url "git@github.com:"]
insteadOf = git://github
@BoyanXu
BoyanXu / pve_xtermjs_for_arch_vm.txt
Last active September 10, 2023 04:24 — forked from yuna0x0/pve_xtermjs_for_ubuntu_vm.txt
Proxmox VE xterm.js (Serial Terminal) for Arch Linux VM
1. Add a virtual serial port to the VM using PVE Web GUI and restart the VM
2. Config grub
When using GRUB with a generated grub.cfg, edit /etc/default/grub and enable serial input and output support:
/etc/default/grub
...
GRUB_TERMINAL_INPUT="console serial"
...
GRUB_TERMINAL_OUTPUT="gfxterm serial"