Skip to content

Instantly share code, notes, and snippets.

@seasox
seasox / wake-up-light-alarm-with-sunrise-effect.yaml
Last active November 28, 2023 10:44 — forked from sbyx/wake-up-light-alarm-with-sunrise-effect.yaml
Home Assistant Blueprint: Wake-up light alarm with sunrise effect
blueprint:
name: Wake-up light alarm with sunrise effect
description: 'A wake-up light alarm with a brightness and color temperature sunrise
effect. Note: Requires date_time_iso sensor in configuration, not manually executable!'
domain: automation
input:
light_entity:
name: Wake-up light entity
description: The light to control. Turning it off during the sunrise will keep
it off. Color temperature range is auto-detected.
@seasox
seasox / bis.md
Last active January 23, 2021 11:51 — forked from brandonsturgeon/bis.md
World of Warcraft 3.3.5a Warmane Complete PvE BiS (Best In Slot) List (db.rising-gods.de Links)
@seasox
seasox / colibriwp-serialization-fix.php
Created November 4, 2020 23:47 — forked from kemenaran/colibriwp-serialization-fix.php
Script to fix ColibriWP serialization errors
<?php
/**
* Plugin Name: ColibriWP Fix Options
*
*/
function fix_str_length($matches) {
$string = $matches[2];
$right_length = strlen($string); // yes, strlen even for UTF-8 characters, PHP wants the mem size, not the char count