I hereby claim:
- I am sumukh on github.
- I am sumukhangellist (https://keybase.io/sumukhangellist) on keybase.
- I have a public key ASAQnzqPDyaVTRH3MI7YYcUHZxHACFo0yh8dE575ZossJwo
To claim this, I am signing this object:
| # Aspose.3D Wavefront OBJ Exporter | |
| # Copyright 2004-2022 Aspose Pty Ltd. | |
| # File created: 04/01/2022 03:40:43 | |
| # | |
| # object OpenSCAD_Model | |
| # | |
| v 50.4540999999999968 89.2909999999999968 -5 |
I hereby claim:
To claim this, I am signing this object:
| from collections import Counter | |
| ALL_SCORES = [1, 1.2, 3.5, 1, 6, 2, 6, 20, 13] | |
| def histogram(scores, bucket_size=1): | |
| """ | |
| Returns list of tuples (frequency, start, end) | |
| Bonus points for figuring out how to automatically choose the | |
| best bucket_size. | |
| import signal | |
| class timeout: | |
| def __init__(self, seconds=1, error_message='Timeout'): | |
| self.seconds = seconds | |
| self.error_message = error_message | |
| def handle_timeout(self, signum, frame): | |
| raise TimeoutError(self.error_message) | |
| def __enter__(self): | |
| signal.signal(signal.SIGALRM, self.handle_timeout) | |
| signal.alarm(self.seconds) |
| from functools import wraps | |
| import errno | |
| import os | |
| import signal | |
| from subprocess import Popen, PIPE | |
| import subprocess | |
| class TimeoutError(Exception): | |
| pass |
This policy is a "living" document, and subject to refinement and expansion in the future.
The 61A Chat should be a safe place for everybody regardless of
I hereby claim:
To claim this, I am signing this object:
| #/bin/bash | |
| sudo apt-get update; | |
| sudo apt-get install git-core vim build-essential python3-dev python-dev; |