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/sh | |
| # This command and the ppa and auto apt-get update after that | |
| sudo env LC_ALL=C.UTF-8 add-apt-repository --yes ppa:ondrej/php | |
| # Install PHP 7.2 and the most common extesions | |
| sudo apt-get install php7.4-fpm php7.4-common php7.4-dev php7.4-curl php7.4-gd php7.4-json php7.4-mysql php7.4-odbc php7.4-pgsql php7.4-pspell php7.4-readline php7.4-sqlite3 php7.4-tidy php7.4-xml php7.4-xmlrpc php7.4-bcmath php7.4-bz2 php7.4-intl php7.4-mbstring php7.4-phpdbg php7.4-soap php7.4-zip php-imagick php-redis php-memcached |
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 | |
| NAME="Dean Hyde" | |
| EMAIL="[email protected]" | |
| DEV_TOOLS="php7.2 php7.2-mbstring git-core curl httpie vim unzip virtualbox" | |
| # Helper functions | |
| function title() { | |
| echo -e "\e[92m${1}\e[0m" | |
| } |
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
| #!/usr/bin/env bash | |
| cecho() { | |
| declare -A colors | |
| colors=( | |
| ['black']='\E[0;47m' | |
| ['red']='\E[0;31m' | |
| ['green']='\E[0;32m' | |
| ['yellow']='\E[0;33m' |
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 | |
| ########################################## | |
| # System install script for ubuntu 18.04 # | |
| ########################################## | |
| ### Google-chrome | |
| wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add - | |
| sudo sh -c 'echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google-chrome.list' | |
| sudo apt-get update |
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 | |
| ### FUNCTIONS ### | |
| # Ask the user a simple yes/no question. Any response other than yes (no case) | |
| # will lead to a negative answer | |
| confirm() { | |
| # Call this function with a prompt string (without y/N) or use the default | |
| # prompt "Are you sure?" |
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 | |
| GREEN='\033[0;32m' | |
| CYAN='\033[0;36m' | |
| NC='\033[0m' | |
| echo "${CYAN}Welcome to Easy LEMP Stack Setup${NC}" | |
| echo "${CYAN}Ubuntu 18.04 Supported${NC}" | |
| echo "${GREEN}Created By SUST CSE Developer Network (SCDN)\n${NC}" | |
| echo "${GREEN}Maintained By Rafik Farhad\n${NC}" |
This content moved here: https://exploringjs.com/impatient-js/ch_arrays.html#quickref-arrays
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
| # ================================================ | |
| # PHP 7.2 | |
| # | |
| # See https://www.colinodell.com/blog/201711/installing-php-72 | |
| # ================================================ | |
| apt-get install -y apt-transport-https lsb-release ca-certificates | |
| wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg | |
| echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" | tee /etc/apt/sources.list.d/php.list | |
| apt-get update | |
| apt-get install -y php7.2-cli php7.2-gd php7.2-mbstring php7.2-curl php7.2-xml php7.2-zip |
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
| # ubuntu.daniguardiola.me - start | |
| # fix for yarn global path | |
| export PATH="$(yarn global bin):$PATH" | |
| # fix ~/.local/bin path | |
| export PATH="$HOME/.local/bin:$PATH" | |
| # put android sdk tools on path |