I hereby claim:
- I am jefflovejapan on github.
- I am blagdon (https://keybase.io/blagdon) on keybase.
- I have a public key whose fingerprint is 0125 8DD5 0E0A 82E6 E2DE A876 6BC7 41AF B18D 231F
To claim this, I am signing this object:
DEBUG:root:Error item of group general, ITEM: {'original_debounce_always_delay': False, 'original_delay': 0, 'group': 'general', 'error_classes': '(cpymongo.errors\\nConnectionFailure\\np1\\ncpymongo.errors\\nOperationFailure\\np2\\ncredis.exceptions\\nConnectionError\\np3\\ncrequests.exceptions\\nTimeout\\np4\\ntp5\\n.', 'original_debounce_seconds': 0, 'args': '(V584c84d119c2010023506812\\np1\\nV58a989e3c6d700c2c1000317\\np2\\nI00\\ntp3\\n.', 'use_exponential_backoff': True, 'attempts': 0, 'last_push_time': 1489762532.403255, 'first_push_time': 1489762512.534594, 'error': {'hostname': '12aca7467492', 'traceback': 'Traceback (most recent call last):\n File "/usr/local/lib/python2.7/dist-packages/deferrable-0.0.1-py2.7.egg/deferrable/deferrable.py", line 107, in process\n method(*args, **kwargs)\n File "/usr/local/lib/python2.7/dist-packages/gamechanger/admin/cs_tool.py", line 247, in merge_player\n result = _merge_player(primary_id, tomerge_id, override, commit=True)\n File "/usr/local/lib/python2.7/ |
decompose:: [Int] -> (Int, Int, [Int]) | |
decompose (x: y: [xs]) = (x, y, xs) | |
let stuff = decompose [4, 5, 6, 7, 8] | |
{- | |
Couldn't match expected type ‘[Int]’ with actual type ‘Int’ | |
In the expression: xs | |
In the expression: (x, y, xs) | |
-} |
# Path to your oh-my-zsh installation. | |
export ZSH=/Users/jeff/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
ZSH_THEME="robbyrussell" | |
# Uncomment the following line to use case-sensitive completion. |
We connect to a device over Wi-Fi that we get data from about the car. In order for it to work properly, we tell users to set up a static IP like so: | |
IP Address: 192.168.0.123 | |
Subnet Mask: 255.255.255.0 | |
Everything else: no entry (nil) | |
If the user sets this up correctly they can both get data from the Wi-Fi device and use their cellular connection. If the user doesn't set up a static IP, here's what their network preferences look like after they get assigned an address with DHCP: | |
IP Address: 192.168.0.something (11 for me right now) | |
Subnet Mask: 255.255.255.0 |
I hereby claim:
To claim this, I am signing this object:
<head><script src="http://d3js.org/d3.v3.js" charset="utf-8"></script></head> | |
<body> | |
<script type="text/javascript"> | |
(function () { | |
/*global window */ | |
/*global WebSocket */ | |
window.THEWEBSOCKET = new WebSocket("ws://blagdons-macbook-air-2.local:8001"); | |
window.onbeforeunload = function () { window.THEWEBSOCKET.close(); }; | |
var files = []; |
class BinaryHeap(list): | |
def __init__(self): | |
list.__init__(self) | |
list.append(self, 0) | |
def append(self, item): | |
list.append(self, item) | |
self.perc_up(len(self) - 1, item) |
from drench import main | |
main() |
# setup.py | |
from setuptools import setup, find_packages | |
setup( | |
name="drench", | |
version="0.0.1", | |
install_requires=['bitarray>=0.8.1', 'requests>=2.0.0'], | |
packages=find_packages(), | |
# metadata for upload to PyPI |
class BinaryTree(object): | |
"""docstring for BinaryTree""" | |
def __init__(self, arg): | |
self.key = arg | |
self.leftChild = None | |
self.rightChild = None | |
def insertLeft(self, node): |