This commit is contained in:
sneedgroup-holder 2024-11-04 14:26:06 +00:00
parent e0d76b6159
commit 2113de80a1
12 changed files with 245 additions and 6 deletions

1
code/favicion.txt Normal file
View file

@ -0,0 +1 @@
🧑🏻‍💻

1
favicon.txt Normal file
View file

@ -0,0 +1 @@
😎

4
guide-pagifier.sh Executable file
View file

@ -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

1
guides/favicon.txt Normal file
View file

@ -0,0 +1 @@
📕

8
guides/index.gmi Normal file
View file

@ -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

View file

@ -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.

View file

@ -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. Heres 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 <package_name>
```
* For example, to install NodeJS:
```
brew install node
```
* To install applications with Homebrew Cask (for GUI apps):
```
brew install --cask <app_name>
```
* 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 <app_name>
```
* To install an app:
```
mas install <app_id>
```
You can get the <app_id> 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, youll 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!)

View file

@ -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)

1
portmap.sh Executable file
View file

@ -0,0 +1 @@
upnpc -a 192.168.50.238 1965 1965 tcp

View file

@ -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"

1
videos/favicon.txt Normal file
View file

@ -0,0 +1 @@
📺

View file

@ -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