Added submodule back in (raw files)

This commit is contained in:
UberGuidoZ
2023-08-08 21:59:16 -07:00
parent bef4b3b515
commit 0f9a038069
113 changed files with 5439 additions and 0 deletions
@@ -0,0 +1,21 @@
REM This script fetches the current Bitcoin exchange rate using the "curl" command.
REM The data is retrieved from the rate.sx website.
REM You can Replace "Btc" with another popular asset of your choice
REM Title: Live Chart and price ticker
REM Author: Narsty
REM Version: 1.0
REM Category: GOODUSB
DELAY 500
GUI SPACE
DELAY 500
STRING TERMINAL
DELAY 1000
ENTER
DELAY 500
STRING curl rate.sx/btc
DELAY 500
ENTER
@@ -0,0 +1,34 @@
REM Opens Terminal, Safari, Xcode, Calendar, Messages, Pycharm CE
REM You can update the (" ") with whatever applications you'd like!
REM Delays may need adjusting depending on how long app takes to load.
REM Title: All Applications at once
REM Author: Narsty
REM Target: MacOS
REM Version: 1.0
REM Category: GOODUSB
ID 05ac:021e Apple:Keyboard
DELAY 2000
GUI SPACE
DELAY 500
STRING terminal
DELAY 500
ENTER
DELAY 1000
STRING open -a "Safari"
ENTER
DELAY 1000
STRING open -a "Xcode"
ENTER
DELAY 5000
STRING open -a "Calendar"
ENTER
DELAY 1000
STRING open -a "Messages"
ENTER
DELAY 2000
STRING open -a "Pycharm CE"
ENTER
DELAY 2000
@@ -0,0 +1,46 @@
REM Provides a utility to display/Say useful information on the target system
REM The current date, time, and battery percentage
REM Title: AudioInfo.ducky
REM Author: Narsty
REM Target: MacOS
REM Version: 1.0
REM Category: GOODUSB
ID 05ac:021e Apple:Keyboard
DELAY 2000
GUI SPACE
DELAY 500
STRING terminal
DELAY 500
ENTER
DELAY 500
STRING echo "USB Script Utility"
ENTER
DELAY 500
STRING echo "-------------------"
ENTER
DELAY 500
STRING echo "Current Date:"
ENTER
DELAY 500
STRING date "+%Y-%m-%d" | say
ENTER
DELAY 500
STRING echo "Current Time:"
ENTER
DELAY 500
STRING date "+%H:%M:%S" | say
ENTER
DELAY 500
STRING echo "Battery Percentage:"
ENTER
DELAY 500
STRING ioreg -l | awk '$3~/Capacity/{c[$3]=$5}END{OFMT="%.2f%%";max=c["\"MaxCapacity\""];print(max>0?100*c["\"CurrentCapacity\""]/max:"?")}' | say
ENTER
DELAY 500
STRING echo "-------------------"
ENTER
DELAY 2000
@@ -0,0 +1,25 @@
REM This Script will minimize all open windows
REM Title: Clear Not Close
REM Author: Narsty
REM Target: MacOS
REM Version: 1.0
REM Category: GOODUSB
ID 05ac:021e Apple:Keyboard
DELAY 1000
GUI SPACE
DELAY 500
STRING terminal
DELAY 500
ENTER
DELAY 500
STRING osascript -e 'tell application "System Events" to set visible of every process whose visible is true and name is not "Finder" to false'
ENTER
DELAY 500
GUI W
@@ -0,0 +1,28 @@
REM This script opens the Terminal application
REM runs commands to toggle the Dark Mode, and then closes the Terminal.
REM Author: Narsty
REM Title: Dark Mode Toggler
REM Target: MacOS
REM Version: 1.0
REM Category: GOODUSB
REM Title: Dark Mode Enabler
REM Author: Narsty
ID 05ac:021e Apple:Keyboard
DELAY 1000
GUI SPACE
DELAY 500
STRING terminal
DELAY 500
ENTER
DELAY 1000
STRING defaults write -g AppleInterfaceStyle Dark
ENTER
DELAY 500
STRING killall Dock
ENTER
DELAY 1000
@@ -0,0 +1,33 @@
REM Organizes files on the desktop into separate folders based on their file extensions.
REM Creates "Documents", "Images", "Music", and "Video" folders
REM and moves corresponding files into them.
REM Run the script to organize the desktop effortlessly.
REM Title: Desktop Organizer +
REM Author: Narsty
REM Version 1.0 MacOs
REM Category: GOODUSB
DELAY 1000
GUI SPACE
DELAY 200
STRING terminal
DELAY 200
ENTER
DELAY 1000
STRING mkdir -p ~/Desktop/Documents
DELAY 200
ENTER
STRING mkdir -p ~/Desktop/Images
DELAY 200
ENTER
STRING mkdir -p ~/Desktop/Music
DELAY 200
ENTER
STRING mkdir -p ~/Desktop/Videos
DELAY 200
ENTER
STRING find ~/Desktop -maxdepth 1 -type f -exec sh -c 'FILE="{}"; EXTENSION="${FILE##*.}"; case "$EXTENSION" in doc*|xls*|ppt*|pdf) mv "$FILE" ~/Desktop/Documents/ ;; jpg*|jpeg*|png*|gif*) mv "$FILE" ~/Desktop/Images/ ;; mp3*|wav*|flac*|aac*) mv "$FILE" ~/Desktop/Music/ ;; mp4*|mov*|avi*|mkv*) mv "$FILE" ~/Desktop/Videos/ ;; *) ;; esac' \;
DELAY 200
ENTER
@@ -0,0 +1,27 @@
REM Organizes files on the desktop into separate folders based on their file extensions.
REM Creates "Documents" and "Images" folders and moves corresponding files into them.
REM Run the script to organize the desktop effortlessly.
REM Title: Desktop Organizer
REM Author: Narsty
REM Version 1.0 MacOs
REM Category: GOODUSB
ID 05ac:021e Apple:Keyboard
GUI SPACE
DELAY 500
STRING Terminal
DELAY 500
ENTER
DELAY 1000
STRING cd ~/Desktop
ENTER
STRING mkdir -p Documents Images
ENTER
STRING mv *.txt *.docx *.pdf Documents/
ENTER
STRING mv *.jpg *.png Images/
ENTER
DELAY 5000
STRING osascript -e 'tell application "Terminal" to close first window'
ENTER
@@ -0,0 +1,27 @@
REM System monitoring dashboard
REM shows CPU History, Memory and Swap History, Network History, Disk Usage, and Processes.
REM When you run this, you'll get a dynamic, colorful dashboard
REM showing your system's real-time statistics.
REM It's a practical use of the terminal's capabilities, and it's also visually impressive.
REM Requirmetns: Homebrew and GTOP can install using command 'Brew install vtop'
REM Title: GTOP Monitoring Dashboard
REM Author: Narsty
REM Target: MacOS
REM Version: 1.0
REM Category: GOODUSB
ID 05ac:021e Apple:Keyboard
DELAY 1000
GUI SPACE
DELAY 500
STRING Terminal
DELAY 1000
ENTER
DELAY 500
GUI-CTRL f
DELAY 1000
STRING gtop
ENTER
@@ -0,0 +1,30 @@
REM This script auto updates your git repo.
REM Replace '/path/to/your/' with the path to your repository.
REM Replace 'repository' with the name of your repository you want to update.
REM Title: Git Repository Updater
REM Author: Narsty
REM Version: 1.0
REM Category: GOODUSB
DELAY 500
GUI SPACE
DELAY 500
STRING Terminal
DELAY 1000
ENTER
DELAY 500
STRING cd /path/to/your/repository
ENTER
DELAY 500
STRING git add .
ENTER
DELAY 2000
STRING git commit -am "Auto-updated repository"
ENTER
DELAY 1000
STRING git push
ENTER
DELAY 4000
GUI w
@@ -0,0 +1,23 @@
REM This script generates a random Gmail address and checks its availability.
REM It displays the generated email and whether it's available or not.
REM While this method can provide a reasonable indication of email availability, it's not guaranteed to be 100% accurate.
REM Author: Narsty
REM Title: Gmail Address Generator
REM Category: GOODUSB
REM Version: 2.0
ID 05ac:021e Apple:Keyboard
DELAY 500
GUI SPACE
DELAY 500
STRING Terminal
DELAY 1000
ENTER
DELAY 1000
STRING EMAIL=$(cat /dev/urandom | LC_ALL=C tr -dc 'a-zA-Z0-9' | fold -w 10 | head -n 1)@gmail.com; clear; echo "Generated email: $EMAIL"; echo "Checking email availability..."; RESPONSE=$(curl -s "https://mail.google.com/verify?email=$EMAIL"); if [[ $RESPONSE == *"The email address you entered is not available."* ]]; then echo "Email is not available"; else echo "Email is available"; fi
DELAY 1000
ENTER
@@ -0,0 +1,24 @@
REM opens the Terminal application and runs a series of commands
REM to update, upgrade, and clean up Homebrew packages.
REM Title: Homebrew Manager
REM Author: Narsty
REM Version 1.0 MacOs
REM Category: GOODUSB
ID 05ac:021e Apple:Keyboard
DELAY 500
GUI SPACE
DELAY 500
STRING terminal
DELAY 500
ENTER
DELAY 1000
STRING brew update && brew upgrade && brew cleanup && brew autoremove
DELAY 1000
ENTER
@@ -0,0 +1,26 @@
REM System monitoring dashboard
REM shows Memory and Swap, Task, Uptime, and Processes.
REM When you run this, you'll get a dynamic, colorful dashboard that can be fine tuned to your liking.
REM Showing your system's real-time statistics.
REM It's a practical use of the terminal's capabilities, and it's also visually impressive.
REM Requirmetns: Homebrew and HTOP can install using command 'Brew install vtop'
REM Title: HTOP Digital Dashboard
REM Author: Narsty
REM Target: MacOS
REM Version: 1.0
REM Category: GOODUSB
ID 05ac:021e Apple:Keyboard
DELAY 500
GUI SPACE
DELAY 500
STRING Terminal
DELAY 1000
ENTER
DELAY 500
GUI-CTRL f
DELAY 2000
STRING htop
ENTER
@@ -0,0 +1,36 @@
REM Takes a Screenshot and saves the image to the desktop
REM Title: MacOS ScreenShot
REM Author: Narsty
REM Target: MacOS
REM Version: 1.0
REM Category: GOODUSB
ID 05ac:021e Apple:Keyboard
DELAY 2000
GUI SPACE
DELAY 500
STRING terminal
DELAY 500
ENTER
DELAY 500
STRING echo "USB Script Utility"
ENTER
DELAY 500
STRING echo "-------------------"
ENTER
DELAY 500
STRING echo "Capturing Screenshot..."
ENTER
DELAY 500
STRING screencapture -W ~/Desktop/screenshot.png
ENTER
DELAY 1000
STRING echo "Screenshot captured and saved to Desktop!"
ENTER
DELAY 500
STRING echo "-------------------"
ENTER
DELAY 2000
GUI q
@@ -0,0 +1,26 @@
REM Must have Homebrew (shows progress bar on updates in the terminal)
REM first install pv using Homebrew (brew install pv).
REM Runs the software update command and pipes its output to pv.
REM The pv command will display the progress bar or bars for the updates
REM Author: Narsty
REM Title: MacUpdaterBot+
REM Target: MacOS
REM Version: 1.0
REM Category: GOODUSB
ID 05ac:021e Apple:Keyboard
DELAY 500
GUI SPACE
DELAY 500
STRING terminal
DELAY 500
ENTER
DELAY 1000
STRING softwareupdate -ia --verbose 2>&1 | pv -l -s "$(softwareupdate -l | wc -l)" -p -t -i 1
DELAY 1000
ENTER
@@ -0,0 +1,28 @@
REM Checks for and installs available updates on the MacOs system
REM Very handy if you do not enjoy manually updating your system often!
REM Note that running software updates with administrative privileges
REM can affect system files, so exercise caution
REM ensure that you have the necessary permissions to perform the updates.
REM Author: Narsty
REM Title: MacUpdaterBot
REM Target: MacOS
REM Version: 1.0
REM Category: GOODUSB
ID 05ac:021e Apple:Keyboard
DELAY 500
GUI SPACE
DELAY 500
STRING terminal
DELAY 500
ENTER
DELAY 1000
STRING sudo softwareupdate -ia --verbose
DELAY 1000
ENTER
@@ -0,0 +1,35 @@
REM This script automates the process of generating
REM a strong and secure password on macOS.
REM Title: Password Generator
REM Author: Narsty
REM Target: MacOS
REM Version: 1.0
REM Category: GOODUSB
ID 05ac:021e Apple:Keyboard
DELAY 2000
GUI SPACE
DELAY 500
STRING terminal
DELAY 500
ENTER
DELAY 500
STRING echo "Generating Password..."
ENTER
DELAY 500
STRING password=$(openssl rand -base64 12)
ENTER
DELAY 500
STRING osascript -e 'tell app "System Events" to display dialog "Generated Password:\n\n'"$password"'" with title "Generated Password" buttons {"OK"} default button 1 with icon note'
ENTER
@@ -0,0 +1,32 @@
REM Locks the screen on macOS
REM Provides a quick way to secure your computer when stepping away
REM Ensures privacy and data protection
REM Title: Quick Lock Screen
REM Author: Narsty
REM Target: MacOS
REM Version: 1.0
REM Category: GOODUSB
ID 05ac:021e Apple:Keyboard
DELAY 2000
GUI SPACE
DELAY 500
STRING terminal
DELAY 500
ENTER
DELAY 500
STRING echo "Locking Screen..."
ENTER
DELAY 500
GUI-CTRL q
ENTER
DELAY 1000
@@ -0,0 +1,33 @@
REM Toggle Wifi
REM You'll need to STOP the Script after you see the wifi turn off (about 4 seconds)
REM To turn the wifi Back On let the script run all the way through
REM Title: Toggle Wifi
REM Author: Narsty
REM Target: MacOS
REM Version: 1.0
REM Category: GOODUSB
ID 05ac:021e Apple:Keyboard
DELAY 2000
GUI SPACE
DELAY 500
STRING terminal
DELAY 500
ENTER
DELAY 500
STRING echo "Toggling Wi-Fi..."
ENTER
DELAY 500
STRING networksetup -setairportpower en0 off
ENTER
DELAY 4000
STRING networksetup -setairportpower en0 on
ENTER
DELAY 500
GUI q
DELAY 500
ENTER
@@ -0,0 +1,26 @@
REM System monitoring dashboard
REM shows CPU usage, memory, and network stats, as well as disk usage.
REM When you run this, you'll get a dynamic, colorful dashboard
REM showing your system's real-time statistics.
REM It's a practical use of the terminal's capabilities, and it's also visually impressive.
REM Requirmetns: Homebrew and VTOP can install using command 'Brew install vtop'
REM Title: VTOP Enhanced Dashboard
REM Author: Narsty
REM Target: MacOS
REM Version: 1.0
REM Category: GOODUSB
ID 05ac:021e Apple:Keyboard
DELAY 500
GUI SPACE
DELAY 500
STRING Terminal
DELAY 1000
ENTER
DELAY 500
GUI-CTRL f
DELAY 2000
STRING vtop
ENTER
@@ -0,0 +1,28 @@
REM Ducky Script to resize and arrange windows on macOS
REM Title: WIndow Organizer
REM Author: Narsty
REM Target: MacOS
REM Version: 1.0
REM Category: GOODUSB
ID 05ac:021e Apple:Keyboard
DELAY 2000
GUI SPACE
DELAY 500
STRING Terminal
DELAY 500
ENTER
DELAY 1000
STRING osascript -e 'tell application "Terminal" to set bounds of window 1 to {0, 0, 600, 400}'
ENTER
DELAY 1000
STRING osascript -e 'tell application "Google Chrome" to set bounds of window 1 to {600, 0, 1200, 400}'
ENTER
DELAY 1000
STRING osascript -e 'tell application "Finder" to set bounds of window 1 to {0, 400, 600, 800}'
ENTER
DELAY 1000
STRING osascript -e 'tell application "TextEdit" to set bounds of window 1 to {600, 400, 1200, 800}'
ENTER
@@ -0,0 +1,23 @@
REM Easily check the weather with the click of a button
REM Can change the location by replacing "NETHERLANDS" with your location
REM TITLE: Weather Check
REM Author: Narsty
REM Version:1.0
REM Category: GOODUSB
DELAY 500
GUI SPACE
DELAY 500
STRING TERMINAL
DELAY 1000
ENTER
DELAY 500
STRING CURL WTTR.IN/NETHERLANDS
DELAY 500
ENTER
DELAY 500
GUI-CTRL F