This sheet goes along with this SSH YouTube tutorial
$ ssh [email protected]
$ mkdir test
$ cd test
| package main | |
| import ( | |
| "fmt" | |
| "io" | |
| "io/ioutil" | |
| "net/http" | |
| "os" | |
| "strings" | |
| ) |
| <?php | |
| namespace App\Console\Commands; | |
| use Illuminate\Console\Command; | |
| use Illuminate\Support\Composer; | |
| use Symfony\Component\Finder\Finder; | |
| use Illuminate\Filesystem\Filesystem; | |
| use Symfony\Component\Console\Input\InputArgument; |
| /** | |
| * Track depth scroll | |
| */ | |
| var currentDepthScroll = 0; | |
| function trackDepthScroll() { | |
| var bottom = window.pageYOffset + window.innerHeight; | |
| var height = document.documentElement.clientHeight; | |
| var percent = (bottom/height)*100; |
$ ssh [email protected]
$ mkdir test
$ cd test
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title>Site is down for maintenance</title> | |
| <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1" /> | |
| <style type="text/css"> | |
| body { text-align: center; padding: 10%; font: 20px Helvetica, sans-serif; color: #333; } | |
| h1 { font-size: 50px; margin: 0; } | |
| article { display: block; text-align: left; max-width: 650px; margin: 0 auto; } |
| —– BEGIN LICENSE —– | |
| TwitterInc | |
| 200 User License | |
| EA7E-890007 | |
| 1D77F72E 390CDD93 4DCBA022 FAF60790 |
| 1- /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
| 2- brew install homebrew/php/php71 | |
| 3- composer global require laravel/valet | |
| 4- echo 'export PATH="$PATH:$HOME/.composer/vendor/bin"' >> ~/.bashrc | |
| 5- source ~/.bashrc | |
| 6- valet install |