I hereby claim:
- I am wrigby on github.
- I am wrigby (https://keybase.io/wrigby) on keybase.
- I have a public key whose fingerprint is 47E0 AE95 3A5A E818 4805 9A03 A5AB 9C37 F71B 6BCE
To claim this, I am signing this object:
| <?php | |
| // Send some data to Honeycomb, where $data is just an associative array | |
| // that can be JSON encoded. Wire this up in a callback with | |
| // `register_shutdown_function` to ship data off after your request is finished. | |
| function send_data($dataset, $data) { | |
| $url = 'https://api.honeycomb.io/1/events/'.$dataset; | |
| $team_id = 'secret'; | |
| $timestamp = microtime(True); | |
| $options = array( |
| def sign_extend(bits, value): | |
| """ Sign-extend from http://stackoverflow.com/questions/32030412/twos-complement-sign-extension-python """ | |
| sign_bit = 1 << (bits - 1) | |
| return (value & (sign_bit - 1)) - (value & sign_bit) | |
| def get_samples(w): | |
| w.rewind() | |
| num_samples = w.getnframes() | |
| sample_depth = w.getsampwidth() |
I hereby claim:
To claim this, I am signing this object:
| /* Some elements may need this to make sure they are the | |
| * position parent of the child pseudo-element we'll create | |
| * below | |
| */ | |
| your_element { | |
| position: relative; | |
| } | |
| /* This pseudo-element copies the background from its parent, | |
| * allowing you to apply CSS filters just to the background image. |
session_plugin = AxisSessionPlugin()
c = Client(..., plugins=[session_plugin])