Code Monkey home page Code Monkey logo

configs's Introduction

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.)

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

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

configs's People

Contributors

christopher-besch avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

configs's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.