This file contains hidden or 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
2025-06-13 16:10:40.399 INFO [34356] [rtc::impl::IceTransport::IceTransport@113] Using STUN server "stun.l.google.com:19302" | |
2025-06-13 16:10:40.402 INFO [34356] [rtc::impl::PeerConnection::changeSignalingState@1363] Changed signaling state to have-local-offer | |
peerconnection onSignalingStateChange: 2025-06-13 16:10:40.403 INFO [34356] [rtc::impl::PeerConnection::changeGatheringState@1350] Changed gathering state to in-progress | |
have-local-offer | |
2025-06-13 16:10:40.403 INFO [34356] [rtc::impl::IceTransport::LogCallback@390] juice: agent.c:1157: Changing state to gathering | |
ICE Gathering State: in-progress | |
2025-06-13 16:10:40.405 INFO [34356] [rtc::impl::IceTransport::LogCallback@390] juice: agent.c:1157: Changing state to connecting | |
2025-06-13 16:10:40.405 INFO [34356] [rtc::impl::PeerConnection::changeIceState@1332] Changed ICE state to checking |
This file contains hidden or 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
#include <curl/curl.h> | |
#include <iostream> | |
#include <rtc/rtc.hpp> | |
#include <thread> | |
#include <nlohmann/json.hpp> | |
using nlohmann::json; | |
size_t writeCallback(void* contents, size_t size, size_t nmemb, std::string* output) | |
{ |
This file contains hidden or 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
var crypto = require('crypto'); | |
// larger numbers mean better security, less | |
var config = { | |
// size of the generated hash | |
hashBytes: 32, | |
// larger salt means hashed passwords are more resistant to rainbow table, but | |
// you get diminishing returns pretty fast | |
saltBytes: 16, | |
// more iterations means an attacker has to take longer to brute force an |
This file contains hidden or 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
#include <Wire.h> | |
#include <Adafruit_Sensor.h> | |
#include <Adafruit_BNO055.h> | |
#include <utility/imumaths.h> | |
Adafruit_BNO055 bno = Adafruit_BNO055(1, 0x28); | |
Adafruit_BNO055 bno2 = Adafruit_BNO055(2, 0x28); | |
void setup() | |
{ |