Skip to content

Instantly share code, notes, and snippets.

View ryantate13's full-sized avatar

ryantate13

  • Yalo.com
  • Portland, OR
  • 07:12 (UTC -07:00)
View GitHub Profile
@ryantate13
ryantate13 / .zshrc
Created May 7, 2020 06:17
`serve` zsh alias
serve () {
local port="${2:-80}"
port=$(echo $port | sed s/://g)
echo now serving traffic on http://localhost:$port
sudo docker run -it --rm -v $(realpath $1):/usr/share/nginx/html -p "$port":80 nginx:alpine
}

Keybase proof

I hereby claim:

  • I am ryantate13 on github.
  • I am ryantate13 (https://keybase.io/ryantate13) on keybase.
  • I have a public key ASBnE7LnpdFoYwpZWHGX-M6bpjFf18EE1xkr3vUSteAJgwo

To claim this, I am signing this object: