npm init
npm install --save express
Open Terminal
In Terminal
# 1) edit terminal
echo 'PS1="\[\033[40m\]\[\033[36m\]\w\\[\033[00m\] :: "' >> ~/.bashrc && source ~/.bashrc
# 2) create `public` folder
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 | |
mkdir -p ~/__tempdldir/ | |
cd ~/__tempdldir | |
# + (i) download + unzip Go-language @ https://golang.org/doc/install?download=go1.9.linux-amd64.tar.gz | |
curl https://dl.google.com/go/go1.10.2.linux-amd64.tar.gz > go1.10.2.linux-amd64.tar.gz | |
sudo tar -C /usr/local -xzf go1.10.2.linux-amd64.tar.gz | |
- https://www.digitalocean.com/community/tutorials/how-to-install-mysql-on-ubuntu-16-04
- lets you run mysql instance
sudo apt-get update
sudo apt-get install mysql-server
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 | |
# (i) clone the repo | |
mkdir -p ~/tmpdir && cd ~/_tmpdir | |
git clone https://github.com/github/hub.git && cd hub | |
# (iii) build the hub script w/ go | |
script/build -o ~/bin/hub |
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
1. Clear USB w/ Disk Utitlity, format w/ MSDOS(FAT) | |
2. Download unetbootin | |
http://unetbootin.github.io/ | |
3. Configure target drive for usb | |
/Volumes/UNetbootin/unetbootin.app/Contents/MacOS/unetbootin installtype=USB targetdrive=/dev/disk2s1 | |
4. Run unetbootin installer -- select ubuntu 16.04x64 |
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
<h1>Hey guys dont do this</h1> |
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
<h1>Hey guys dont do this</h1> |
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
mkdir project | |
cd project | |
touch index.html | |
mkdir js css | |
touch js/main.js css/styles.css | |
echo "some sweet text" > index.html |