kelson8 / install-nginx.sh
0 вподобань
0 форк(-ів)
1 файл(-ів)
Остання активність 4 months ago
Nginx installer bash script that installs php and optionally mariadb.
| 1 | #!/bin/bash |
| 2 | # This will be a basic script for installing Nginx, Mariadb, and php. |
| 3 | # Mostly created with a few guides and my knowledge of this stuff. |
| 4 | |
| 5 | # Set these to true depending on if installing all of them. |
| 6 | # By default, these are set to false. |
| 7 | INSTALL_NGINX=false |
| 8 | INSTALL_PHP=false |
| 9 | INSTALL_MARIADB=false |
| 10 | # Set the php version here, on Ubuntu Server 24 the latest is 8.3 |
kelson8 / conv-video-to-audio.sh
0 вподобань
0 форк(-ів)
1 файл(-ів)
Остання активність 4 months ago
Basic bash script to convert video files to m4a with ffmpeg.
| 1 | #!/bin/bash |
| 2 | |
| 3 | # Basic bash script to use ffmpeg to convert videos to m4a. |
| 4 | # Script usage: ./conv-video-to-audio.sh input.mp4 output.m4a |
| 5 | |
| 6 | INPUT=$1 |
| 7 | OUTPUT=$2 |
| 8 | |
| 9 | if ! command -v ffmpeg -version > /dev/null 2>&1; then |
| 10 | echo "Ffmpeg is not available! You will need to install it to use this script." |
kelson8 / Install ZSH Script
0 вподобань
0 форк(-ів)
1 файл(-ів)
Остання активність 4 months ago
ZSH installer script, by default all options are disabled.
| 1 | #!/bin/bash |
| 2 | |
| 3 | DATE=$(date '+%F') # Date in this format e.g. 2024-01-21 |
| 4 | TIME=$(date '+%I:%M %p') # Time in this format e.g. 3:40PM |
| 5 | |
| 6 | # By default all of these options are set to false. |
| 7 | |
| 8 | # Install ZSH and oy mh zsh |
| 9 | INSTALL_ZSH=false |
| 10 | # Install the .zshrc file |
Новіше
Пізніше