Skip to content

Instantly share code, notes, and snippets.

@timothyandrew
Created September 13, 2013 19:13
Show Gist options
  • Save timothyandrew/6554822 to your computer and use it in GitHub Desktop.
Save timothyandrew/6554822 to your computer and use it in GitHub Desktop.
x = "Akshay Gupta <[email protected]>, Aninda Kundu <[email protected]>, Asif Kalam <[email protected]>, Jasim <[email protected]>, Jithu Gopal <[email protected]>, Neha Kumari <[email protected]>, Nivedita <[email protected]>, Nivedita Priyadarshini <[email protected]>, Prashant Karpe <[email protected]>, Srihari Sriraman <[email protected]>, Srushti Ambekallu <[email protected]>, Steven Deobald <[email protected]>, Tejas Dinkar <[email protected]>"
x.scan(/\<([^>]+)\>/).flatten.each do |str|
system "heroku sharing:add -r production #{str}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment