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 a replacement for the method Provider.setProviderSession, which was removed in oidc-provider 7.x. | |
// | |
// Question in repo about its removal, unanswered at the time of this writing: | |
// https://github.com/panva/node-oidc-provider/discussions/934 | |
// | |
// Original 6.x Method source is here: | |
// https://github.com/panva/node-oidc-provider/blob/2c3a667de583846470921883918f4c4145bef6c6/lib/provider.js | |
// | |
// The version in this file has been adjusted in the following significant ways: | |
// - Removed the `meta` argument, which is no longer supported in 7.x |
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
#!/usr/bin/env bash | |
# Detect known terminals and map them to their process name for use with AppleScript. | |
if [[ ${TERM_PROGRAM} == "Apple_Terminal" ]]; then | |
terminal="Terminal" | |
elif [[ ${TERM_PROGRAM} == "iTerm.app" ]]; then | |
terminal="iTerm2" | |
fi | |
function aws_okta() { |
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
// Automatically creates hot keys for each potion/scroll/magic item you can use in a quest using the | |
// first available letter in the button's text. Special exclusions are made for keys that are used by | |
// the game itself — if you don't know why, I won't spoil it for you. | |
// Hot keys can be enabled or disabled by a button at the top of the page, or by pressing CTRL+K or | |
// CMD+K. | |
!function (undefined) { | |
var enabled = false, bindings = {}, reserved = 'IK'; | |
$.each(potions.list, function (i, potion) { | |
var text = potion.buttonText, |