Skip to content

Instantly share code, notes, and snippets.

View parnpresso's full-sized avatar
🏄‍♂️
Don't go with the flow, be the flow!

Parn Boonyamanee parnpresso

🏄‍♂️
Don't go with the flow, be the flow!
View GitHub Profile
@parnpresso
parnpresso / gist:9a8fee595d9c50552beafddcd9f18825
Last active January 16, 2020 02:15
Install docker and docker-compose in one Paste! (Ubuntu 18.04)
# Install docker
sudo apt update
sudo apt install -yqq apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable"
sudo apt update
sudo apt install -yqq docker-ce
sudo usermod -aG docker ${USER}
# Install docker from docker.io apt
@parnpresso
parnpresso / no-need-cd-anymore.txt
Last active January 30, 2018 15:41
No need `cd` on macOS anymore
In macOS termainal,
`..` == `cd ..`
`/var/www` == `cd /var/www`
## More detail
In macOS terminal, you can change directory by using `cd` command.
OR you can skip `cd`.
For example