I hereby claim:
- I am bentonporter on github.
- I am bentonporter (https://keybase.io/bentonporter) on keybase.
- I have a public key ASAvNxbpNFqq_RUQQiVmgb60fjCt2GzXv7SlvvJU7KV0zAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| from werkzeug.contrib.profiler import ProfilerMiddleware | |
| app.config['PROFILE'] = True | |
| app.wsgi_app = ProfilerMiddleware(app.wsgi_app, restrictions = [50]) | |
| app.run(port=args.port, debug=True, extra_files=extra_files) |
| require 'openssl' | |
| require 'Base64' | |
| key = "secret-key" | |
| data = "some data to be signed" | |
| Base64.encode64(OpenSSL::HMAC.digest(OpenSSL::Digest::Digest.new('sha256'), key, data)).strip() |