Skip to content

Instantly share code, notes, and snippets.

@psychowood
psychowood / sunrise-wake-up-english.yaml
Last active February 9, 2026 21:57 — forked from BoBBer446/sunrise-wake-up.yaml
Wake-up Sunrise (Kelvin, smooth & smart)
blueprint:
name: Wake-up Sunrise (Kelvin, smooth & smart)
description: >
Modern alarm clock with sunrise effect. Default: warm white (≈2200 K) → daylight white (≈6500 K),
automatically adapted to device limits. Optionally use an RGB color curve from start to end color instead of Kelvin.
Future-proof thanks to color_temp_kelvin. For multiple lamps, please select a Light Group.
domain: automation
input:
light_entity:
@psychowood
psychowood / keepassalong.pl
Last active December 7, 2017 10:31 — forked from gatlin/keepassalong.pl
A script to convert a CSV exported from KeePass(X) to a .kdb format.
#!/usr/bin/env perl
#You need to install File::KeePass module, with cpan or manually
#have a look here if you need help: http://www.thegeekstuff.com/2008/09/how-to-install-perl-modules-manually-and-using-cpan-command/
use v5.14;
use strict;
use warnings;
use File::KeePass;
@psychowood
psychowood / ExportChromePasswords.js
Last active December 7, 2017 09:06 — forked from Marqin/ExportChromePasswords.js
ExportChromePasswords.js
//Go to chrome://settings/passwords and run in console
//Tested on Chrome v62
//You will get lots of "Error in event handler for passwordsPrivate.onPlaintextPasswordRetrieved: TypeError: Cannot read property 'origin' of undefined"
var decryptedRow="";
var pm = PasswordManagerImpl.getInstance();
var pl;
var getNextPassword = function(index) {
pm.getPlaintextPassword(pl[index].loginPair, function(pwd) {