1
0
Fork
You've already forked configs
0
No description
  • Shell 86.4%
  • Lua 13.6%
2026年06月12日 13:38:21 +02:00
gentoo fixed gentoo chris_keyboard 2022年07月09日 10:06:40 +02:00
procedures feat: remove old git; leader su 2026年06月12日 13:38:21 +02:00
vms feat: new instructions after laptop install 2026年05月08日 13:55:31 +02:00
wacom added wacom inkscape settings 2023年05月12日 20:55:51 +02:00
.clang-format updated clang-format 2021年12月15日 08:24:05 +01:00
.gdbinit feat: update gdbinit 2025年09月09日 15:06:13 +02:00
.inputrc appending / to symlinks 2022年05月29日 11:44:46 +02:00
.luarc.json I hat Java 2023年06月02日 16:59:04 +02:00
bashrc_desktop feat: using sed for vit completion again 2025年10月23日 19:57:21 +02:00
bashrc_dlr feat: add dlr 2026年04月21日 10:44:19 +02:00
bashrc_ibm feat: bashrc for vm 2025年09月09日 10:52:08 +02:00
bashrc_server feat: remove overly many .. 2025年09月12日 11:06:52 +02:00
bashrc_vm fix: nvim in vm 2026年04月27日 10:35:06 +02:00
chris_keyboard feat: λ, ⊥ and ⊤ on layout 2025年03月16日 20:55:07 +01:00
config.lua feat: neovim line numbers 2025年10月23日 10:36:09 +02:00
eclipse_formatter.xml added java checkstyle format settings 2023年04月17日 15:57:02 +02:00
gitattributes feat(git): added diffpdf 2024年06月24日 10:00:22 +02:00
gitconfig_dlr feat: add dlr 2026年04月21日 10:44:19 +02:00
gitconfig_fraunhofer feat: changed to Christopher Besch 2024年07月04日 17:23:03 +02:00
gitconfig_github fix(git): changed gitconfig_private to gitconfig_github 2024年05月10日 14:14:49 +02:00
gitconfig_ibm feat: no ibm ssh signing 2025年01月29日 06:34:08 +01:00
image_convert_script.sh wacom scripts on \~/.local/bin don't work with xfce launcher 2024年01月29日 17:00:08 +01:00
init.lua feat: remove old git; leader su 2026年06月12日 13:38:21 +02:00
install.sh feat: install.sh with more gitlab 2026年04月27日 08:29:32 +02:00
jdtls.json added java checkstyle format settings 2023年04月17日 15:57:02 +02:00
kitty.conf feat: update kitty for tmux 2025年09月18日 17:16:57 +02:00
latexindent_config.yaml added latexindent 2022年01月16日 18:24:42 +01:00
LICENSE Initial commit 2021年05月24日 07:02:25 +02:00
music_scripts.sh feat: better music procedure 2025年01月12日 08:21:27 +01:00
other_scripts.sh added other_scripts.sh 2023年03月30日 16:06:11 +02:00
palette.gpl added Chris' xournal config 2024年01月25日 10:10:06 +01:00
README.md feat: updated readme with darktable 2026年04月27日 08:29:32 +02:00
ssh_config feat: remove old git; leader su 2026年06月12日 13:38:21 +02:00
tmux.conf feat: full own neovim setup 2026年04月23日 10:07:17 +02:00
toolbar.ini feat: somehow updated xournalpp toolbar 2026年04月27日 08:29:32 +02:00
user-dirs.dirs disable pc speaker 2024年01月25日 08:10:54 +01:00

Chris' Configs

The install.sh script symlinks the dotfiles in this directory to wherever they belong. There's a server, a desktop and an IBM version. The server version is basically a subset of all desktop configs that also work on an SSH server. The IBM version is a subset of the desktop version.

How to Cook Like I Do?

  1. Fork this repo,
  2. adjust the configs to your liking
  3. and run ./install.sh server or ./install.sh desktop. (Warning: this script permanently overwrites your current configs.)

Updating Lvim

  • delete ~/.local/share/lvim

Gentoo Config

The gentoo subdirectory contains my Gentoo configs. The same three-step plan applies to it, with an addition to the third: You have to run the install.sh script with root privileges (with sudo).

Resources

GDB Commands

  • tui enable
  • target record-full
  • record
  • reverse-step
  • reverse-next
  • clear screen: ctrl+l

Blender Hotkeys

  • join objects: ctrl+j in object mode
  • separate meshes: p in edit mode
  • hide everything except for selected: shift+h
  • show hidden objects: alt+h
  • duplicate selected: shift+d
  • select all linked : ctrl+l
  • modifier for move (g), scale (s):
    • in one direction: x, y, z
    • in both other directions: shift+x, shift+y, shift+z
  • all to same hight: s z 0

Neovim Hotkeys

  • buffer to new Tab: <C-w>T
  • :%s/\(\.\|?\|\!\) /1円\r/g
  • :%s/\_[kK]alman \_[fF]ilter/Kalman Filter/g

Solve Issues with Pacman Keys on EndeavourOS

  1. sudo rm -r /etc/pacman.d/gnupg
  2. sudo pacman-key --init
  3. sudo pacman-key --populate archlinux endeavouros
  4. sudo pacman -Syy archlinux-keyring endeavouros-keyring

KiCad Hotkeys

  • repour: B

Fixed Weird PDF

  1. remove crop: gs -o Kap\ A_\ Folien_Waermeschutz_fixed_size.pdf -sDEVICE=pdfwrite -dPDFFitPage -r300x300 -g2480x3507 Kap\ A_\ Folien_Waermeschutz.pdf
  2. rotate landscape pages: pdftk Kap\ A_\ Folien_Waermeschutz_fixed_size.pdf cat 1-40 41left 42 43-53left 54-55 56left 57 58-59left 60 61-66left 67-end output Kap\ A_\ Folien_Waermeschutz_fixed_size_rotated.pdf
  3. turn into bitmap: gimp Kap\ A_\ Folien_Waermeschutz_fixed_size_rotated.pdf and export as Kap A_ Folien_Waermeschutz_fixed_size_rotated_gimped.pdf
  4. compress: pdfcomp Kap A_ Folien_Waermeschutz_fixed_size_rotated_gimped.pdf aka gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE -dQUIET -dBATCH -sOutputFile="comp_$file" "$file"

Revert Arch Grub Update

  1. Make a Live USB with archlinux (or archlinux based) and boot on it

  2. Mount your partitions (/, /home, /boot/efi... and so on)

  3. Use arch-chroot to "connect" as root. From now on, it's like your on your PC, from the cli

  4. Find the previous version number of grub by looking at the logs (grep -i upgrade /var/log/pacman.log | grep grub should do the trick)

  5. Locate the corresponding archive in /var/cache/pacman/pkg/ (find /var/cache/pacman/pkg/ -iname "grub*")

  6. Use pacman to downgrade (pacman -U /var/cache/pacman/pkg/grub-2:2... complete with the previous version number)

  7. If not done automatically, grub-mkconfig -o /boot/grub/grub.cfg

  8. Reboot

  9. grub-mkconfig -o /boot/grub/grub.cfg

  10. grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=EndeavourOS-grub

PDF Procedures

Multiple A5 on A4

  • yay pdfjam pdfpages pdftk
  • pdftk Zusammenfassung_240716_091112.pdf cat 4-endright output rotated_last.pdf
  • pdftk Zusammenfassung_240716_091112.pdf cat 1-3 output first.pdf
  • ssh s_besch@i08fs1.informatik.kit.edu lp -d pool-sw3 < first.pdf
  • pdfjam rotated_last.pdf --nup 1x2 --outfile last.pdf
  • gimp scaling
  • ssh s_besch@i08fs1.informatik.kit.edu lp -d pool-farb1 -o sides=two-sided-long-edge < last_scaled.pdf

red sections in pdf

  • pdftk edited_script.pdf burst
  • rm pg_0{001..176}.pdf
  • for filename in pg_*.pdf; do convert $filename -colorspace RGB -format %c -depth 8 histogram:info:- | grep -i '#ff0000' || rm $filename ; done
  • firefox pg_*.pdf

download files from file

  • while read URL; do yt-dlp "$URL"; done < sources.txt
  • while read URL; do echo "$URL" && curl -s "$URL" | htmlq 'meta[property="og:image"]' --attribute content | xargs curl -O; done < <(grep https://example.com sources.txt)

Other

  • cat diary.md | grep '### ' | sed 's/### \(.\+\), \(.\+\) \(.\+\) \(.\+\)/1円/g' | sort | uniq -c

VSC

{
 "keyboard.dispatch": "keyCode"
}

Bash Commands

  • cut -f1 -d ' ' lsof_250509.txt | sort | uniq -c | sort -g
  • cat seminar-report.tex | grep -P '^([A-Za-z]|\\autoref|\\code)' | awk '{print 1ドル;}' | sort | uniq -c | sort -n