OS: Ubuntu 18.04 Apache/2.4.18 1.0.2g-1ubuntu4.10
Aim: to install Aria2 with WebUI and secure Token.
IP Addr of your Aria2 server is 192.168.0.111
Your local IP network is 192.168.0.0/24
Install aria2 package:
#!/bin/bash | |
# | |
# Brady Shea - 18SEP2020 - conversion of system_update alias to bash script | |
# https://www.holylinux.net/ | |
# | |
# Place this script in "/usr/local/sbin/system_update" or similar location under your $PATH | |
# It needs root permissions (SUDO) to execute. | |
# | |
# Change these settings to your liking: | |
################################# |
#!/bin/bash | |
# USAGE: ./tmux-new.sh SESSION_NAME | |
# | |
# Credit to Keon Woortman | |
# URL: https://koenwoortman.com/tmux-sessions-should-be-nested-with-care-unset-tmux-to-force/ | |
session_name="$1" | |
# 1. First you check if a tmux session exists with a given name. | |
tmux has-session -t=$session_name 2> /dev/null |
#!/bin/bash | |
# | |
# Brady Shea - 18SEP2020 - conversion of system_update alias to bash script | |
# https://www.holylinux.net/ | |
# | |
# Place this script in "/usr/local/sbin/system_update" or similar location under your $PATH | |
# It needs root permissions (SUDO) to execute. | |
# | |
# Change these settings to your liking: | |
################################# |
version: '3' | |
services: | |
nginx-proxy: | |
image: nginx:alpine | |
container_name: proxy-nginx | |
environment: | |
- DEFAULT_HOST=hello.local | |
ports: | |
- 80:80 |
We did it! We broke gist.github.com ;) So head over to the new home! Thank you all!
2021.10.20: https://github.com/AveYo/MediaCreationTool.bat now open for interaction
Not just an Universal MediaCreationTool wrapper script with ingenious support for business editions,
A powerful yet simple windows 10 / 11 deployment automation tool as well!
#!/bin/bash | |
# Colors | |
RED='\033[0;31m' | |
BLACK='\033[0;30m' | |
DARK_GRAY='\033[1;30m' | |
LIGHT_RED='\033[1;31m' | |
GREEN='\033[0;32m' | |
LIGHT_GREEN='\033[1;32m' | |
BROWN_ORANGE='\033[0;33m' |
# This is a general-purpose function to ask Yes/No questions in Bash, either | |
# with or without a default answer. It keeps repeating the question until it | |
# gets a valid answer. | |
ask() { | |
# https://djm.me/ask | |
local prompt default reply | |
while true; do |
# http://EditorConfig.org | |
root = true | |
[*] | |
indent_size = 2 | |
indent_style = space | |
end_of_line = lf | |
charset = utf-8 | |
insert_final_newline = true | |
trim_trailing_whitespace = true |