Skip to content

dmdx86/script-repo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Slys Script Repository

A mix of my favorite scripts for both Windows and Linux.

Included languages

  • AutoHotkey
  • Batch
  • Powershell
  • Shell / Bash
  • Visual Basic / VBS
  • Windows Registry
  • XML

Updated 10.16.23

  • Added ArchLinux support to some of the build scripts. Additional scripts will be converted to add this support in the future

OS Support

  • Arch Linux
  • Debian 10/11/12
  • Ubuntu (22/20/18).04

Why this repository exists:

  1. This repository was created as a way to share my custom scripts
  2. Make the scripts publicly available with the hope that they are beneficial to others
  3. Spark ideas for better and more efficient ways of coding that lead to an overall improvement in the efficiency and usefulness of each script
  4. Have a centralized zone where users can access the scripts they need quickly and efficiently

Build Menu

  • All of the below Linux installers are located in one menu.
bash <(curl -fsSL https://build-menu.optimizethis.net)

Build All GNU Scripts

  • Master script to build all GNU scripts at once
bash <(curl -fsSL https://build-all-gnu.optimizethis.net)

Build All GitHub Scripts

  • Master script to build all GitHub project scripts at once
bash <(curl -fsSL https://build-all-git.optimizethis.net)

Install GCC versions - 11.4.0 / 12.3.0 / 13.2.0

  • Sourced from the official GitHub repository
  • For personal/testing use only
  • Check the top of the script for build results
  • Supported OS:
    • Ubuntu - (18/20/22).04
    • Debian - 10/11/12
    • Other Debian-based distros may work as well

For native Linux systems (Windows WSL not working)

bash <(curl -fsSL https://gcc.optimizethis.net)

Install Discord

  • Self-updating script that auto-installs the latest Discord version
bash <(curl -fsSL https://discord.optimizethis.net)

Install 7-Zip

  • Installs the latest static version of 7-Zip based on your PC's processor and architecture
    • Arch - i386 | x86_x64
    • Processor - Linux | ARM

v23.01 Release

bash <(curl -fsSL https://7z.optimizethis.net)

  • Sourced from the most recent release on the official Git
  • Tested on Windows WSL 2 Debian/Ubuntu
  • Optimize JPG Images
  • Supported OS:
    • Debian - 10/11/12
    • Ubuntu - (18/20/22).04
    • Other - Debian-based distros may work as well
bash <(curl -fsSL https://magick.optimizethis.net)

Install FFmpeg

  • Compiles the latest updates from source code by issuing API calls to each repositories backend
  • The CUDA SDK Toolkit which unlocks Hardware Acceleration is available during the installation to make things as easy as possible
  • See the my dedicated ffmpeg build page for more info on supplying your own GitHub API tokens: ffmpeg-build-script
  • Supported OS:
    • Debian - 10/11/12
    • Ubuntu - (18/20/22).04 / 23.04
    • Other - Debian-based distros may work as well

With GPL and non-free libraries: https://ffmpeg.org/legal.html

bash <(curl -fsSL https://build-ffmpeg.optimizethis.net) --build --latest

Install CMake, Ninja, Meson & Golang

  • Supported OS:
    • Debian - 10/11/12
    • Ubuntu - (18/20/22).04
    • Other - Debian-based distros may work as well
bash <(curl -fsSL https://build-tools.optimizethis.net)

Install Aria2

  • Updated to version 1.37.0
  • Aria2 max connections increased from 16 to 64
  • Supported OS:
    • Debian - 11/12
    • Ubuntu - (20/22/23).04
    • Other - Debian-based distros may work as well
bash <(curl -fsSL https://aria2.optimizethis.net)

Install cURL, WGET & ARIA2C

  • Aria2 max connections increased from 16 to 64
  • Supported OS:
    • Debian - 10/11/12
    • Ubuntu - (18/20/22).04
    • Other - Debian-based distros may work as well

List of Libraries activated during build: Libs

bash <(curl -fsSL https://dl-tools.optimizethis.net)

Add custom mirrors to: /etc/apt/sources.list

  • Supported OS:
    • Debian - 10/11/12
    • Ubuntu - (18/20/22).04 / 23.04

Warning! This will overwrite your files!

bash <(curl -fsSL https://mirrors-menu.optimizethis.net)

Add custom user scripts to the user's home directory

  • Files included
  • .bashrc
  • .bash_aliases
  • .bash_functions

Warning! This will overwrite your files!

bash <(curl -fsSL https://user-scripts.optimizethis.net)

Install Adobe Fonts system-wide

bash <(curl -fsSL https://adobe-fonts.optimizethis.net)

Quick Install apt-fast

bash -c "$(curl -fsL https://git.io/vokNn)"

Change your network settings to Static or DHCP with netplan.io

  • The user will be prompted to enter the network settings
bash <(curl -fsSL https://static-ip.optimizethis.net)

Debian Package Downloader

  • Download APT packages to your PC by entering a space-separated list of values.
  • Input a single entry or an entire list of APT packages and the script will download its respective .deb file to the current directory.
bash <(curl -fsSL https://download.optimizethis.net)

Install Tilix Advanced Terminal with custom color themes

  • Dracula theme included + many others
  • Supported OS:
    • Debian - 10/11/12
    • Ubuntu - (18/20/22).04
    • Other Debian-based distros may work as well
bash <(curl -fsSL https://tilix.optimizethis.net)

Install Python3 v3.12.0

  • Supported OS:
    • Debian - 10/11/12
    • Ubuntu - (18/20/22).04
    • Other - Debian-based distros may work as well
bash <(curl -fsSL https://python3.optimizethis.net)

Install the WSL2 latest kernel release from Linux

  • Supported OS:
    • Debian - 10/11/12
    • Ubuntu - (18/20/22).04
    • Other - Debian-based distros may work as well
bash <(curl -fsSL https://wsl2-kernel.optimizethis.net)

Install Squid Proxy Server for home use

curl -Lso squid.sh https://squid-proxy.optimizethis.net; sudo bash squid.sh

Install Media Players

  • Prompt user with options to download
    • VLC
    • Kodi
    • SMPlayer
    • GNOME Videos (Totem)
    • Bomi
bash <(curl -fsSL https://players.optimizethis.net)

Install: GParted's extra functionality packages

  • Unlock the following options in GParted
    • exFAT
    • btrfs
    • f2fs
    • jfs
    • udf
    • lvm2 pv
    • hfs/hfs 2
    • Reiser 4/reiserfs
bash <(curl -fsSL https://gparted.optimizethis.net)

Create SSH key pairs and export the public key to a remote computer

  1. Prompt user with instructions
    • Main Menu:
      1. Check if public key files exist and if not walk the user through the creation of files
      2. Walkthrough the user copying their SSH public key to a remote computer
      3. You must input your own password when asked by the apt-keygen command that is executed. This is to keep your security strong!
curl -Lso ssh-keys.sh https://ssh-keys.optimizethis.net; sudo bash ssh-keys.sh

Windows Section

Add Copy as Path to Windows Context Menu

  1. Run cmd.exe as administrator
  2. To add to the context menu, paste the below command into cmd.exe and press enter to execute
curl.exe -Lso add-copy-as-path.reg https://copy-path.optimizethis.net && call add-copy-as-path.reg
  • To remove from the context menu, paste the next command into cmd.exe and press enter to execute
curl.exe -Lso remove-copy-as-path.reg https://rm-copy-path.optimizethis.net && call remove-copy-as-path.reg

Enable Windows Optional Features

Enables the following Features

.NET Framework 3.5 (all options)
Windows Communication Foundation HTTP Activation
Windows Communication Foundation Non-HTTP Activation    
.NET Framework 4.8 Advanced Services
ASP .NET 4.8
WCF Services
  HTTP Activation
  Message Queuing Activation
  Named Pip Activation
  TCP Activation
  TCP Port Sharing
Active Directory Lightweight Directory Services
Device Lockdown
Custom Logon
Shell Launcher
Unbranded Boot
Internet Information Services
Microsoft Message Queue (MSMQ) Server
Microsoft Print to PDF
Print and Document Services
Remote Differential Compression API Support
Services for NFS
Simple TCPIP Services
SMB 1.0/CIFS File Sharing Suppor (All suboptions enabled)
SMB Direct
Telnet Client
TFTP Client
Windows Identity Foundation 3.5
Windows PowerShell 2.0
Windows Process Activation Service
Windows Subsystem for Linux (WSL)
Windows TIFF IFliter
Work Folders Client
  1. To add to the context menu, paste the below command into cmd.exe and press enter to execute
curl.exe -Lso features.bat https://win-optional-features.optimizethis.net && CALL features.bat && DEL /Q features.bat

Add Open WSL Here to Windows Context Menu

  1. Run cmd.exe as administrator
  2. To add to the context menu, paste the below command into cmd.exe and press enter to execute
curl.exe -fsSL https://open-wsl-here.optimizethis.net > open-wsl-here.bat && call open-wsl-here.bat
  1. To remove the context menu, paste the below command into cmd.exe and press enter to execute
curl.exe -fsSL https://open-wsl-here-rm.optimizethis.net > open-wsl-here-rm.bat && call open-wsl-here-rm.bat

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 94.4%
  • Batchfile 3.7%
  • AutoHotkey 1.4%
  • Markdown 0.3%
  • VBScript 0.2%
  • PowerShell 0.0%