Skip to content

Instantly share code, notes, and snippets.

View jblinder's full-sized avatar

Justin Blinder jblinder

View GitHub Profile
@jblinder
jblinder / ec2-logs
Last active March 4, 2016 17:41
Adding 'heroku logs' functionality to an EC2 instance
# note: rough first pass, switch to arguments later
alias myapp-logs = 'ssh myapp "cat /path/to/server/output.log"'
alias myapp-logs-tail = 'ssh myapp "tail -f /path/to/server/output.log"'