kill-enabled.sh
#!/bin/bash
# Check if the script is run as root
if [ "$(id -u)" -ne 0 ]; then
#!/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/GPUCache
make sure you have
ntfs-3g
installed
run this code
ntfsfix -b -d /dev/sdb6
git diff -G.
so after this we can see the issue, our permissions changed
to fix this they are 2 ways
find . -type f -exec chmod a-x {} \;