Skip to content

merogersdev/automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automation Scripts

This repository stores my automation scripts. Each script has its own dedicated README file for further instructions.

Bash

Arch Linux Installation Script

Automated installation script to install Arch Linux, with choice of Gnome or KDE desktop environments. Includes several QOL tweaks and will prompt for passwords at the end.

CODE README

Developer Environment Setup (Ubuntu)

Automated installer for NVM, Docker, custom Bash Prompt, VS Code, popular VS Code extensions, VS Code user settings, Google Chrome, and the Hack Nerd Font on Ubuntu-based linux systems.

CODE README

Developer Environment Setup (Ubuntu WSL)

Installs Docker, Node Version Manager, and custom bash prompt in WSL2 Ubuntu environment.

CODE README

Custom Bash Prompt

Custom bash prompt with git branch detection. Minimal and quick to load. Useful alternative to other more complex prompts.

CODE README

File Sync Script

Based on rsync, this script features more robust log generation and can be easily called from CRON.

CODE README

VM App Deployment

Automate setup and deployment of full-stack apps to VM services like AWS EC2, Azure, Digital Ocean...etc. Sets up Ubuntu VM with Nginx, Node.js LTS, SSH Key, PM2 and certbot for SSL certificate. Includes deploy script for CI/CD pipeline.

INIT CODE DEPLOY CODE README

Python

Video Encoder

Batch-processing video encoder. Can detect whether videos are a movie or tv episode, rename it with encoder data, and output to a separate directory.

CODE README

Image Resize

Batch image resizing script. Resizes images in a given folder, and outputs the resized file with dimensions eg. screenshot_1920x1080.png to a separate directory. Can be run with built-in defaults or with optional flags for input directory, output directory, image width and image length/height.

CODE README

Health Check (Script and Docker Dashboard)

Gets and logs system health issues for Linux systems including internet connectivity, cpu load average, cpu temperature, disk usage, reboot status, memory usage and swap usage. Can be run as a standalone script, or as a service via included dockerfile.

CODE README

Multisync

Multithreaded rsync script, written in Python. Script provides a more efficient utilization of modern CPUs by spawning concurrent processes of rsync for faster file sync and backups. Includes logging.

CODE README

PowerShell

Backup Script (Windows)

Simple PowerShell script to backup files from one directory to another. Script runs multithreaded, depending on how many virtual processors are available. Errors are logged when they happen.

CODE README

Tags

PowerShell Shell Script Python Linux Windows Flask Docker

About

Automation Scripts - written primarily in Bash and Python. Available for all who have a use for them.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published