Skip to content

Instantly share code, notes, and snippets.

View Scavanger's full-sized avatar

Andi Kanzler Scavanger

View GitHub Profile
@Scavanger
Scavanger / Logger.h
Created February 26, 2026 13:44
Logger - A thread-safe singleton logging library for C++20
#pragma once
/// <summary>
/// Logger - A thread-safe singleton logging library for C++20
///
/// Features:
/// - Thread-safe logging to file and console
/// - Support for multiple log levels (Info, Warn, Error, Debug)
/// - Type-safe formatted output using C++20 std::format
/// - Automatic timestamping of log entries
@Scavanger
Scavanger / bluetoothDeviceChooser.css
Last active February 15, 2024 18:43
Bluetooth Device Chooser for Electron
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: black;
margin: 10px;
}
h1 {
font-size: 20px;
font-weight: bold;
color: white;
@Scavanger
Scavanger / esp32_rev.ino
Last active March 7, 2022 17:18
Read ESP32 revision from fuse
/*
This sketch reads the version number of hte ESP32 chip
Original by
2017-07-17 Andreas Spiess
Update for arduino-esp32 V2.X by
2022-03-07 Andreas K.
*/
#include "soc/efuse_reg.h"