Skip to content

Instantly share code, notes, and snippets.

View rafazrte's full-sized avatar
🎯
WIP

Rafael Zarate rafazrte

🎯
WIP
View GitHub Profile

Keybase proof

I hereby claim:

  • I am rafaelzarate on github.
  • I am rafaelzarate (https://keybase.io/rafaelzarate) on keybase.
  • I have a public key ASBvfkTawmRqYVVhSTtAgjves3uEpoYUBirlJIbf9xyUzQo

To claim this, I am signing this object:

find $1 -name $2 | xargs -I file wc -l file | awk '{ print $1; }' | tr "\n" "+" | awk '{ print $1 0 }' | bc
@rafazrte
rafazrte / setup_docker.sh
Last active September 30, 2019 00:07
Sets up docker and docker-compose in a newly created AWS Ubuntu AMI instance
sudo apt-get -y update
sudo apt-get -y install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -