Skip to content

Instantly share code, notes, and snippets.

View triplepoint's full-sized avatar

Jonathan Hanson triplepoint

  • Saildrone, Inc.
  • Oakland, CA
View GitHub Profile
@sbyx
sbyx / wake-up-light-alarm-with-sunrise-effect.yaml
Last active May 3, 2024 06:36
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.
@triplepoint
triplepoint / _python_2_check.yml
Last active September 28, 2018 21:08
Python 2 Check, importable Ansible playbook snippet to ensure Python 2 is available (for instance, on an Ubuntu xenial target)
---
# This task list is intended to be imported by playbooks, before any
# other tasks are performed. It lets us install Python 2 (needed by Ansible)
# before Ansible tries to call anything that would use it.
#
# Execute these tasks as the first thing in a playbook like so:
# - hosts: some-host-group
# gather_facts: false
# tasks:
# - import_tasks: _python_2_check.yml
@ziadoz
ziadoz / awesome-php.md
Last active April 17, 2024 21:06
Awesome PHP — A curated list of amazingly awesome PHP libraries, resources and shiny things.