Finally update log naming conventions to the new name. (It's about time.)
This commit is contained in:
parent
409639875f
commit
8429cba30a
2 changed files with 34 additions and 34 deletions
34
full.zsh
34
full.zsh
|
@ -7,19 +7,19 @@ if [[ $EUID -eq 0 ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Prepare Toolchain
|
# Prepare Toolchain
|
||||||
echo "[ST] Prepare Toolchain..."
|
echo "[DSMOSS] Prepare Toolchain..."
|
||||||
xcode-select --install
|
xcode-select --install
|
||||||
echo Install toolchain, then press ENTER.
|
echo Install toolchain, then press ENTER.
|
||||||
|
|
||||||
# Prepare Homebrew
|
# Prepare Homebrew
|
||||||
echo "[ST] Prepare Homebrew..."
|
echo "[DSMOSS] Prepare Homebrew..."
|
||||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
cp ~/.zprofile ~/.zprofile-pretapped
|
cp ~/.zprofile ~/.zprofile-pretapped
|
||||||
echo 'eval $(/opt/homebrew/bin/brew shellenv)' > ~/.zprofile
|
echo 'eval $(/opt/homebrew/bin/brew shellenv)' > ~/.zprofile
|
||||||
eval $(/opt/homebrew/bin/brew shellenv)
|
eval $(/opt/homebrew/bin/brew shellenv)
|
||||||
|
|
||||||
# Homebrew
|
# Homebrew
|
||||||
echo "[ST] Install homebrew stuffs..."
|
echo "[DSMOSS] Install homebrew stuffs..."
|
||||||
brew install mas node python3 potrace telnet imagemagick wget minetest golang openjdk@17 openjdk@21 gradle c2048 chocolate-doom
|
brew install mas node python3 potrace telnet imagemagick wget minetest golang openjdk@17 openjdk@21 gradle c2048 chocolate-doom
|
||||||
brew install ffmpeg yt-dlp
|
brew install ffmpeg yt-dlp
|
||||||
brew tap localsend/localsend
|
brew tap localsend/localsend
|
||||||
|
@ -34,15 +34,15 @@ brew install --cask twingate
|
||||||
|
|
||||||
|
|
||||||
# NPM global
|
# NPM global
|
||||||
echo "[ST] Install NPM Global stuffs..."
|
echo "[DSMOSS] Install NPM Global stuffs..."
|
||||||
sudo npm install -g cordova
|
sudo npm install -g cordova
|
||||||
|
|
||||||
# Mac App Store (MAS cli)
|
# Mac App Store (MAS cli)
|
||||||
echo "[ST] Install Mac App Store stuffs..."
|
echo "[DSMOSS] Install Mac App Store stuffs..."
|
||||||
mas install 497799835 682658836 425424353 937984704 # XCode, GarageBand, The Unarchiver, Amphetamine.
|
mas install 497799835 682658836 425424353 937984704 # XCode, GarageBand, The Unarchiver, Amphetamine.
|
||||||
|
|
||||||
# Settings
|
# Settings
|
||||||
echo "[ST] Edit settings..."
|
echo "[DSMOSS] Edit settings..."
|
||||||
defaults write com.apple.TextEdit NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false
|
defaults write com.apple.TextEdit NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false
|
||||||
defaults write -g ApplePressAndHoldEnabled -bool false
|
defaults write -g ApplePressAndHoldEnabled -bool false
|
||||||
defaults write com.apple.swipescrolldirection -bool false
|
defaults write com.apple.swipescrolldirection -bool false
|
||||||
|
@ -56,17 +56,17 @@ defaults write com.apple.finder ShowDesktopOnFrontmostApp -bool false
|
||||||
killall Finder
|
killall Finder
|
||||||
|
|
||||||
# Sneed Settings
|
# Sneed Settings
|
||||||
echo "[ST] Set final settings..."
|
echo "[DSMOSS] Set final settings..."
|
||||||
open "/System/Library/PreferencePanes/Profiles.prefPane" "sneed-settings.mobileconfig"
|
open "/System/Library/PreferencePanes/Profiles.prefPane" "sneed-settings.mobileconfig"
|
||||||
|
|
||||||
# Setup Git
|
# Setup Git
|
||||||
echo "[ST] Setup Git..."
|
echo "[DSMOSS] Setup Git..."
|
||||||
git config --global --add credential.helper manager
|
git config --global --add credential.helper manager
|
||||||
git config --global user.name "Sneed Group Holder"
|
git config --global user.name "Sneed Group Holder"
|
||||||
git config --global user.email "no@nope.nicetry"
|
git config --global user.email "no@nope.nicetry"
|
||||||
|
|
||||||
# Install DOOM shareware
|
# Install DOOM shareware
|
||||||
echo "[ST] [GZD] Install DOOM Shareware..."
|
echo "[DSMOSS] [GZD] Install DOOM Shareware..."
|
||||||
brew install --cask gzdoom
|
brew install --cask gzdoom
|
||||||
cd ~/
|
cd ~/
|
||||||
wget http://www.doomworld.com/3ddownloads/ports/shareware_doom_iwad.zip
|
wget http://www.doomworld.com/3ddownloads/ports/shareware_doom_iwad.zip
|
||||||
|
@ -74,12 +74,12 @@ unzip shareware_doom_iwad.zip
|
||||||
rm shareware_doom_iwad.zip
|
rm shareware_doom_iwad.zip
|
||||||
|
|
||||||
# Make code folder
|
# Make code folder
|
||||||
echo "[ST] Make code folder..."
|
echo "[DSMOSS] Make code folder..."
|
||||||
mkdir ~/Code
|
mkdir ~/Code
|
||||||
cd ~/Code
|
cd ~/Code
|
||||||
|
|
||||||
# Install Video Editor...
|
# Install Video Editor...
|
||||||
echo "[ST] Install Video Editor..."
|
echo "[DSMOSS] Install Video Editor..."
|
||||||
wget https://www.apple.com/final-cut-pro/trial/download/ -O ~/fcp-trial.dmg
|
wget https://www.apple.com/final-cut-pro/trial/download/ -O ~/fcp-trial.dmg
|
||||||
hdiutil attach ~/fcp-trial.dmg
|
hdiutil attach ~/fcp-trial.dmg
|
||||||
sudo installer -allowUntrusted -verboseR -pkg "/Volumes/Final Cut Pro Trial/FinalCutProTrial.pkg" -target /
|
sudo installer -allowUntrusted -verboseR -pkg "/Volumes/Final Cut Pro Trial/FinalCutProTrial.pkg" -target /
|
||||||
|
@ -91,33 +91,33 @@ rm -rf ~/fcp-crack.zip
|
||||||
mv "BACKUP FCP Trial Crack Launcher.app" "/Applications/FCP Trial Crack.app"
|
mv "BACKUP FCP Trial Crack Launcher.app" "/Applications/FCP Trial Crack.app"
|
||||||
|
|
||||||
# Minecraft get!
|
# Minecraft get!
|
||||||
echo "[ST] Minecraft get!"
|
echo "[DSMOSS] Minecraft get!"
|
||||||
echo 'export PATH="/usr/local/opt/openjdk@21/bin:$PATH"' >> ~/.zshrc
|
echo 'export PATH="/usr/local/opt/openjdk@21/bin:$PATH"' >> ~/.zshrc
|
||||||
wget https://github.com/HMCL-dev/HMCL/releases/download/v3.5.9.257/HMCL-3.5.9.257.sh -O ~/Minecraft.sh
|
wget https://github.com/HMCL-dev/HMCL/releases/download/v3.5.9.257/HMCL-3.5.9.257.sh -O ~/Minecraft.sh
|
||||||
chmod +x ~/Minecraft.sh
|
chmod +x ~/Minecraft.sh
|
||||||
|
|
||||||
# Create cloud init....
|
# Create cloud init....
|
||||||
echo "[ST] Create cloud init..."
|
echo "[DSMOSS] Create cloud init..."
|
||||||
mkdir ~/Cloud
|
mkdir ~/Cloud
|
||||||
echo 'sshfs dh_ekhqt7@pdx1-shared-a3-04.dreamhost.com:/home/dh_ekhqt7/rfs.sparksammy.com/LordCloud ~/Cloud' > ~/cloudinit.sh
|
echo 'sshfs dh_ekhqt7@pdx1-shared-a3-04.dreamhost.com:/home/dh_ekhqt7/rfs.sparksammy.com/LordCloud ~/Cloud' > ~/cloudinit.sh
|
||||||
chmod +x ~/cloudinit.sh
|
chmod +x ~/cloudinit.sh
|
||||||
|
|
||||||
# Create SSH helpers...
|
# Create SSH helpers...
|
||||||
echo "[ST] Create SSH helpers..."
|
echo "[DSMOSS] Create SSH helpers..."
|
||||||
echo 'ssh root@192.168.50.144' > ~/ssh-to-felix.sh
|
echo 'ssh root@192.168.50.144' > ~/ssh-to-felix.sh
|
||||||
echo 'ssh sparky@192.168.50.238' > ~/ssh-to-optishmex.sh
|
echo 'ssh sparky@192.168.50.238' > ~/ssh-to-optishmex.sh
|
||||||
chmod +x ~/ssh-to-felix.sh ~/ssh-to-optishmex.sh
|
chmod +x ~/ssh-to-felix.sh ~/ssh-to-optishmex.sh
|
||||||
|
|
||||||
# Add extra net tools...
|
# Add extra net tools...
|
||||||
echo "[ST] Install more networking tools..."
|
echo "[DSMOSS] Install more networking tools..."
|
||||||
brew install cloudflared miniupnpc
|
brew install cloudflared miniupnpc
|
||||||
brew install --cask cyberduck
|
brew install --cask cyberduck
|
||||||
|
|
||||||
# Add auto-reboot job cron job....
|
# Add auto-reboot job cron job....
|
||||||
echo "[ST] Add auto-reboot cron job..."
|
echo "[DSMOSS] Add auto-reboot cron job..."
|
||||||
(sudo crontab -l 2>/dev/null; echo "0 0 * * 0 /sbin/shutdown -r now") | sort -u | sudo crontab -
|
(sudo crontab -l 2>/dev/null; echo "0 0 * * 0 /sbin/shutdown -r now") | sort -u | sudo crontab -
|
||||||
|
|
||||||
# More common settings...
|
# More common settings...
|
||||||
echo "[ST] Run the more common settings script..."
|
echo "[DSMOSS] Run the more common settings script..."
|
||||||
chmod +x "more-common-settings.sh"
|
chmod +x "more-common-settings.sh"
|
||||||
./more-common-settings.sh
|
./more-common-settings.sh
|
34
lite.zsh
34
lite.zsh
|
@ -7,19 +7,19 @@ if [[ $EUID -eq 0 ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Prepare Toolchain
|
# Prepare Toolchain
|
||||||
echo "[ST] Prepare Toolchain..."
|
echo "[DSMOSS] Prepare Toolchain..."
|
||||||
xcode-select --install
|
xcode-select --install
|
||||||
echo Install toolchain, then press ENTER.
|
echo Install toolchain, then press ENTER.
|
||||||
|
|
||||||
# Prepare Homebrew
|
# Prepare Homebrew
|
||||||
echo "[ST] Prepare Homebrew..."
|
echo "[DSMOSS] Prepare Homebrew..."
|
||||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||||
cp ~/.zprofile ~/.zprofile-pretapped
|
cp ~/.zprofile ~/.zprofile-pretapped
|
||||||
echo 'eval $(/opt/homebrew/bin/brew shellenv)' > ~/.zprofile
|
echo 'eval $(/opt/homebrew/bin/brew shellenv)' > ~/.zprofile
|
||||||
eval $(/opt/homebrew/bin/brew shellenv)
|
eval $(/opt/homebrew/bin/brew shellenv)
|
||||||
|
|
||||||
# Homebrew
|
# Homebrew
|
||||||
echo "[ST] Install homebrew stuffs..."
|
echo "[DSMOSS] Install homebrew stuffs..."
|
||||||
brew install mas node python3 potrace telnet imagemagick wget golang gradle c2048
|
brew install mas node python3 potrace telnet imagemagick wget golang gradle c2048
|
||||||
brew install ffmpeg yt-dlp
|
brew install ffmpeg yt-dlp
|
||||||
brew install --cask ollama darktable arc vscodium vlc protonvpn upscayl android-platform-tools libreoffice krita
|
brew install --cask ollama darktable arc vscodium vlc protonvpn upscayl android-platform-tools libreoffice krita
|
||||||
|
@ -31,15 +31,15 @@ brew install fuse-t fuse-t-sshfs
|
||||||
brew install --cask twingate
|
brew install --cask twingate
|
||||||
|
|
||||||
# NPM global
|
# NPM global
|
||||||
echo "[ST] Install NPM Global stuffs..."
|
echo "[DSMOSS] Install NPM Global stuffs..."
|
||||||
sudo npm install -g cordova
|
sudo npm install -g cordova
|
||||||
|
|
||||||
# Mac App Store (MAS cli)
|
# Mac App Store (MAS cli)
|
||||||
echo "[ST] Install Mac App Store stuffs..."
|
echo "[DSMOSS] Install Mac App Store stuffs..."
|
||||||
mas install 425424353 937984704 # The Unarchiver, Amphetamine.
|
mas install 425424353 937984704 # The Unarchiver, Amphetamine.
|
||||||
|
|
||||||
# Settings
|
# Settings
|
||||||
echo "[ST] Edit settings..."
|
echo "[DSMOSS] Edit settings..."
|
||||||
defaults write com.apple.TextEdit NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false
|
defaults write com.apple.TextEdit NSShowAppCentricOpenPanelInsteadOfUntitledFile -bool false
|
||||||
defaults write -g ApplePressAndHoldEnabled -bool false
|
defaults write -g ApplePressAndHoldEnabled -bool false
|
||||||
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
|
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
|
||||||
|
@ -52,17 +52,17 @@ defaults write com.apple.finder ShowDesktopOnFrontmostApp -bool false
|
||||||
killall Finder
|
killall Finder
|
||||||
|
|
||||||
# Sneed Settings
|
# Sneed Settings
|
||||||
echo "[ST] Set final settings..."
|
echo "[DSMOSS] Set final settings..."
|
||||||
open "/System/Library/PreferencePanes/Profiles.prefPane" "sneed-settings.mobileconfig"
|
open "/System/Library/PreferencePanes/Profiles.prefPane" "sneed-settings.mobileconfig"
|
||||||
|
|
||||||
# Setup Git
|
# Setup Git
|
||||||
echo "[ST] Setup Git..."
|
echo "[DSMOSS] Setup Git..."
|
||||||
git config --global --add credential.helper manager
|
git config --global --add credential.helper manager
|
||||||
git config --global user.name "Sneed Group Holder"
|
git config --global user.name "Sneed Group Holder"
|
||||||
git config --global user.email "no@nope.nicetry"
|
git config --global user.email "no@nope.nicetry"
|
||||||
|
|
||||||
# Install DOOM shareware
|
# Install DOOM shareware
|
||||||
echo "[ST] [CHOCOD] Install DOOM Shareware..."
|
echo "[DSMOSS] [CHOCOD] Install DOOM Shareware..."
|
||||||
brew install chocolate-doom
|
brew install chocolate-doom
|
||||||
cd ~/
|
cd ~/
|
||||||
wget http://www.doomworld.com/3ddownloads/ports/shareware_doom_iwad.zip
|
wget http://www.doomworld.com/3ddownloads/ports/shareware_doom_iwad.zip
|
||||||
|
@ -70,12 +70,12 @@ unzip shareware_doom_iwad.zip
|
||||||
rm shareware_doom_iwad.zip
|
rm shareware_doom_iwad.zip
|
||||||
|
|
||||||
# Make code folder
|
# Make code folder
|
||||||
echo "[ST] Make code folder..."
|
echo "[DSMOSS] Make code folder..."
|
||||||
mkdir ~/Code
|
mkdir ~/Code
|
||||||
cd ~/Code
|
cd ~/Code
|
||||||
|
|
||||||
# Install Video Editor...
|
# Install Video Editor...
|
||||||
echo "[ST] Install Video Editor..."
|
echo "[DSMOSS] Install Video Editor..."
|
||||||
wget https://www.apple.com/final-cut-pro/trial/download/ -O ~/fcp-trial.dmg
|
wget https://www.apple.com/final-cut-pro/trial/download/ -O ~/fcp-trial.dmg
|
||||||
hdiutil attach ~/fcp-trial.dmg
|
hdiutil attach ~/fcp-trial.dmg
|
||||||
sudo installer -allowUntrusted -verboseR -pkg "/Volumes/Final Cut Pro Trial/FinalCutProTrial.pkg" -target /
|
sudo installer -allowUntrusted -verboseR -pkg "/Volumes/Final Cut Pro Trial/FinalCutProTrial.pkg" -target /
|
||||||
|
@ -87,33 +87,33 @@ rm -rf ~/fcp-crack.zip
|
||||||
mv "BACKUP FCP Trial Crack Launcher.app" "/Applications/FCP Trial Crack.app"
|
mv "BACKUP FCP Trial Crack Launcher.app" "/Applications/FCP Trial Crack.app"
|
||||||
|
|
||||||
# Minecraft get!
|
# Minecraft get!
|
||||||
echo "[ST] Minecraft get!"
|
echo "[DSMOSS] Minecraft get!"
|
||||||
brew install openjdk@21
|
brew install openjdk@21
|
||||||
echo 'export PATH="/usr/local/opt/openjdk@21/bin:$PATH"' >> ~/.zshrc
|
echo 'export PATH="/usr/local/opt/openjdk@21/bin:$PATH"' >> ~/.zshrc
|
||||||
wget https://github.com/HMCL-dev/HMCL/releases/download/v3.5.9.257/HMCL-3.5.9.257.sh -O ~/Minecraft.sh
|
wget https://github.com/HMCL-dev/HMCL/releases/download/v3.5.9.257/HMCL-3.5.9.257.sh -O ~/Minecraft.sh
|
||||||
chmod +x ~/Minecraft.sh
|
chmod +x ~/Minecraft.sh
|
||||||
|
|
||||||
# Create cloud init....
|
# Create cloud init....
|
||||||
echo "[ST] Create cloud init..."
|
echo "[DSMOSS] Create cloud init..."
|
||||||
mkdir ~/Cloud
|
mkdir ~/Cloud
|
||||||
echo 'sshfs dh_ekhqt7@pdx1-shared-a3-04.dreamhost.com:/home/dh_ekhqt7/rfs.sparksammy.com/LordCloud ~/Cloud' > ~/cloudinit.sh
|
echo 'sshfs dh_ekhqt7@pdx1-shared-a3-04.dreamhost.com:/home/dh_ekhqt7/rfs.sparksammy.com/LordCloud ~/Cloud' > ~/cloudinit.sh
|
||||||
chmod +x ~/cloudinit.sh
|
chmod +x ~/cloudinit.sh
|
||||||
|
|
||||||
# Create SSH helpers...
|
# Create SSH helpers...
|
||||||
echo "[ST] Create SSH helpers..."
|
echo "[DSMOSS] Create SSH helpers..."
|
||||||
echo 'ssh root@192.168.50.144' > ~/ssh-to-felix.sh
|
echo 'ssh root@192.168.50.144' > ~/ssh-to-felix.sh
|
||||||
echo 'ssh sparky@192.168.50.238' > ~/ssh-to-optishmex.sh
|
echo 'ssh sparky@192.168.50.238' > ~/ssh-to-optishmex.sh
|
||||||
chmod +x ~/ssh-to-felix.sh ~/ssh-to-optishmex.sh
|
chmod +x ~/ssh-to-felix.sh ~/ssh-to-optishmex.sh
|
||||||
|
|
||||||
# Add extra net tools...
|
# Add extra net tools...
|
||||||
echo "[ST] Install more networking tools..."
|
echo "[DSMOSS] Install more networking tools..."
|
||||||
brew install cloudflared miniupnpc
|
brew install cloudflared miniupnpc
|
||||||
brew install --cask cyberduck
|
brew install --cask cyberduck
|
||||||
|
|
||||||
# Add auto-reboot job cron job....
|
# Add auto-reboot job cron job....
|
||||||
echo "[ST] Add auto-reboot cron job..."
|
echo "[DSMOSS] Add auto-reboot cron job..."
|
||||||
(sudo crontab -l 2>/dev/null; echo "0 0 * * 0 /sbin/shutdown -r now") | sort -u | sudo crontab -
|
(sudo crontab -l 2>/dev/null; echo "0 0 * * 0 /sbin/shutdown -r now") | sort -u | sudo crontab -
|
||||||
|
|
||||||
echo "[ST] Run the more common settings script..."
|
echo "[DSMOSS] Run the more common settings script..."
|
||||||
chmod +x "more-common-settings.sh"
|
chmod +x "more-common-settings.sh"
|
||||||
./more-common-settings.sh
|
./more-common-settings.sh
|
Loading…
Reference in a new issue