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:
| <?php | |
| $hash = hash_pbkdf2('sha256', 'example', 'some salt', 100000); | |
| echo $hash; | |
| ?> |
| #!/usr/bin/python | |
| import sys | |
| from urllib2 import urlopen | |
| from ConfigParser import ConfigParser | |
| from StringIO import StringIO | |
| stations = { | |
| 'radio1': '57286085', | |
| 'radio2': '57286086', |
| module.exports = { | |
| root: true, | |
| parser: 'babel-eslint', | |
| parserOptions: { | |
| sourceType: 'module' | |
| }, | |
| extends: 'standard', | |
| plugins: [ | |
| 'html' | |
| ], |
I hereby claim:
To claim this, I am signing this object:
| """ | |
| 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 |
| """ | |
| 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 | |
| """ |
| 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') |
| 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__': |
| Vue.component('example-element1', { | |
| render: function (createElement) { | |
| return createElement('h1', 'Example Element 1') | |
| } | |
| }) |
| # 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" |