Public Scripts
- Shell 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| .idea | ||
| notes | ||
| .gitignore | ||
| new-python-setup.sh | ||
| new-server-setup.sh | ||
| README.md | ||
scripts
A collection of scripts that I use to create or initialize my environment
New Server Setup
A script to run on new installation of lxc or ubuntu machine
new-server-setup.sh
echo -n "Token: "
read TOKEN
curl -O -H "Authorization: token $TOKEN" -H "Accept: application/vnd.github.v3.raw" -L https://raw.githubusercontent.com/johnsturgeon/scripts/main/new-server-setup.sh
chmod +x new-server-setup.sh
./new-server-setup.sh
rm ./new-server-setup.sh
New Python Repositor Setup
A script to run to set up and initialize a new python repository
new-python-setup.sh
Steps to use:
- mkdir
some new project name - cd
some new project name
echo -n "Token: "
read TOKEN
curl -O -H "Authorization: token $TOKEN" -H "Accept: application/vnd.github.v3.raw" -L https://raw.githubusercontent.com/johnsturgeon/scripts/main/new-python-setup.sh
chmod +x new-python-setup.sh
./new-python-setup.sh
rm ./new-python-setup.sh