Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am shadow6363 on github.
  • I am shadow6363 (https://keybase.io/shadow6363) on keybase.
  • I have a public key ASB84gIyfO5ovMubyOketxNRU1E6wmC5fYTz8RIThwZJNgo

To claim this, I am signing this object:

00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
00000000
To lvl1-vyhgroyg@stripe-ctf.com:level1
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'lvl1-vyhgroyg@stripe-ctf.com:level1'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first merge the remote changes (e.g.,
hint: 'git pull') before pushing again.
hint: See the 'Note about fast-forwards'
#include "application.h"
uint8_t address;
int8_t status;
void setup() {
Serial.begin(115200);
Wire.begin();
}
#define ARDUINO_H
#include <stdint.h>
#include <stddef.h>
#include <stdlib.h>
#include <math.h>
#define HMC5883L_Address 0x3C
#define ConfigurationRegisterA 0x00
#define ConfigurationRegisterB 0x01
case 'E': // Receive sensor filtering values
aref = readFloatSerial();
minArmedThrottle = readFloatSerial();
break;
case 'F': // Receive transmitter smoothing values
receiverXmitFactor = readFloatSerial();
for(byte channel = XAXIS; channel<LASTCHANNEL; channel++) {
receiverSmoothFactor[channel] = readFloatSerial();
@Shadow6363
Shadow6363 / rfid_door_lock.ino
Last active December 15, 2015 07:18
Arduino Code for RFID Door Lock
int lockRelayPin = 7;
int lghtRelayPin = 6;
int rfidResetPin = 13;
int photocellPin = 0;
int photocellReading = 0;
int invalidCount = 0;
char tag1[13] = "SECRET";
char tag2[13] = "SECRET";
char tag3[13] = "SECRET";
diff --git a/subpanel/dataPlot/dataPlot.py b/subpanel/dataPlot/dataPlot.py
index 8d879e7..1805a23 100644
--- a/subpanel/dataPlot/dataPlot.py
+++ b/subpanel/dataPlot/dataPlot.py
@@ -3,6 +3,9 @@ Created on Nov 21, 2012
@author: Ted Carancho
'''
+from multiprocessing import Manager
+import multiprocessing
SELECT
*,
@rowNum := @rowNum + 1 as row_number
FROM `datalog`
JOIN ( SELECT @rowNum := 0 )
WHERE
MOD(row_number, 4) = 0 AND
sensorid = '$sensor' AND
time >= '$timeOffset'
/*
var eepromConfigDefinition = {
eepromConfigDefinition: {
version: 'uint8',
calibrateESC: 'uint8',
ACCEL_BIAS: ['array', 'int16', 3],
PID_YAW_c: ['array', 'float32', 4],
PID_PITCH_c: ['array', 'float32', 4],