Skip to content

Instantly share code, notes, and snippets.

Thi Duong dathi

  • TMA
  • Viet Nam
Block or report user

Report or block dathi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:6a9287f9919d642e2f23e030993af40e
Follow this link:
- Install docker (
+ Setup docker file sharing (
- Install the AWS SAM CLI Using Homebrew:
+ Install homebrew (
+ `brew tap aws/tap`
+ `brew postinstall python`
+ `brew install aws-sam-cli`
dathi / .rubocop.yml
Created Jan 5, 2016 — forked from jhass/.rubocop.yml
My preferred Rubocop config
View .rubocop.yml
RunRailsCops: true
# Commonly used screens these days easily fit more than 80 characters.
Max: 120
# Too short methods lead to extraction of single-use methods, which can make
# the code easier to read (by naming things), but can also clutter the class
dathi /
Created Nov 18, 2015 — forked from wdullaer/
Install Latest Docker and Docker-compose on Ubuntu
# Ask for the user password
# Script only works if sudo caches the password for a few minutes
sudo true
# Install kernel extra's to enable docker aufs support
sudo apt-get -y install linux-image-extra-$(uname -r)
# Add Docker PPA and install latest version
sudo apt-key adv --keyserver hkp:// --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
sudo sh -c "echo deb docker main > /etc/apt/sources.list.d/docker.list"
You can’t perform that action at this time.