Skip to content

Instantly share code, notes, and snippets.

View vladshut's full-sized avatar
🇺🇦
#standWithUkraine

Vladyslav Shut vladshut

🇺🇦
#standWithUkraine
View GitHub Profile
@vladshut
vladshut / instaborder.sh
Created May 3, 2021 11:19
Resizes an image and squares it up by padding and adding border. (for Instagram)
#!/usr/bin/env bash
### ==============================================================================
### SO HOW DO YOU PROCEED WITH YOUR SCRIPT?
### 1. define the options/parameters and defaults you need in list_options()
### 2. define dependencies on other programs/scripts in list_dependencies()
### 3. implement the different actions in main() with helper functions
### 4. implement helper functions you defined in previous step
### ==============================================================================
### Created by vs ( vs ) on 2021-05-03