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
use std::{io::BufReader, time::Duration}; | |
use deadpool::managed::{Pool, PoolConfig}; | |
use tokio::{ | |
io::{self, AsyncBufReadExt, AsyncWriteExt}, | |
net::TcpStream, | |
sync::broadcast, | |
}; | |
#[derive(Debug)] | |
enum Error { |
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
#!/bin/bash | |
# Function to print messages with emojis | |
print_message() { | |
echo -e "$1 $2" | |
} | |
# Take input for fresh install or reset | |
read -p "Is this a fresh install or reset? (fresh/reset): " install_type |