Public Scripts
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2025-03-28 13:50:07 -07:00
.idea added unattended upgrades 2024-08-06 13:48:04 -07:00
notes Updated notes 2025-01-13 16:22:14 -08:00
.gitignore first shot at a runnable script 2024-05-23 10:13:23 -07:00
new-python-setup.sh Updated new python setup script 2025-01-14 15:19:19 -08:00
new-server-setup.sh Removed installation of unattended upgrades (will run via ansible) 2025-03-28 13:50:07 -07:00
README.md Updated to execute file instead of 'bash' ing it 2025-01-14 16:16:57 -08:00

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:

  1. mkdir some new project name
  2. 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