Skip to content

Instantly share code, notes, and snippets.

View KuabeM's full-sized avatar
🤖

Korbinian Knott (Maier) KuabeM

🤖
  • Brainlab Robotics | FRANKA EMIKA | TUM
  • Munich
View GitHub Profile
@KuabeM
KuabeM / markdown_specialities.md
Created August 3, 2020 14:36
Markdown edge cases
@KuabeM
KuabeM / reinstall_grub.sh
Created February 23, 2020 12:09
Re-install grub after firmware update
## boot live usb
# mount arch root
mount /dev/nvme0n1p6 /mnt
# find efi partition and mount it
mount /dev/nvme0n1p2 /mnt/efi
arch-chroot /mnt
# install grub
grub-install --target=x86_64-efi --efi-directory=/efi --bootloader-id=GRUB
grub-mkconfig -o /boot/grub/grub.cfg
@KuabeM
KuabeM / .zshrc
Last active January 27, 2020 15:57
oh-my-zsh theme configuration: bullet-train
# If you come from bash you might have to change your $PATH.
# export PATH=$HOME/bin:/usr/local/bin:$PATH
# Path to your oh-my-zsh installation.
export ZSH=/home/korbinian/.oh-my-zsh
# https://github.com/caiogondim/bullet-train.zsh
BULLETTRAIN_STATUS_EXIT_SHOW=true
BULLETTRAIN_CONTEXT_DEFAULT_USER="korbinian"
BULLETTRAIN_IS_SSH_CLIENT=true
@KuabeM
KuabeM / git _log.sh
Last active October 4, 2018 11:47
Pretty one-line git log
git log --date=format:%Y-%m-%d\ %H:%M --pretty=format:'%C(yellow)%h %Cblue%ad, %Cgreen%an%Creset: %s'
# to make it permanent
git config --global log.date format:%Y-%m-%d\ %H:%M
git config --global format.pretty format:'%C(yellow)%h %Cblue%ad, %Cgreen%an%Cred%d%Creset: %s'