This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env sh | |
| curl -s -L https://nvidia.github.io/libnvidia-container/stable/rpm/nvidia-container-toolkit.repo | \ | |
| sudo tee /etc/yum.repos.d/nvidia-container-toolkit.repo | |
| sudo dnf install -y nvidia-container-toolkit | |
| sudo nvidia-ctk runtime configure --runtime=docker | |
| sudo systemctl restart docker |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Add this to your .zprofile or .zshrc | |
| case $TERM in | |
| xterm*|rxvt*) | |
| precmd() { | |
| # Use the appropriate shell variables to get the username and hostname | |
| local user="%n" # %n is the username | |
| local host="%m" # %m is the hostname up to the first '.' | |
| print -Pn "\e]0;${user}@${host}\a" | |
| } | |
| ;; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Config file for /etc/init.d/tigervnc | |
| # Add the user(s) Xvnc(1) should be run for to /etc/tigervnc/vncserver.users | |
| # DISPLAYS is no loger used. | |
| # Optionally override the default Xsession file | |
| # TIGERVNC_XSESSION_FILE="/usr/share/sddm/scripts/Xsession" | |
| # TIGERVNC_XSESSION_FILE="/etc/gdm/Xsession" | |
| # TIGERVNC_XSESSION_FILE="/etc/lightdm/Xsession" | |
| # TIGERVNC_XSESSION_FILE="/usr/share/slim/Xsession" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .caja-desktop.view .entry, .caja-navigation-window .view .entry {caret-color: black;} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo groupadd plugdev | |
| sudo usermod -aG plugdev $USER | |
| sudo dnf install -y android-tools | |
| sudo ln -s /usr/share/doc/android-tools/51-android.rules /etc/udev/rules.d | |
| sudo reboot # or logout |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| xrandr --query | |
| xrandr --output VNC-0 --mode 2048x1280 | |
| cvt 2048 1280 | |
| xrandr --newmode "2048x1280_60.00" $(cvt 2048 1280 | grep Modeline | cut -d' ' -f 3-) | |
| xrandr --addmode VNC-0 "2048x1280_60.00" | |
| xrandr --output VNC-0 --mode "2048x1280_60.00" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [global_config] | |
| always_split_with_profile = True | |
| [keybindings] | |
| [profiles] | |
| [[default]] | |
| foreground_color = "#ffffff" | |
| show_titlebar = False | |
| scrollbar_position = hidden | |
| scrollback_infinite = True | |
| [[GlatsTheme]] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| sudo localectl set-keymap la-latin1 | |
| sudo localectl --no-convert set-x11-keymap es,latam pc105 , |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT | |
| db.datname AS database, | |
| owner.rolname AS owner, | |
| member.usename AS user, | |
| member_role.rolname AS user_role | |
| FROM | |
| pg_database db | |
| JOIN | |
| pg_roles owner ON db.datdba = owner.oid | |
| LEFT JOIN |