Skip to content

Instantly share code, notes, and snippets.

View CaramelFur's full-sized avatar
🦊
Am a fluffy folf UwU

Caramel CaramelFur

🦊
Am a fluffy folf UwU
View GitHub Profile
@CaramelFur
CaramelFur / doorbell.yaml
Created October 12, 2025 15:53
HASS EspHome simple doorbell sensor
esphome:
name: doorbell
friendly_name: Doorbell
esp32:
board: esp32dev
framework:
type: arduino
# Enable logging
@CaramelFur
CaramelFur / vindriktning.yaml
Created October 12, 2025 15:52
HASS EspHome yaml for Ikea Vindriktning with esp01 and BME280 Temperature Pressure and Humidity
esphome:
name: windrichting
friendly_name: Windrichting
esp8266:
board: esp01_1m
# Enable logging
logger:
@CaramelFur
CaramelFur / matrixclock.yaml
Created October 12, 2025 15:45
HASS ESPHome Config for 4x32 pixel Max7219 clock/display
esphome:
name: matrixclock
friendly_name: MatrixClock
esp8266:
board: d1_mini
# Enable logging
logger:
@CaramelFur
CaramelFur / convert-binary-to-hex-literals.js
Created September 24, 2022 11:34
Convert all binary literals in C code to hex literals
// Read a C file and convert all binary literals to hex literals
// Useful for converting new c code to c99 compatible code
// The first argument is the input file name
// The second argument is the output file name
const fs = require('fs');
const inputname = process.argv[2];
const outputname = process.argv[3];
||^
||.*^
@CaramelFur
CaramelFur / oculus.txt
Created July 18, 2021 21:35
Oculus Blocklist
0.0.0.0 oculus.com
0.0.0.0 graph.oculus.com
0.0.0.0 scontent.oculuscdn.com
0.0.0.0 time.facebook.com
0.0.0.0 ugc.oculuscdn.com
0.0.0.0 graph.facebook-hardware.com
@CaramelFur
CaramelFur / custom-status.js
Created October 12, 2019 12:00
set custom discord status
const Eris = require('eris');
const fetch = require('node-fetch');
const readline = require('readline-sync');
const emoji = require('node-emoji');
async function main() {
console.log('Welcome!');
let token;