Skip to content

Instantly share code, notes, and snippets.

View misteryomi's full-sized avatar

'Yomi Omotoso misteryomi

View GitHub Profile
@misteryomi
misteryomi / heroku.env.js
Created September 20, 2022 11:33 — forked from TahaBoulehmi/heroku.env.js
Export Heroku env
// This script lets you export all heroku config vars
// 1) Go to your app settings and reveal config vars
// 2) Open the console and run this code:
// BONUS: You can add this script as a bookmark.
function download(filename, text) {
var element = document.createElement('a');
element.setAttribute('href', 'data:text/plain;charset=utf-8,' + encodeURIComponent(text));
element.setAttribute('download', filename);