I hereby claim:
- I am shiftie on github.
- I am gordan (https://keybase.io/gordan) on keybase.
- I have a public key whose fingerprint is A385 2BD0 F6DB 5BF0 4DD1 4A60 8AB3 366E C125 9EE4
To claim this, I am signing this object:
locals { | |
policies = [ | |
# policies to combine in JSON | |
# might be: | |
# - data.aws_iam_policy.some-policy.policy | |
# - aws_iam_policy.some-policy.policy | |
# - file("some-policy.json") | |
# - templatefile("some-policy.json.tpl", {}) | |
# - aws_iam_policy_document.some-policy.json | |
aws_iam_policy.policy1.policy, |
/** | |
* To be used with Papertrail provided logs: https://papertrailapp.com/account/archives | |
* Rename the uncompressed file "papertrail.tsv" (or use "input" argument) | |
* usage exmaples: | |
* time node getSlowRequests.js minDuration=5000 > tmp.log && code tmp.log // will parse papertrail.tsv for requests slower than 5s & output to tmp.log & open it in VScode | |
* time node getSlowRequests.js groupBy=status orderBy=time direction=asc // will group by status code & order (ascedant) by time within each group | |
*/ | |
'use strict'; |
/** | |
* Creates debug instances for different logging levels within your namespace & | |
* exposes functions to use them | |
* Usage: | |
* @example | |
* const debug = require('./debugLevels')('unicorn'); | |
* debug.info('Hello %s', 'world'); // unicorn:info Hello world +0ms | |
* debug.error('Oops %O', new Error('damn')); // unicorn:error Oops Error: damn | |
* // unicorn:error at Object.<anonymous> (....) | |
* |
# Example Dockerfile | |
FROM hello-world |
/** | |
* In one terminal: | |
* alias chrome="/Applications/Google\ Chrome.app/Contents/MacOS/Google\ Chrome" | |
* chrome --remote-debugging-port=9222 --headless | |
* In another terminal: | |
* nvm use 7.6.0 | |
* yarn add chrome-har-capturer | |
* node speedTest.js | |
* Wait for command to complete (depends on amount of URLs & iterations) | |
*/ |
I hereby claim:
To claim this, I am signing this object: