Thank you for your interest in Redfin Corporation ("Redfin"). In order to clarify the intellectual property license granted with Contributions from any person or entity, Redfin must have a Contributor License Agreement ("CLA") on file that has been signed by each Contributor, indicating agreement to the license terms below. This license is for your protection as a Contributor as well as the protection of Redfin and its users; it does not change your rights to use your own Contributions for any other purpose. Please read this document carefully before signing and keep a copy for your records.
You accept and agree to the following terms and conditions for Your present and future Contributions submitted to Redfin. In return, Redfin shall not use Your Contributions in a way that is contrary to the public benefit. Except for the license granted herein to Redfin and recipients of software distributed by Redfin, You reserve all ri
Prior to setting the PKG_CONFIG_PATH, as below, pip install cryptography
failed with Symbol not found: _ffi_type_double
on my machine running Mac OS X 10.8.5. I am not sure how commonly the error occurs for other users.
brew install libffi
# Note the version-specific path below.
PKG_CONFIG_PATH=/usr/local/Cellar/libffi/3.0.13/lib/pkgconfig/ pip install cryptography
def max_per_second(mps): | |
def decorate(func): | |
ind = [0] | |
arr = [0.0]*mps | |
def wrapper(*args, **kwargs): | |
now = time.time() | |
stime = (arr[ind[0]]+1) - now | |
if stime > 0: | |
time.sleep(stime) |