Skip to content

Instantly share code, notes, and snippets.

@mkalygin
Forked from xinthink/connect-mongolab
Created January 18, 2014 23:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mkalygin/8498413 to your computer and use it in GitHub Desktop.
Save mkalygin/8498413 to your computer and use it in GitHub Desktop.
#!/bin/bash
mongoctl connect `heroku config | grep -Po '(?<=MONGOLAB_URI: ).+'`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment