Skip to content

Instantly share code, notes, and snippets.

@seanmtracey
Created January 10, 2018 02:13
Show Gist options
  • Save seanmtracey/63c3b3220d50d0eb46757b8a595e883f to your computer and use it in GitHub Desktop.
Save seanmtracey/63c3b3220d50d0eb46757b8a595e883f to your computer and use it in GitHub Desktop.
Heroku envVars now plz
Array.from(table.querySelectorAll('tr')).map(tr => {tds = Array.from(tr.querySelectorAll('td') ); return `${tds[0].querySelector('input').value}=${tds[1].querySelector('textarea').value}` }).join('\n')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment