Skip to content

Instantly share code, notes, and snippets.

@shawnphoffman
shawnphoffman / AI Contribution Levels.md
Last active October 13, 2026 01:32
AI Contribution Level Disclosures & Badges

AI Contribution Level Disclosure Examples

Ready-to-use disclosure badges and callouts for GitHub READMEs, based on the VisiData AI Contribution Levels.


Level 0 — Human did not use AI at all

Level 0

@erkr
erkr / persistent_sunset_offset_actions.yaml
Created May 12, 2022 10:40
Home Assistant Blueprint for 'persistent' Sunset with a time offset triggered actions
# Author Eric Kreuwels, Copyright 2022, publiced under the free MIT license conditions
blueprint:
name: Actions at Sunset Offset
description: Persistant offset based actions around sunset. These actions can be any sequence including checking additional conditions if you like
domain: automation
input:
time_shift:
name: Time Shift
description: Using time shift around Sunrise. A negative value is earlier, a positive value is later.
default: "-00:01:00"
@erkr
erkr / persistent_sunrise_offset_actions.yaml
Created May 12, 2022 10:40
Home Assistant Blueprint for 'persistent' Sunrise with a time offset triggered actions
# Author Eric Kreuwels, Copyright 2022, publiced under the free MIT license conditions
blueprint:
name: Actions at Sunrise Offset
description: Persistant offset based actions around sunrise. These actions can be any sequence including checking additional conditions if you like
domain: automation
input:
time_shift:
name: Time Shift
description: Using time shift around Sunrise. A negative value is earlier, a positive value is later.
default: "-00:01:00"
@erkr
erkr / persistent_sunset_elevation_actions.yaml
Last active September 10, 2025 22:39
Home Assistant Blueprint for 'persistent' Sunset elevation triggered actions
# Author Eric Kreuwels, Copyright 2022, publiced under the free MIT license conditions
blueprint:
name: Actions at Sunset elevation
description: Persistant elevation based actions around sunset. These actions can be any sequence including checking additional conditions if you like
domain: automation
input:
elevation_shift:
name: Elevation Shift
description: Using an elevation angle of the sun relative to the horizon; a positive angle is above the horizon. Angles between 0 and -3 degrees are in the twilight zone
default: 0.0
@erkr
erkr / persistent_sunrise_elevation_actions.yaml
Last active September 10, 2025 22:40
Home Assistant Blueprint for 'persistent' Sunrise elevation triggered actions
# Author Eric Kreuwels, Copyright 2022, publiced under the free MIT license conditions
blueprint:
name: Actions at Sunrise elevation
description: Persistant elevation based actions around sunrise. These actions can be any sequence including checking additional conditions if you like
domain: automation
input:
elevation_shift:
name: Elevation Shift
description: Using an elevation angle of the sun relative to the horizon; a positive angle is above the horizon. Angles between 0 and -3 degrees are in the twilight zone
default: 0.0
@jackreichert
jackreichert / getKeyVals
Last active March 19, 2020 07:12
This is a swift extension for NSURL so you can parse the query string and get back a dictionary of the variables.
extension NSURL {
func getKeyVals() -> Dictionary<String, String>? {
var results = [String:String]()
var keyValues = self.query?.componentsSeparatedByString("&")
if keyValues?.count > 0 {
for pair in keyValues! {
let kv = pair.componentsSeparatedByString("=")
if kv.count > 1 {
results.updateValue(kv[1], forKey: kv[0])
}
@madoublet
madoublet / win-8-override-selection-color
Created May 27, 2012 01:35
Windows 8 - Override Selection Color
/* override selection color */
.win-container.win-selected .win-selectionborder {
border-color: #0c9ced !important;
}
.win-container.win-selected:hover .win-selectionborder {
border-color: #0c9ced !important;
}
.win-selected .win-selectionbackground {
background-color: #0c9ced !important;