I hereby claim:
- I am nicksnell on github.
- I am nicksnell (https://keybase.io/nicksnell) on keybase.
- I have a public key ASAHL0bIpe-MKaXfia-d3HprdaEVVDnI8wZokKFuS46omwo
To claim this, I am signing this object:
| import argparse | |
| import os | |
| import boto3 | |
| boto3.setup_default_session(profile_name=os.environ.get("AWS_PROFILE", "default")) | |
| def discover_lambdas(stack_name): | |
| cf = boto3.client("cloudformation") | |
| paginator = cf.get_paginator("list_stack_resources") |
| import base64 | |
| import boto3 | |
| import os | |
| encoded = os.environ.get("ENCODED") | |
| key_arn = os.environ.get("KEY") | |
| profile = os.environ.get("PROFILE") | |
| if key_arn is None or encoded is None: | |
| raise Exception("You must provide a key & encoded values!") |
| ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKy8lId3nxcufvnAcBB3KxnIpwMctB7ODC5vxIvO8BuD |
| # Install command-line tools using Homebrew | |
| # Usage: `brew bundle Brewfile` | |
| cask_args appdir: "/Applications" | |
| tap "homebrew/cask" | |
| tap "mas-cli/tap" | |
| tap "dart-lang/dart" | |
| tap "heroku/brew" | |
| tap "d12frosted/emacs-plus" | |
| tap "homebrew/cask-fonts" |
| Vue.component('example-element1', { | |
| render: function (createElement) { | |
| return createElement('h1', 'Example Element 1') | |
| } | |
| }) |
| def delta_dict(a, b): | |
| result = {} | |
| for key in a.keys(): | |
| if isinstance(a[key], dict): | |
| result[key] = delta_dict(a[key], b.get(key, {})) | |
| else: | |
| result[key] = a[key] - b.get(key, 0) | |
| return result | |
| if __name__ == '__main__': |
| import os | |
| import time | |
| from auth0.v3.authentication import GetToken | |
| from auth0.v3.management import Auth0 | |
| def main(): | |
| domain = os.environ.get('AUTH0_DOMAIN') | |
| client_id = os.environ.get('AUTH0_CLIENT') | |
| secret = os.environ.get('AUTH0_SECRET') |
| """ | |
| Tool for creating breed band mappings & updating the Algolia Index | |
| Install: | |
| pip install --upgrade 'algoliasearch>=2.0,<3.0' | |
| Usage: | |
| ALGOLIA_APP_ID= ALGOLIA_API_KEY= ALGOLIA_INDEX= python breed_bands.py | |
| """ |
| """ | |
| Export an Algolia Index to JSON. | |
| Usage: ALGOLIA_KEY=<some key> ALGOLIA_SECRET=<some secret> ALGOLIA_INDEX=<some index> python algolia_export.py | |
| """ | |
| import os | |
| import json | |
| from algoliasearch import algoliasearch |
I hereby claim:
To claim this, I am signing this object: