This file contains 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
<?php | |
namespace App\Jobs; | |
use App\Models\DatabaseUpgrade; | |
use App\Models\Website; | |
use App\Models\User; |
This file contains 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
#!/bin/bash | |
# Ensure the script is run with sudo | |
if [ "$(id -u)" != "0" ]; then | |
echo "This script must be run as root. Please run with sudo." | |
exit 1 | |
fi | |
# Ask for the username | |
read -p "Enter your username for the systemd file: " username |
This file contains 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
#!/bin/bash | |
# Function to install ZSH, Antigen ZSH, and Powerlevel10k | |
install() { | |
# Install ZSH | |
echo "Installing ZSH..." | |
case $PKG_MANAGER in | |
apt) | |
sudo apt update | |
sudo apt install -y zsh |