I hereby claim:
- I am sheeley on github.
- I am sheeley (https://keybase.io/sheeley) on keybase.
- I have a public key whose fingerprint is BCFE BFA3 6734 636E A808 B02F 9AC3 A5CB 5E6F 3E6E
To claim this, I am signing this object:
$DOCKER_MACHINE --debug create -d virtualbox --virtualbox-memory 2048 $VM | |
executing: /usr/local/bin/VBoxManage | |
STDOUT: Oracle VM VirtualBox Command Line Management Interface Version 5.0.2 | |
(C) 2005-2015 Oracle Corporation | |
All rights reserved. | |
Usage: | |
VBoxManage [<general option>] <command> |
// this gets you most of the way to being able to paste your account information | |
var trs = document.querySelectorAll('tr, input[type=text]'); | |
for(var i = 0; i < trs.length; i++){ | |
var tr = trs[i]; | |
tr.onpaste = null; | |
tr.onkeypress = null; | |
tr.oncontextmenu = null; | |
} | |
document.removeEventListener('mousedown') |
This test creates keyed messages and pushes them to one Kafka broker (source). | |
Mirror maker is consuming from source and pushing to destination. | |
After publishing, the test consumes first from source, then destination, and compares the counts per partition. | |
Output: | |
running with topic EQEVYCTWOV | |
publishing 10000 messages to EQEVYCTWOV | |
partition source destination match |
TestingServer ts = new TestingServer(); | |
int port = TestUtils.choosePort(); | |
Properties props = TestUtils.createBrokerConfig(0, port, false); | |
props.put("chroot", testChroot); | |
props.put("zookeeper.connect", connectString); | |
props.put("log.dir", KAFKA_TMP_DIR); | |
KafkaConfig config = new KafkaConfig(props); |
PARTITION_MAP = { | |
0: (40, 12, 4, 1), | |
1: (37, 11, 7, 2), | |
2: (34, 10, 10, 3), | |
3: (30, 9, 14, 4), | |
4: (27, 8, 17, 5), | |
5: (24, 7, 20, 6), | |
6: (20, 6, 24, 7) | |
} |
I hereby claim:
To claim this, I am signing this object:
class FRWindowController { | |
// ... | |
// here we can log both output and command together | |
func runJavaScript(command: String){ | |
webView?.evaluateJavaScript(command, completionHandler: { (output, error) -> Void in | |
// woo hoo | |
NSLog("\(command) has output \(output)") | |
}) | |
} |
class RFID(object): | |
def __init__(self): | |
self.initial_rospec_clear = False | |
def clear_rospec(self, proto): | |
if not self.initial_rospec_clear: | |
logger.info('rfid clearing rospec') | |
self.initial_rospec_clear = True | |
return proto.stopPolitely() |
#!/usr/bin/env python | |
# llrp_proto.py - LLRP protocol client support | |
# | |
# Copyright (C) 2009 Rodolfo Giometti <[email protected]> | |
# Copyright (C) 2009 CAEN RFID <[email protected]> | |
# | |
# This program is free software; you can redistribute it and/or modify | |
# it under the terms of the GNU General Public License version 2 as | |
# published by the Free Software Foundation. |
<html> | |
<head> | |
<link rel="stylesheet" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.4/themes/smoothness/jquery-ui.css" /> | |
<style type="text/css"> | |
.container { | |
position: relative; | |
width: auto; | |
display: inline-block; | |
overflow: hidden; | |
} |