This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Based on: https://gist.github.com/XVilka/8346728 | |
| awk -v term_cols="${width:-$(tput cols || echo 80)}" 'BEGIN{ | |
| s="/\\"; | |
| for (colnum = 0; colnum<term_cols; colnum++) { | |
| r = 255-(colnum*255/term_cols); | |
| g = (colnum*510/term_cols); | |
| b = (colnum*255/term_cols); | |
| if (g>255) g = 510-g; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| sudo apt update | |
| sudo apt install -y vim zsh git goaccess | |
| sudo apt install -y lsb-release ca-certificates apt-transport-https software-properties-common gnupg2 | |
| echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | sudo tee /etc/apt/sources.list.d/sury-php.list | |
| wget -qO - https://packages.sury.org/php/apt.gpg | sudo apt-key add | |
| sudo apt update | |
| sudo apt install -y php-fpm mariadb-server php-mysql php-curl php-xml php-imagick php-mbstring php-zip php-intl mycli | |
| sudo a2enmod proxy_fcgi setenvif rewrite |
OlderNewer