I hereby claim:
- I am larsyencken on github.
- I am larsyencken (https://keybase.io/larsyencken) on keybase.
- I have a public key ASA8C0rHf7xPHpnGtSJocvnWtScIBboV-7YZZ9tucf3caQo
To claim this, I am signing this object:
| { | |
| "type" : "object", | |
| "properties" : { | |
| "maxTime" : { | |
| "type" : [ "string", "number" ], | |
| "minLength" : 6, | |
| "maxLength" : 6, | |
| "minimum" : 0 | |
| }, | |
| "/charts/300" : { |
| #!/usr/bin/env python | |
| import pandas as pd | |
| import json | |
| INPUT_FILE = "owid-covid-data.json" | |
| OUTPUT_FILE = "owid-covid-data-list.json" | |
| with open(INPUT_FILE) as istream: |
| #!/usr/bin/env python | |
| from os import path, walk | |
| import click | |
| import sh | |
| @click.command() | |
| @click.argument("filenames", nargs=-1) | |
| @click.option("--on", is_flag=True, default=None) |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # make_folder_prefixed.py | |
| # | |
| import os | |
| import tarfile | |
| import tempfile | |
| import shutil |
| # | |
| # defaults.mk | |
| # | |
| # Sensible defaults for any Python project. | |
| # | |
| # You must define variables: | |
| # | |
| # CODE_LOCATIONS - The folders you keep code in, including your tests | |
| # COVERAGE_LIMIT - A number between 0 and 100, your minimum coverage level | |
| # |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| # | |
| # tile.py | |
| # xfce-window-tiling | |
| # | |
| """ | |
| A tiling script on top of wmctrl command. | |
| """ |
I hereby claim:
To claim this, I am signing this object:
| import base64 | |
| import json | |
| def unpack_itunes_receipt(receipt_b64): | |
| receipt_s = base64.b64decode(receipt_b64).decode('utf8') | |
| receipt_json = receipt_s.replace('" = "', '": "').replace(';', ',').replace(',\n}', '\n}') | |
| receipt = json.loads(receipt_json) | |
| if 'purchase-info' in receipt: | |
| receipt['purchase-info'] = unpack_itunes_receipt(receipt['purchase-info']) |