I hereby claim:
- I am mikelambert on github.
- I am mlambert (https://keybase.io/mlambert) on keybase.
- I have a public key ASCHXR6Qg58dNPYigw28xpjs7vyFLsrBBAILbk1vBGf9Igo
To claim this, I am signing this object:
# This attempts to force a FIFO ordering on RPC execution in the eventloop (as opposed to random RPC execution) | |
RPC_ORDERING = True | |
if RPC_ORDERING: | |
import collections | |
from google.appengine.ext.ndb import eventloop | |
class OrderedEventLoop(eventloop.EventLoop): | |
def __init__(self): | |
super(OrderedEventLoop, self).__init__() | |
self.rpcs = collections.OrderedDict() |
#!/bin/bash | |
# Should be called with "shub_add_egg.sh PROJECT_ID PIP_PACKAGE_NAME" | |
# | |
set -e | |
cd $(mktemp -d) | |
PIP_OUTPUT=$(pip download $2) | |
TAR_GZ=$(echo $PIP_OUTPUT | grep -o "[^ ]*.tar.gz" | head -1) | |
tar xzf $TAR_GZ | |
cd $(dirname $(find . -name 'setup.py')) | |
BDIST_OUTPUT=$(python setup.py bdist_egg) |
var ProportionalImage = React.createClass({ | |
getInitialState() { | |
return { | |
style: {} | |
}; | |
}, | |
propTypes: { | |
originalWidth: React.PropTypes.number.isRequired, |
I hereby claim:
To claim this, I am signing this object:
┌─────────────┬──────────┬───────────────────────────┬──────────┬─────────────┬────────────────┬──────────────┐ | |
│ MODEL_ID │ MAKE │ MODEL_NAME │ FORM │ RESOLUTION │ OS_VERSION_IDS │ TAGS │ | |
├─────────────┼──────────┼───────────────────────────┼──────────┼─────────────┼────────────────┼──────────────┤ | |
│ A0001 │ OnePlus │ OnePlus One │ PHYSICAL │ 1920 x 1080 │ 22 │ │ | |
│ D6503 │ Sony │ Xperia Z2 │ PHYSICAL │ 1920 x 1080 │ 21 │ │ | |
│ D6603 │ Sony │ Xperia Z3 │ PHYSICAL │ 1920 x 1080 │ 21 │ │ | |
│ E5803 │ Sony │ Xperia Z5 Compact │ PHYSICAL │ 1280 x 720 │ 22 │ │ | |
│ F5121 │ Sony │ Sony Xperia X │ PHYSICAL │ 1920 x 1080 │ 23 │ │ | |
│ Nexus10 │ Samsung │ Nexus 10 │ VIRTUAL │ 2560 x 1600 │ 19,21,22 │ │ |