This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###Devrex Labs Individual Contributor License Agreement | |
Thank you for your interest in contributing to open source software projects (“Projects”) made available by Devrex Labs. This Individual Contributor License Agreement (“Agreement”) sets out the terms governing any source code, object code, bug fixes, configuration changes, tools, specifications, documentation, data, materials, feedback, information or other works of authorship that you submit or have submitted, in any form and in any manner, to Devrex Labs in respect of any of the Projects (collectively “Contributions”). If you have any questions respecting this Agreement, please contact [email protected]. | |
You agree that the following terms apply to all of your past, present and future Contributions. Except for the licenses granted in this Agreement, you retain all of your right, title and interest in and to your Contributions. | |
**Copyright License.** You hereby grant, and agree to grant, to Devrex Labs a non-exclusive, perpetual, irrevocable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unusable on spinning disk, these results are from an SSD. | |
1M x create node+rel in 38s, 26k r/s | |
1M x create 2 nodes, 2 relationships, 2 properties in 47s, 21k r/s -> 80k records / s | |
1M x create 2 nodes with labels, 2 rels, 0 properties in 140s, 7k r/s | |
100k x create 100 rel + node -> 10M in 20s, 5k r/s | |
1M lookups by id in 22s, 43k r/s | |
1M lookup by id compiled runtime in 21s, 47k r/s | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
noble.startScanning(); | |
noble.on(‘discover’, function(peripheral) { | |
var macAddress = peripheral.uuid; | |
var rss = peripheral.rssi; | |
var localName = advertisement.localName; | |
console.log('found device: ', macAdress, ' ', localName, ' ', rss); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Executor : ReceiveActor | |
{ | |
readonly Kernel _kernel; | |
public Executor(Kernel kernel) | |
{ | |
_kernel = kernel; | |
Receive<Tuple<Command,ActorRef>[]>(ExecuteCommands); | |
} | |
private bool ExecuteCommands(Tuple<Command,ActorRef>[] tuples) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Sagas | |
{ | |
using System; | |
using System.Collections.Generic; | |
class Program | |
{ | |
static ActivityHost[] processes; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import java.io.*; | |
public class PrevaylerJr { | |
public static interface Command extends Serializable { | |
Object executeOn(Object system); | |
} | |