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
| https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04 | |
| https://askubuntu.com/questions/387062/how-to-solve-the-phpmyadmin-not-found-issue-after-upgrading-php-and-apache | |
| sudo apt-get install php-mbstring php7.0-mbstring php-gettext libapache2-mod-php7.0 | |
| sudo systemctl restart apache2 |
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
| sudo apt-get update | |
| sudo apt-get upgrade | |
| sudo apt-get install php7.0-mysql |
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
| lsb_release -a | |
| sudo chmod -R 777 /var/lib | |
| sudo chmod -R 777 /var/cache | |
| apt update && apt upgrade | |
| apt install php-mcrypt php-gd php-mbstring | |
| # Install php-xml | |
| sudo apt-get install php-xml | |
| # Install composer |
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
| sudo apt-get update | |
| sudo apt-get install curl | |
| sudo curl -s https://getcomposer.org/installer | php | |
| sudo mv composer.phar /usr/local/bin/composer | |
| composer |
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
| sudo add-apt-repository ppa:ondrej/php | |
| sudo apt-get update | |
| sudo apt-get install php7.0 | |
| sudo apt-get install php7.0-mysql |
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
| sudo apt update && sudo apt upgrade -y | |
| lsb_release -a | |
| sudo apt-get install -y build-essential | |
| curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - | |
| sudo apt-get install -y nodejs | |
| node -v |
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
| sudo chmod -R 777 /var/lib/jenkins/secrets |
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
| "scripts": { | |
| "start": "webpack --config webpack.config.js", | |
| "build": "webpack -p --config webpack.config.js" | |
| } |
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 artisan migrate:fresh --seed | |
| \ \ \ \ | |
| \ \ \ `-- Call seeders. | |
| \ \ `-- Drop all tables and run migrations. | |
| \ `-- General command. | |
| `-- ? |
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
| const peopleArray = [ | |
| { id: 123, name: "dave", age: 23 }, | |
| { id: 456, name: "chris", age: 23 }, | |
| { id: 789, name: "bob", age: 23 }, | |
| { id: 101, name: "tom", age: 23 }, | |
| { id: 102, name: "tim", age: 23 } | |
| ]; | |
| const arrayToObject = (array, keyField) => | |
| array.reduce((obj, item) => { |