I hereby claim:
- I am mankins on github.
- I am mankins (https://keybase.io/mankins) on keybase.
- I have a public key ASAyJ-lSDbetag3VSMavEStIidiCXzNizg5_WGbbPJwURgo
To claim this, I am signing this object:
| ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++.>[-]>[-]<<[->+>+<<]>>[-<<+>>]<+++++++++++++++++++++++++.>[-]>[-]<<[->+>+<<]>>[-<<+>>]<+++++++++++++++.>[-]>[-]<<[->+>+<<]>>[-<<+>>]<.>[-]>[-]<<[->+>+<<]>>[-<<+>>]<+++++++++.>[-]>[-]<<[->+>+<<]>>[-<<+>>]<-----------------------------------------------------------------------------------------.>[-]>[-]<<[->+>+<<]>>[-<<+>>]<++++++++++++++++++++++++++++++++++.>[-]>[-]<<[->+>+<<]>>[-<<+>>]<+++++++++++++++++++++++++++++++++++++++.>[-]>[-]<<[->+>+<<]>>[-<<+>>]<+++++++++.>[-]>[-]<<[->+>+<<]>>[-<<+>>]<++.>[-]>[-]<<[->+>+<<]>>[-<<+>>]<------------.>[-]>[-]<<[->+>+<<]>>[-<<+>>]<----.>[-]>[-]<<[->+>+<<]>>[-<<+>>]<---.>[-]>[-]<<[->+>+<<]>>[-<<+>>]<++++++++++++++++++++++++.> |
I hereby claim:
To claim this, I am signing this object:
| #!/bin/bash | |
| # From a user's MFA code, generate accesskey, secret, session token | |
| # | |
| # ENV inputs: | |
| # AWS_CLI_INPUT = /path/to/token/config.json | |
| # AWS_PROFILE = The Aws profile to use for aws commands | |
| MFA_CODE=$1 | |
| if [ -z $MFA_CODE ]; then |
What's the current best practice for executing a function included by adding a (potentially async, deferred) script tag on the page?
We used to have scripts load synchronously, so we could immediately start using the library the next line:
<head>
<script src="/my-library-2001.js"/>
<script>
myLib.hello(); // works!
</script>| #!/bin/bash | |
| # parentWeighting factor will multiple weights, we will get this from the first argument, defaulting to 1 | |
| parentWeighting=${1:-1} | |
| # Get the list of authors and commit counts | |
| authors=$(git log --format='%ae' | sort | uniq -c | sort -nr) | |
| # Get the total weight | |
| total=$(echo "$authors" | awk '{ sum += $1 } END { print sum }') |
| #!/bin/bash | |
| # get repo from command line | |
| repo=$1 | |
| # parentWeight, default to 1 | |
| parentWeighting=${2:-1} | |
| # if no repo, exit | |
| if [ -z "$repo" ]; then |
| #!/bin/bash | |
| # debug mode | |
| DEBUG_MODE=0 | |
| # read file from command line | |
| if [ -z "$@" ]; then | |
| echo "Usage: $0 <file>" | |
| exit 1 | |
| fi |
| #!/bin/bash | |
| #set -x | |
| # If there's a proxy host set in the environment, pull it in | |
| [ -n $FTAWS_PROXY_HOST ] && PROXYHOST=$FTAWS_PROXY_HOST | |
| # Private is the 'usual' way, subject to override in a few places below. If any code below selects public, then we go with the public address. | |
| PROXYTOIPTYPE="-r" |