Skip to content

Instantly share code, notes, and snippets.

View Christoph-Wagner's full-sized avatar

Christoph Wagner Christoph-Wagner

  • MediaNord
  • Lübeck, Germany
View GitHub Profile
The basics I always want
winget install
tailscale.tailscale
KeePassXCTeam.KeePassXC
mozilla.firefox
OO-Software.ShutUp10
Nextcloud.NextcloudDesktop
Valve.Steam
IrfanSkiljan.IrfanView
@Christoph-Wagner
Christoph-Wagner / window_controlled_heater.yaml
Created January 8, 2022 08:53 — forked from govido/window_controlled_heater.yaml
Homeassistant blueprint to switch heater on or off depending on window or door sensor
blueprint:
name: window controlled heater
description: turn off heater when opening window and turn on with delay
domain: automation
source_url: https://gist.github.com/govido/4aaa213e6209d3b76ec0e65d576e3701
#forked 2nd time from https://gist.github.com/gresie/476f1169ddd4a1bbbb12662f5b20e383
#forked from https://gist.github.com/dirkk1980/8ba849b480844b32e9ca484e6de5d552
#inspired by https://github.com/home-assistant/core/blob/dev/homeassistant/components/automation/blueprints/motion_light.yaml
input:
heating_target:
@Christoph-Wagner
Christoph-Wagner / test.css
Created January 21, 2020 12:08
Weasyprint Problem
* {
float: none !important;
font-family: "Arial" !important;
margin-break: discard;
}
html {
hyphens: auto;
background-color: white;
font-size: 10pt;
line-height: 12pt;

Keybase proof

I hereby claim:

  • I am christoph-wagner on github.
  • I am cwagner (https://keybase.io/cwagner) on keybase.
  • I have a public key ASDjsQKvg_mrkibnPUEPfCGdlicxqFf12D8Y1wq0zAdX7Qo

To claim this, I am signing this object:

@Christoph-Wagner
Christoph-Wagner / circadianlights.py
Last active December 13, 2016 12:01
custom component that provides a service to set home-assistant.io lights according to the circadian rythm
# Color Temperature & Brightness calculations adapted from
# https://github.com/KristopherKubicki/smartapp-circadian-daylight
# Sorry if this code sucks, I've never used Python before ;)
import logging
import datetime
import math