Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/perl
$f = $ARGV[0];
$pagestart = 0;
$charstart = 0;
$kernstart = 0;
$s = "<?xml version=\"1.0\"?>\n<font>\n";
open(F, $f);
@fblanton
fblanton / Env Variables for NodeJS Apps.md
Last active February 28, 2024 19:31
Hiding NodeJS Secret Keys in .bash_profile

Hiding Secret Keys for your NodeJS app with Bash

GitHub is a great place to pubslish your code; and it is often required to post code there when learning to code. If you are writing a NodeJS app and being required to publish code to GitHub you should be careful of pushing any code that contains secret API keys. These keys could be scraped and used to write apps with your keys.

tl;dr

Don't have time to read all the stuff below. I get it. Add:

export KEY=value
export ANOTHER_KEY=anothervalue