Add this to your ~/.ssh/config on Your local pc:
Host *
SendEnv TERM
SetEnv TERM=xterm-256color
This ensures every SSH session tells the remote side “I am xterm-256color” instead of xterm-ghostty.
| #!/bin/bash | |
| # Clear lock file if it exists | |
| rm -f /tmp/script_lock/running | |
| echo "Starting installation..." | |
| rm -rf /usr/local/go | |
| cd ~/ | |
| apt update -y && apt install build-essential pkg-config libssl-dev wget git-all -y | |
| # Check architecture and set appropriate Go download URL |
| #!/bin/bash | |
| set -e | |
| echo "Installing Python 3.10 and troubleshooting venv creation" | |
| # Install Python 3.10 | |
| echo "Installing Python 3.10..." | |
| sudo apt update | |
| sudo apt install -y software-properties-common |
kill-enabled.sh
#!/bin/bash
# Check if the script is run as root
if [ "$(id -u)" -ne 0 ]; then| #!/usr/bin/env bash | |
| # Prompt user for password | |
| sudo -v | |
| # Update package information | |
| sudo apt update | |
| # Install necessary packages | |
| sudo apt-get install -y ca-certificates curl gnupg tree |
| #!/bin/bash | |
| echo "Starting Docker installation on Deepin Linux..." | |
| # Define a mapping from Deepin version to Debian version | |
| map_deepin_to_debian() { | |
| case "$1" in | |
| 20*) echo "buster" ;; # Replace with the correct mapping for Deepin 20 | |
| 15*) echo "stretch" ;; # Replace with the correct mapping for Deepin 15 | |
| *) echo "buster";; |
| # Edit this configuration file to define what should be installed on | |
| # your system. Help is available in the configuration.nix(5) man page | |
| # and in the NixOS manual (accessible by running ‘nixos-help’). | |
| { | |
| config, | |
| pkgs, | |
| lib, | |
| ... | |
| }: { | |
| imports = [ |
delete this folder
~/.config/google-chrome/Default/GPUCachemake sure you have
ntfs-3g installed
run this code
ntfsfix -b -d /dev/sdb6