$ npm install -g create-react-app
$ create-react-app my-app
This file contains 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
########## Install NGINX ############## | |
# Install software-properties-common package to give us add-apt-repository package | |
sudo apt-get install -y software-properties-common | |
# Install latest nginx version from community maintained ppa | |
sudo add-apt-repository ppa:nginx/stable | |
# Update packages after adding ppa |
Below are many examples of function hoisting behavior in JavaScript. Ones marked as works
successfuly print 'hi!' without errors.
To play around with these examples (recommended) clone them with git and execute them with e.g. node a.js
(I may be using incorrect terms below, please forgive me)
This file contains 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
:: UPDATE YUM :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
sudo yum update -y | |
:: INSTALL WEBSERVER ::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
sudo yum install httpd24 | |
sudo service httpd start | |
sudo chkconfig httpd on | |
chkconfig --list httpd |