Skip to content

Instantly share code, notes, and snippets.

View wfurphy's full-sized avatar

Will Furphy wfurphy

View GitHub Profile
@wfurphy
wfurphy / color_loop_light_toggle.yaml
Last active January 21, 2024 03:51
HA Blueprint: Color Loop Light with Toggle
# ::::::::: Color Loop ::::::::::::::::::::::::::::::::::::::::::::::::::::::>
# :: Credit @hugalafutro for inspiration and color codes
# :: Color Loop any light when toggled by another entity's state
# :: Will Furphy • https://github.com/wfurphy
# ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::/
blueprint:
name: "Color Loop Light with Toggle"
description: "Color Loop any light when toggled by another entity's state (On/Off)."
domain: automation
source_url: https://gist.github.com/wfurphy/288f9b3a3942fe980ab06c3ffe0582f1
@wfurphy
wfurphy / home-assistant.io.user.css
Last active December 7, 2023 08:23
Stylus custom style for Home Assistant documentation
/* ==UserStyle==
@name Home Assistant Docs - Dark Mode
@namespace github.com/openstyles/stylus
@author Will Furphy
@description Home Assistant Documentation in Dark mode
@version 0.2.1
@license MIT
@preprocessor default
==/UserStyle== */
@wfurphy
wfurphy / ReportsExceptions.php
Last active November 24, 2019 13:55
Exception Reporting Trait for Laravel < 5.4
<?php
namespace App\Traits;
use Illuminate\Support\Arr;
use Illuminate\Support\Facades\Log;
use Illuminate\Contracts\Support\Arrayable;
/**
* Trait ReportsExceptions
*
@wfurphy
wfurphy / helpers.php
Last active April 9, 2017 09:10 — forked from mabasic/helpers.php
config_path function for Lumen framework
<?php
if ( ! function_exists('config_path'))
{
/**
* Get the configuration path.
*
* @param string $path
* @return string
*/
@wfurphy
wfurphy / 0_reuse_code.js
Last active August 29, 2015 14:19
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console