kill-enabled.sh
#!/bin/bash
# Check if the script is run as root
if [ "$(id -u)" -ne 0 ]; then
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 {} \;
# 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 = [ |
signUp: publicProcedure | |
.input(registerSchema) | |
.mutation(async ({ input, ctx }) => { | |
const transformedPhoneNumber = input.phoneNumber.replace(/^0/, "+234"); | |
// check if user exists | |
const exists = await ctx.prisma.user.findUnique({ | |
where: { | |
email: input.email, | |
}, |