I hereby claim:
- I am mcstafford-git on github.
- I am mcstafford (https://keybase.io/mcstafford) on keybase.
- I have a public key ASApMJlPh7AN_TeOx7-dYqw7NQvyQmy9WmklVzgrqyuWpAo
To claim this, I am signing this object:
Agent: id=agent-v0oou3vt9966j8atb, name=scalr-agent-4-7665492482926513313, version=0.42.0 | |
Terraform v1.3.5 | |
Initializing Terraform configuration... | |
Configuring remote state backend... | |
Initializing plugins and modules... | |
------------------------------------------------------------------------ | |
Executing pre-plan hook... |
#!/usr/bin/env pytest | |
""" | |
Configuring python test environment to work against LocalStack | |
Expanding upon README.md in https://github.com/localstack/localstack-python-client | |
Pre-reqquisites: | |
pip install localstack-client pytest && | |
git clone https://github.com/localstack/localstack.git && |
I hereby claim:
To claim this, I am signing this object:
""" | |
Python's lambda is an alternative way to create a function, | |
something like anonymous functions in pl/sql, and javascript. | |
""" | |
def input_times_whatever(n): | |
return lambda a: a * n | |
# variable scope, lifetime | |
# modified from stackoverflow https://goo.gl/Gy5Ai7 | |
import multiprocessing | |
import os | |
def hey(pid, message): | |
global i | |
global queue |