If you need to open up ports 80 and 443, on file /etc/iptables/rules.v4 just add
-A INPUT -p tcp -m state --state NEW -m multiport --dports 80,443 -j ACCEPT
directly below
| var accounts = [ | |
| { name: 'James Brown', msgCount: 123 }, | |
| { name: 'Stevie Wonder', msgCount: 22 }, | |
| { name: 'Sly Stone', msgCount: 16 }, | |
| { name: 'Otis Redding', msgCount: 300 } // Otis has the most messages | |
| ]; | |
| // get sum of msgCount prop across all objects in array | |
| var msgTotal = accounts.reduce(function(prev, cur) { | |
| return prev + cur.msgCount; |
| #!/bin/bash | |
| laravel new $1 | |
| cd $1 | |
| composer install | |
| yarn install | |
| touch README.md | |
| cp .env.example .env | |
| git init | |
| git add -A |