I hereby claim:
- I am ChristopherMacGown on github.
- I am 0x44 (https://keybase.io/0x44) on keybase.
- I have a public key whose fingerprint is 3D53 04B4 DE12 B8F0 E6C1 52CC 4DA6 64B1 071E 80FB
To claim this, I am signing this object:
| Sample | Slots | Requests | Excess | |
|---|---|---|---|---|
| 2018-10-01T00:00:00 | 21 | 21 | 8 | |
| 2018-10-01T00:05:00 | 21 | 21 | 8 | |
| 2018-10-01T00:10:00 | 18 | 17 | 0 | |
| 2018-10-01T00:15:00 | 18 | 10 | 0 | |
| 2018-10-01T00:20:00 | 18 | 18 | 0 | |
| 2018-10-01T00:25:00 | 18 | 18 | 5 | |
| 2018-10-01T00:30:00 | 18 | 18 | 8 | |
| 2018-10-01T00:35:00 | 18 | 15 | 0 | |
| 2018-10-01T00:40:00 | 17 | 17 | 9 |
I hereby claim:
To claim this, I am signing this object:
| >>> def do_this_thing_to_this(stuff, thing=lambda x: x): | |
| ... return thing(stuff) | |
| ... | |
| >>> do_this_thing_to_this(12345) | |
| 12345 | |
| >>> do_this_thing_to_this(do_this_thing_to_this) | |
| <function do_this_thing_to_this at 0x1016611b8> | |
| >>> do_this_thing_to_this(do_this_thing_to_this, thing=do_this_thing_to_this) | |
| <function do_this_thing_to_this at 0x1016611b8> |
| >>> dir(Column) | |
| ['_CompareMixin__compare', '_CompareMixin__operate', '__add__', '__and__', '__class__', '__delattr__', '__dict__', '__div__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getstate__', '__gt__', '__hash__', '__init__', '__invert__', '__le__', '__lt__', '__metaclass__', '__mod__', '__module__', '__mul__', '__ne__', '__neg__', '__new__', '__nonzero__', '__or__', '__radd__', '__rdiv__', '__reduce__', '__reduce_ex__', '__repr__', '__rmul__', '__rsub__', '__rtruediv__', '__setattr__', '__sizeof__', '__str__', '__sub__', '__subclasshook__', '__truediv__', '__visit_name__', '__weakref__', '_annotate', '_annotations', '_bind_param', '_check_literal', '_clone', '_cloned_set', '_compiler', '_compiler_dispatch', '_constructor', '_copy_internals', '_deannotate', '_from_objects', '_get_table', '_in_impl', '_init_items', '_label', '_make_proxy', '_memoized_property', '_negate', '_on_table_attach', '_params', '_select_iterable', '_set_parent', '_set_parent_with_dispatch', '_set_table', |
| diff --git a/glance/api/v1/filters.py b/glance/api/v1/filters.py | |
| new file mode 100644 | |
| index 0000000..20bbbb8 | |
| --- /dev/null | |
| +++ b/glance/api/v1/filters.py | |
| @@ -0,0 +1,57 @@ | |
| +# vim: tabstop=4 shiftwidth=4 softtabstop=4 | |
| + | |
| +# Copyright 2012, Piston Cloud Computing, Inc. | |
| +# All Rights Reserved. |
| >>> def callable(p): | |
| ... return '__call__' in dir(p) | |
| ... | |
| >>> callable('abc') | |
| False | |
| >>> callable(callable) | |
| True |
| >>> import math | |
| >>> | |
| >>> | |
| >>> class Shape(object): | |
| ... def area(self): | |
| ... raise NotImplementedError("An arbitrary shape doesn't have a defined " | |
| ... "area. Please use a descendent class.") | |
| ... | |
| >>> | |
| >>> class Circle(Shape): |
| How to determine if paying geek squad to destroy your computer is better than destroying your computer yourself: | |
| 3h(E + L) + P < dG? | |
| h = hourly rate | |
| E = number of hours it will take to learn how to destroy your computer. | |
| L = number of hours it will take to destroy your computer. | |
| P = Cost of the parts it will take to destroy your computer. | |
| dG = Price GeekSquad charges to destroy your computer. |
| >>> from novaclient.v1_1 import client | |
| >>> nova = client.Client("admin", "secrete", "admin", "http://dev2.rcb.me:5000/v2.0/") | |
| >>> nova.servers | |
| <novaclient.v1_1.servers.ServerManager object at 0x1007c41d0> | |
| >>> nova.servers.list() | |
| Traceback (most recent call last): | |
| File "<stdin>", line 1, in <module> | |
| File "novaclient/v1_1/servers.py", line 222, in list | |
| return self._list("/servers%s%s" % (detail, query_string), "servers") | |
| File "novaclient/v1_1/base.py", line 65, in _list |
| function git_rev_head | |
| { | |
| rev_prompt_token=" » " | |
| rev=1 | |
| sym=0 | |
| declare -a colors | |
| declare -a branches | |
| branches[$rev]=$(git name-rev --name-only head 2> /dev/null) | |
| branches[$sym]=$(git symbolic-ref -q head 2> /dev/null) |