!2high !2hot !airhorn !airplanes !anygirl !asskicker !attn
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"workbench.colorTheme": "Material Theme Ocean High Contrast", | |
"workbench.colorCustomizations": { | |
"activityBarBadge.background": "#00BCD4", | |
"list.activeSelectionForeground": "#00BCD4", | |
"list.inactiveSelectionForeground": "#00BCD4", | |
"list.highlightForeground": "#00BCD4", | |
"scrollbarSlider.activeBackground": "#00BCD450", | |
"editorSuggestWidget.highlightForeground": "#00BCD4", | |
"textLink.foreground": "#00BCD4", |
I hereby claim:
- I am ninjabunny9000 on github.
- I am ninjabunny9000 (https://keybase.io/ninjabunny9000) on keybase.
- I have a public key ASBzAf5FuCo9Hv0TVA3FdLhAgzX5k8Ql3c60tiSCGSPy6Ao
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is based on original code from http://stackoverflow.com/a/22649803 | |
// with special credit to error454's Python adaptation: https://gist.github.com/error454/6b94c46d1f7512ffe5ee | |
function EnhanceColor(normalized) { | |
if (normalized > 0.04045) { | |
return Math.pow( (normalized + 0.055) / (1.0 + 0.055), 2.4); | |
} | |
else { return normalized / 12.92; } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
from dotenv import load_dotenv, dotenv_values | |
# method 1) | |
load_dotenv() # load | |
# ref | |
os.getenv('VARIABLE_NAME', default='alternate_value') # specifying a default value to fall back on if env var is missing | |
os.env['VARIABLE_NAME'] # may return None |