Scripts and useful shortcuts for my wsl environment
clone this repo in your home directory
add the setup.sh
file to your .bashrc e.g. source ~/WorkspaceTools/setup.sh
run install
run uninstall
remove the line you added in .bashrc
Scripts involving configuring java, or projects written for java
-
AMGN.sh
Contains 2 commandsAMGNdependency
will add AMGN to the system classpathbuild_AMGN
will actually build out AMGN for you
-
jdk17.sh
Will configure the JDK 17 classpath for you, assuming you have openjdk-17 installed
Random scripts I found it hard to categorise
-
aws.sh
Contains 2 commandsaws_creds
will make setting aws creds easieraws_ssh_pass
will allow password authentication on an AWS EC2 instance, in case you either want to use a password or want to use the VSC ssh editor on the EC2 instance
-
aliases.sh
Contains the following aliases:twitch
calls ~/twitch-cli_1.1.6_Linux_x86_64/twitch
-
env_vars.sh
Contains the following environment variables:windows
is my windows desktopcdrive
is my c drivehdrive
is my h drivezdrive
is my z drivebackslash
is a backslash character because my keyboard doesn't have one (so I can doecho $backslash
and have one to paste)pipe
is a pipe character because my keyboard doesn't have one
-
tools.sh
Contains useful commands:mvw
moves a file from WSL to my windows desktopcpw
moves a file from WSL to my windows desktop
-
mongodb run these scripts to setup and use mongodb
install_mongo.sh
installs mongodb- adds the command
start_db
which will start the database