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:
https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-cli-install-mac.html?shortFooter=true
- Install docker (https://docs.docker.com/docker-for-mac/install/)
+ Setup docker file sharing (https://docs.docker.com/docker-for-mac/#file-sharing)
- Install the AWS SAM CLI Using Homebrew:
+ Install homebrew (https://docs.brew.sh/Homebrew-on-Linux)
+ `brew tap aws/tap`
+ `brew postinstall python`
+ `brew install aws-sam-cli`
@dathi
dathi / .rubocop.yml
Created Jan 5, 2016 — forked from jhass/.rubocop.yml
My preferred Rubocop config
View .rubocop.yml
AllCops:
RunRailsCops: true
# Commonly used screens these days easily fit more than 80 characters.
Metrics/LineLength:
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
Metrics/MethodLength:
@dathi
dathi / install.sh
Created Nov 18, 2015 — forked from wdullaer/install.sh
Install Latest Docker and Docker-compose on Ubuntu
View install.sh
# 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://keyserver.ubuntu.com:80 --recv-keys 36A1D7869245C8950F966E92D8576A8BA88D21E9
sudo sh -c "echo deb https://get.docker.io/ubuntu docker main > /etc/apt/sources.list.d/docker.list"
You can’t perform that action at this time.