Skip to content

Instantly share code, notes, and snippets.

View bluPhy's full-sized avatar
🏠
Working from home

bluPhy bluPhy

🏠
Working from home
View GitHub Profile
#!/usr/bin/env bash
set -euo pipefail
export DEBIAN_FRONTEND=noninteractive
### Function to create a default user
create_default_user() {
local password password_confirm password_hash
# Check if user exists
@bluPhy
bluPhy / linux-update-cleanup.sh
Last active July 8, 2025 21:19
Script to keep Linux updated and basic clean-up
#!/usr/bin/env bash
# Function to check if a command exists
commandExists() {
if command -v "$1" &>/dev/null; then
#msg "Command $1 exists\n" "success"
return 0 # Command exists
else
msg "Command $1 does not exist\n" "danger"
return 1 # Command does not exist
@rvrsh3ll
rvrsh3ll / windows-keys.md
Created February 18, 2024 22:44
Windows Product Keys

NOTE

These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.

Index