sudo dnf install -y nodejs npm
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
import os | |
import subprocess | |
from datetime import datetime | |
from loguru import logger | |
from termcolor import colored | |
from art import text2art | |
def print_colored_ascii_art(text): | |
# Generate and print colored ASCII art | |
colored_ascii_art = colored(text2art(text, "small"), 'cyan') |
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
/** | |
* Opens the Windows File Explorer search window (`search-ms`) with the specified query and location. | |
* @param {string} query - The search string to use in the `search-ms` window. | |
* @param {string} location - The directory location you want to explore. | |
* @returns {void} | |
* | |
* @see {@link https://docs.microsoft.com/en-us/windows/win32/shell/search-ms} | |
*/ | |
export function openSearchMsWindow(query: string, location: string): void { | |
// Encode URL components |
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
/** | |
* Get Weeks in given Period. | |
* A week Meaning From Monday To Sunday. | |
* If the month is not complete, the last or first week will be filled with the fist/last days of the month. | |
* | |
* @param startDate - First Day in Range | |
* @param endDate - Last Day in Range | |
* @returns - Array of Weeks | |
*/ | |
function GetWeeksInGivenPeriod(startDate, endDate) { |
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
@REM Author: Orbit Turner | |
@echo off | |
chcp 65001 | |
echo "======================================================="; | |
echo " ____ ____ ____ _ ____ _ ___ _ ____ "; | |
echo " | _ \ / ___| | __ ) / \ / ___| |/ / | | | _ \ "; | |
echo " | |_) | | _ _____| _ \ / _ \| | | ' /| | | | |_) |"; | |
echo " | __/| |_| |_____| |_) / ___ \ |___| . \| |_| | __/ "; |