- Generate TLS certificates for
localhost:
pip install trustme-cli
trustme-cli- Run
wrkon each endpoint, eg:
localhost:pip install trustme-cli
trustme-cliwrk on each endpoint, eg:| /**** | |
| Creatd by Anam Ahmed (https://anam.co) | |
| Sample Use: | |
| document.querySelector("input[type=file]").addEventListener("change",function(e){ | |
| if(e.target.files.length){ | |
| _resample(e.target.files[0],1000,function(response){ | |
| console.log(response); // returns an object: {stats:<compression stats>,file:output file} | |
| }); | |
| } | |
| }); |
Picking the right architecture = Picking the right battles + Managing trade-offs
| #! /usr/bin/env python | |
| # | |
| # Mixpanel, Inc. -- http://mixpanel.com/ | |
| # | |
| # Python API client library to consume mixpanel.com analytics data. | |
| import hashlib | |
| import urllib | |
| import time | |
| try: |