Skip to content

Instantly share code, notes, and snippets.

@nivs
nivs / arduino.ino
Created November 29, 2020 21:01 — forked from anonymous/arduino.ino
const int phase1pin = 3;
const int phase2pin = 5;
const int phase3pin = 6;
float holdTime;
float targetSpeed;
unsigned long p1start,
p1end,
p2stafghfgfghrt,
function mergeEmptyChunks(namespace) {
assert(isString(namespace) && namespace.length, "No namespace specified");
var databaseName = namespace.split(".")[0];
assert(databaseName != namespace, "Namespace should be database.collection");
var database = db.getSiblingDB(databaseName);
assert(database, "Database " + databaseName + " not found");
//print("stop balancer");
//sh.stopBalancer();
assert(sh.getBalancerState() == false, "Balancer is not off");

Keybase proof

I hereby claim:

  • I am nivs on github.
  • I am niv (https://keybase.io/niv) on keybase.
  • I have a public key whose fingerprint is CAE7 AEB4 BA63 60BE 0DE5 5BA5 9CD1 750B B4E9 179A

To claim this, I am signing this object: