diff --git a/code/favicion.txt b/code/favicion.txt new file mode 100644 index 0000000..556d111 --- /dev/null +++ b/code/favicion.txt @@ -0,0 +1 @@ +🧑🏻‍💻 diff --git a/favicon.txt b/favicon.txt new file mode 100644 index 0000000..569d7ff --- /dev/null +++ b/favicon.txt @@ -0,0 +1 @@ +😎 diff --git a/guide-pagifier.sh b/guide-pagifier.sh new file mode 100755 index 0000000..b69c968 --- /dev/null +++ b/guide-pagifier.sh @@ -0,0 +1,4 @@ +find guides/ -name "* *" -type f | while IFS= read -r file; do + mv "$file" "${file// /-}" +done +./treer.sh guides/ guides/index.gmi diff --git a/guides/favicon.txt b/guides/favicon.txt new file mode 100644 index 0000000..8bf77f0 --- /dev/null +++ b/guides/favicon.txt @@ -0,0 +1 @@ +📕 diff --git a/guides/index.gmi b/guides/index.gmi new file mode 100644 index 0000000..1e4ec32 --- /dev/null +++ b/guides/index.gmi @@ -0,0 +1,8 @@ +# Tree of files in guides/ + +=> favicon.txt favicon.txt +=> index.gmi index.gmi +## linux +=> linux/arch-install.gmi arch-install.gmi +## macos +=> macos/macos-install-guide.gmi macos-install-guide.gmi diff --git a/guides/linux/arch-install.gmi b/guides/linux/arch-install.gmi new file mode 100644 index 0000000..50b2c70 --- /dev/null +++ b/guides/linux/arch-install.gmi @@ -0,0 +1,86 @@ +## Installing Arch Linux with arch-install + +The `arch-install` script provides a streamlined way to install Arch Linux. It automates many of the manual steps, making the installation process more efficient. + +## Prerequisites + +* A bootable USB drive with the Arch Linux installation media. +* A target system with an internet connection. +* Basic understanding of Linux commands. + +## Steps + +1. Boot into the Installation Media: + +* Insert the USB drive into your target system and boot into it. +* Select the "Boot Arch Linux" option from the boot menu. + +2. Connect to the Internet: + +* Once booted, connect to the internet using your preferred method (e.g., Wi-Fi, Ethernet). + +3. Start the Installation: + +* Open a terminal and run the following command: + +``` +sudo arch-install +``` + +* This will start the interactive installation process. + +4. Disk Partitioning: + +* The script will guide you through the disk partitioning process. You can choose from various partitioning schemes, including GPT and MBR. + +* Select the appropriate disk. + +5. File System Formatting: + +* Choose the file system for your root partition (e.g., ext4, Btrfs). + +* Create/Format the partitions as required. + +6. Installation of Base System: + +* The script will install the base system by default when you click install. + +7. Time Zone and Locale Configuration: + +* Set your time zone and locale preferences. + +8. Root Password Setup: + +* Set the root password for your system. + +9. User Account Creation: + +* Create a non-root user account and set a password for it. + +10. Boot Loader Installation: + +* Choose a bootloader (Systemd-Boot, Grub, Etc. + +11. Install extra packages: + +* Install extra packages now, if you wish. + +12. Installation Completion: + +* The script will finish the installation process. + +## Post-Installation + +* Reboot: Reboot your system into the newly installed Arch Linux. +* Basic System Configuration: +* Configure your network settings, hostname, and other system parameters. +* Install additional packages as needed using the `pacman` package manager. +* Set up your preferred desktop environment or window manager. + +## Additional Tips + +* For more advanced users, consider using a text-based installation method to have more control over the process. +* Refer to the Arch Linux documentation for detailed information on each step. +* Use the Arch Linux forums for help and support. + +By following these steps and leveraging the `arch-install` script, you can efficiently install Arch Linux on your system. diff --git a/guides/macos/macos-install-guide.gmi b/guides/macos/macos-install-guide.gmi new file mode 100644 index 0000000..9afac8d --- /dev/null +++ b/guides/macos/macos-install-guide.gmi @@ -0,0 +1,135 @@ +# macOS Install Guide +Setting up macOS using the Terminal can be an efficient way to configure your system, install applications, and customize settings. Here’s a step-by-step guide on how to use tools like Homebrew, MAS (Mac App Store CLI), and the defaults command. + +## Step 1: Open the Terminal +You can find Terminal in ```Applications > Utilities > Terminal```, or search for it using Spotlight (Cmd + Space). + +## Step 2: Install Homebrew +Homebrew is a package manager for macOS that allows you to install software easily. + +* Run the following command in Terminal to start install of Homebrew: + +``` +/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" +``` + +Follow the on-screen prompts to complete the installation. + +* Add Homebrew to your PATH (if prompted), typically by adding the following line to your ~/.zprofile: + +``` +export PATH="/opt/homebrew/bin:$PATH" +``` + +* Update Homebrew: + +``` +brew update +``` + +## Step 3: Install Applications Using Homebrew +With Homebrew installed, you can now install various applications. Here are a few commonly used commands: + +* To install a package: + +``` +brew install +``` + +* For example, to install NodeJS: + +``` +brew install node +``` + +* To install applications with Homebrew Cask (for GUI apps): + +``` +brew install --cask +``` + +* For example, to install Arc: + +``` +brew install --cask arc + +``` + +## Step 4: Install the Mac App Store CLI (MAS) +MAS allows you to manage Mac App Store applications from the command line. + +* Install MAS using Homebrew: + +``` +brew install mas +``` + +Sign in to your Apple ID if prompted when you first use MAS. + +## Step 5: Install Applications from the Mac App Store + +* To find apps: + +``` +mas search +``` + +* To install an app: + +``` +mas install +``` + +You can get the from the search results. + +* To list installed apps: + +``` +mas list +``` + +## Step 6: Use the defaults Command to Customize Settings +The defaults command allows you to modify macOS settings from the terminal. + +* Set the Finder to show hidden files: + +``` +defaults write com.apple.finder AppleShowAllFiles -bool true +killall Finder +``` + +* Change screenshots to png: + +``` +defaults write com.apple.screencapture type -string "png" +killall SystemUIServer +``` + +* Set the Dock to automatically hide: + +``` +defaults write com.apple.dock autohide -bool true +killall Dock +``` + +## Step 7: Update and Clean Up + +* Keep Homebrew packages updated: + +``` +brew update && brew upgrade +``` + +* Clean up old versions of installed packages: + +``` +brew cleanup +``` + +## Final Notes + +* Backup: Consider making a backup of your current settings before applying changes. +* Customization: Feel free to explore more defaults commands to customize your macOS experience to your liking. +* Documentation: Check the documentation for each tool for more advanced usage. + +With this setup, you’ll have a well-configured macOS environment tailored to your needs, and you can even make shell scripts to do most of the setup for you! (Like DSMOSS @ Sneed Group!) diff --git a/index.gmi b/index.gmi index a1b2888..5a69776 100644 --- a/index.gmi +++ b/index.gmi @@ -42,6 +42,7 @@ Currently, I code amazing stuff for Sneed Group. My focus is on building efficie => code/ Public Code Copies (GEMINI PROTOCOL ONLY) => https://sneedgit.nodemixaholic.com Public Code Copies (HTTPS) => log/ Capitan's Log (GEMINI/HTTPS) +=> guides/ Guides (GEMINI/HTTPS) => videos/ Videos (GEMINI PROTOCOL ONLY) => https://ollama.com/sparksammy My Ollama Projects (HTTPS) => https://search.sparksammy.com/ Sparksammy Search (HTTPS) diff --git a/portmap.sh b/portmap.sh new file mode 100755 index 0000000..99d9b70 --- /dev/null +++ b/portmap.sh @@ -0,0 +1 @@ +upnpc -a 192.168.50.238 1965 1965 tcp diff --git a/treer.sh b/treer.sh index 0513da9..21fabc5 100755 --- a/treer.sh +++ b/treer.sh @@ -22,7 +22,7 @@ list_files() { local prefix="$2" for file in "$dir"/*; do if [ -d "$file" ]; then - echo " ## $prefix${file##*/} ${file##*/}" >> "$OUTPUT_FILE" + echo "## $prefix${file##*/}" >> "$OUTPUT_FILE" list_files "$file" "$prefix${file##*/}/" elif [ -f "$file" ]; then echo "=> $prefix${file##*/} ${file##*/}" >> "$OUTPUT_FILE" diff --git a/videos/favicon.txt b/videos/favicon.txt new file mode 100644 index 0000000..cd64ec6 --- /dev/null +++ b/videos/favicon.txt @@ -0,0 +1 @@ +📺 diff --git a/videos/index.gmi b/videos/index.gmi index 0d1fe92..3c9b0de 100644 --- a/videos/index.gmi +++ b/videos/index.gmi @@ -1,11 +1,11 @@ # Tree of files in videos/ => index.gmi index.gmi - ## video-directory video-directory - ## video-directory/new new +## video-directory +## video-directory/new => video-directory/new/COMING-SOON-ISH COMING-SOON-ISH - ## video-directory/old-stuff old-stuff - ## video-directory/old-stuff/onionode onionode +## video-directory/old-stuff +## video-directory/old-stuff/onionode => video-directory/old-stuff/onionode/Android-Vs-iPhone---Security-and-Privacy.webm Android-Vs-iPhone---Security-and-Privacy.webm => video-directory/old-stuff/onionode/Crostini-Unleashed:-Chrome-OS-Meets-Debian-Command-Line-Awesomeness.webm Crostini-Unleashed:-Chrome-OS-Meets-Debian-Command-Line-Awesomeness.webm => video-directory/old-stuff/onionode/Hatsune-Miku:-A-Symphony-of-Virtual-Brilliance.webm Hatsune-Miku:-A-Symphony-of-Virtual-Brilliance.webm @@ -30,7 +30,7 @@ => video-directory/old-stuff/onionode/Why-I-Returned-to-Discord---A-Tale-of-Friendship.mkv Why-I-Returned-to-Discord---A-Tale-of-Friendship.mkv => video-directory/old-stuff/onionode/Why-linux-is-great.webm Why-linux-is-great.webm => video-directory/old-stuff/onionode/Why-NodeJS-is-great.mp4.webm Why-NodeJS-is-great.mp4.webm - ## video-directory/old-stuff/sparksammy1 sparksammy1 +## video-directory/old-stuff/sparksammy1 => video-directory/old-stuff/sparksammy1/About-that-BW-passwd.mp4 About-that-BW-passwd.mp4 => video-directory/old-stuff/sparksammy1/AI-COVER---Trump-Sings-Texas-Roadhouse-theme-song-(FAIL-LOL).mp4 AI-COVER---Trump-Sings-Texas-Roadhouse-theme-song-(FAIL-LOL).mp4 => video-directory/old-stuff/sparksammy1/Airplane-Magic.mp4 Airplane-Magic.mp4