Skip to content

Instantly share code, notes, and snippets.

View dacoffey's full-sized avatar
😎
BLAZING FAST!! 😂

David Adam Coffey dacoffey

😎
BLAZING FAST!! 😂
View GitHub Profile
@dacoffey
dacoffey / dnsmasq.conf
Last active March 17, 2021 02:48
DNSMASQ: Block HIBP API HX Home Assistant
address=/api.pwnedpasswords.com/
@dacoffey
dacoffey / settings.json
Last active August 26, 2021 13:53
VSCODE: Colors
"editor.tokenColorCustomizations": { "comments": "#c0c0c0" }
"workbench.colorCustomizations": {
"terminal.foreground" : "#ffffff",
"terminal.background" : "#000000",
"terminal.ansiRed": "#ff8888",
"terminal.ansiBrightBlack": "#aaaaaa"
}
@dacoffey
dacoffey / git-undo.sh
Last active April 11, 2021 06:17
GIT: Undo Last Commit
git reset HEAD~1
@dacoffey
dacoffey / app.js
Created March 23, 2021 05:58
NODE: Bare Minimum Web Server
require('http').createServer((req,res)=>{ res.writeHead(200); res.end('HELLOWORLD'); }).listen(80,'0.0.0.0');
@dacoffey
dacoffey / CLOCK.h
Created September 20, 2022 20:23
ESPHOME: AdaFruit LED Backpack Integration: ht16k33
#include <Adafruit_LEDBackpack.h>
Adafruit_7segment LEDSEG;
esphome::time::ESPTime DTNOW;
char DTSTR[17];
time_t DT;