Automate your development environment setup in seconds. This project is an ongoing initiative to minimize the friction of setting up a new machine or project.
Copy and run this one-liner in your terminal. It downloads the script to your system path so you can run it from any folder.
sudo curl -L https://raw.githubusercontent.com/timepasser00/Utility/refs/heads/main/beast.sh -o /usr/local/bin/beast && sudo chmod +x /usr/local/bin/beast
- Competitive Programming Setup
This script automates the entire environment setup:
- a. Auto-Configuration: Creates a
.vscodefolder containing all necessary build files and code snippet support. - b. Instant Templates: Just type
cpand press Enter to instantly get the C++ template. - c. I/O Handling: Automatically creates
input.txtandoutput.txtfor local testing. - d. Quick Run: Press
Cmd + Shift + B(orCtrl + Shift + B) to open the dropdown and select "Compile and Run".
- a. Auto-Configuration: Creates a
- Navigate to the directory where you want to set up your competitive programming environment.
- Run the command
beast. Enter your password when prompted. This will create a folder namedcpp. - Run the command
contest <contest_name>. This creates a folder named<contest_name>containing empty files:A.cpp,B.cpp,C.cpp, andD.cpp. - Type
cpand pressEnterto start coding.