I hereby claim:
- I am NotBobTheBuilder on github.
- I am jackweirdy (https://keybase.io/jackweirdy) on keybase.
- I have a public key whose fingerprint is 380E 9CE9 1B22 CE7F BACE 46AF F73C EE42 FBB8 F13C
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
[jack@Jacks-MacBook-Pro ~]$ ping google.com | |
PING google.com (62.252.232.39): 56 data bytes | |
64 bytes from 62.252.232.39: icmp_seq=0 ttl=58 time=14.113 ms | |
64 bytes from 62.252.232.39: icmp_seq=1 ttl=58 time=21.145 ms | |
64 bytes from 62.252.232.39: icmp_seq=2 ttl=58 time=13.580 ms | |
64 bytes from 62.252.232.39: icmp_seq=3 ttl=58 time=13.161 ms | |
64 bytes from 62.252.232.39: icmp_seq=4 ttl=58 time=11.364 ms | |
64 bytes from 62.252.232.39: icmp_seq=5 ttl=58 time=9.459 ms | |
64 bytes from 62.252.232.39: icmp_seq=6 ttl=58 time=11.133 ms | |
64 bytes from 62.252.232.39: icmp_seq=7 ttl=58 time=14.571 ms |
ADMIN_PASSWORD=nova | |
MYSQL_PASSWORD=nova | |
RABBIT_PASSWORD=nova | |
SERVICE_PASSWORD=$ADMIN_PASSWORD | |
SERVICE_TOKEN=nova | |
ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account | |
SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5 | |
SWIFT_REPLICAS=1 |
# deb cdrom:[Ubuntu 15.04 _Vivid Vervet_ - Release i386 (20150422)]/ vivid main restricted | |
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
# newer versions of the distribution. | |
deb http://archive.ubuntu.com/ubuntu/ vivid main restricted | |
deb-src http://archive.ubuntu.com/ubuntu/ vivid main restricted | |
## Major bug fix updates produced after the final release of the | |
## distribution. | |
deb http://archive.ubuntu.com/ubuntu/ vivid-updates main restricted |
var opponentName; | |
var nextHand = 'paper'; | |
function init(opponent) { | |
opponentName = opponent; | |
} | |
function play() { | |
return nextHand; | |
} |
from collections import OrderedDict, namedtuple | |
from functools import partial | |
class Dispatcher(object): | |
def __init__(self): | |
self.handlers = OrderedDict() | |
def match(self, *args): | |
def match_inner(handler_fn): | |
self.handlers[args] = handler_fn |
trait TesterTrait { | |
type Out | |
def unapply(s: String): Out | |
} | |
object Tester extends TesterTrait { | |
override type Out = Boolean | |
def unapply(s: String) = false | |
} |
#!/usr/bin/env python3 | |
import os | |
import select | |
import struct | |
DEV = '/dev/hidraw1' | |
def read_temperature(device_path=DEV): | |
# Credit to https://github.com/urwen/temper for this byte sequence | |
QUERY = struct.pack('8B', 0x01, 0x80, 0x33, 0x01, 0x00, 0x00, 0x00, 0x00) |
{"NAME":"Gosund","GPIO":[0,56,0,17,134,132,0,0,0,0,21,0,0],"FLAG":0,"BASE":18} |
A couple of days ago I noticed my Ring Chime was disconnected in the Ring app. After a couple of years happily connected it was time to fulfil the ultimate purpose of both software and hardware: annoy humans.
I went through the reconnection process a couple of times to no luck. I called Ring support, who took me through the same process a couple of times to the same result. But one step in their process yielded an unusual result: if I set up a WiFi hotspot on my phone, the Chime would connect to it!
But when renaming my home WiFi network to have the same name and password as the hospot, the Chime still can't connect.