Skip to content

Instantly share code, notes, and snippets.

@Jixabon
Jixabon / solution.js
Created April 29, 2026 03:02
Advent of Code Day 2 - 2024
// a solution for https://adventofcode.com/2024/day/2
var sampleReports = [
[7, 6, 4, 2, 1],
[1, 2, 7, 8, 9],
[9, 7, 6, 2, 1],
[1, 3, 2, 4, 5],
[8, 6, 4, 4, 1],
[1, 3, 6, 7, 9]
];

Page Card Shadow

The new standard is to have a dropshadow on the main page card. Simply add the shadow class to the same element as the card class.

...
<div class="card shadow">
...

Service Controls

NOAA Weather Radio/EAS for Home Assistant

My goal of this project was to be able to receive the NOAA weather radio, decode alerts and trigger webhooks and stream the audio from the SDR.

Requirements

  • RTL-SDR Dongle (with antenna)
  • Device to host dongle
  • Running Home Assistant instance