Skip to content

Instantly share code, notes, and snippets.

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 Jan 16, 2020
Install docker and docker-compose in one Paste! (Ubuntu 18.04)
View gist:9a8fee595d9c50552beafddcd9f18825
# 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 Jan 30, 2018
No need `cd` on macOS anymore
View no-need-cd-anymore.txt
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