I hereby claim:
- I am zoidbb on github.
- I am zoidbb (https://keybase.io/zoidbb) on keybase.
- I have a public key ASBwt0C_JvpMBgorvxdbKSHXLCvXEwfl4k5oCa2bAB25GAo
To claim this, I am signing this object:
| import cacheops, sys | |
| from django import setup | |
| setup() | |
| from redis import Redis | |
| from apps.feature_flags.backends.smart_redis import SmartRedisDict | |
| from django.conf import settings | |
| storage = Redis(**settings.FEATURE_FLAG_DB['connection']) | |
| redis_dict = SmartRedisDict('gutter', storage) | |
| encoded = {x:redis_dict.encoding.encode(y) for x,y in redis_dict.items()} | |
| import json |
| from __future__ import print_function | |
| import os, re, sys | |
| func_regex = re.compile("((def)|(class)) (?P<funcname>[^\(]+)\([^\)]*") | |
| for stdin_line in sys.stdin.read().splitlines(): | |
| filename, _lineno, _ = stdin_line.split(":", 2) | |
| lineno = int(_lineno) | |
| fd = open(filename) |
| aws-env () { | |
| if [[ -n "$1" ]]; then | |
| if [[ ! -f ~/.aws/credentials ]]; then | |
| print -P "%F{red}No AWS Credentials Found%f" | |
| return | |
| fi | |
| if [[ $(grep -F \[$1\] ~/.aws/credentials) = "" ]]; then | |
| print -P "%F{red}Environment '$1' not found in AWS credentials file%f" | |
| return | |
| fi |
I hereby claim:
To claim this, I am signing this object:
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| ------------------------------------------------------ | |
| _______ __ _____ | |
| / ____(_)___ ____ _/ / / ___/_________ ________ | |
| / /_ / / __ \/ __ `/ / \__ \/ ___/ __ \/ ___/ _ \ | |
| / __/ / / / / / /_/ / / ___/ / /__/ /_/ / / / __/ | |
| /_/ /_/_/ /_/\__,_/_/ /____/\___/\____/_/ \___/ | |
| ------------------------------------------------------ | |
| | Lap | Metric | Operation | Value | Unit | | |
| |------:|-------------------------------:|-----------------------:|------------:|-------:| |
| ------------------------------------------------------ | |
| _______ __ _____ | |
| / ____(_)___ ____ _/ / / ___/_________ ________ | |
| / /_ / / __ \/ __ `/ / \__ \/ ___/ __ \/ ___/ _ \ | |
| / __/ / / / / / /_/ / / ___/ / /__/ /_/ / / / __/ | |
| /_/ /_/_/ /_/\__,_/_/ /____/\___/\____/_/ \___/ | |
| ------------------------------------------------------ | |
| | Lap | Metric | Operation | Value | Unit | | |
| |------:|-------------------------------:|-----------------------:|------------:|-------:| |