Skip to content

jdjnovak/random-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

random-scripts

Some random scripts that I've written for various reasons


db_backup.sh

I wrote this script to help me keep daily backups for a postgres database for a project I did in 2018.
I ran it via cron 0 0 * * *. It would run everyday at 12:00am.
Honestly, not the best naming scheme for my backups, but it worked for what I needed.


nginx_check.sh

This checks whether NGINX has been shut down, if it has it starts it back up (probably a better way but whatever)


JavaProjectBootstrapper.sh

This script bootstraps a new Java project. The cli takes either a name or a name and author

./JavaProjectBootstrapper.sh NewProject "John Deere"

Creates the following file structure:

ProjectName
  - README.md
  - compile.sh
  - src
    - Main.java
  - build
  - tests

About

Some random scripts that I've written for various reasons

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages