Skip to content

Instantly share code, notes, and snippets.

View LuckierDodge's full-sized avatar
🎷
Noodlin'

Ryan D. Lewis LuckierDodge

🎷
Noodlin'
View GitHub Profile
@LuckierDodge
LuckierDodge / wake-up-light-alarm-with-sunrise-effect-smoothed.yaml
Last active February 8, 2022 13:23 — forked from sbyx/wake-up-light-alarm-with-sunrise-effect.yaml
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.
@LuckierDodge
LuckierDodge / MCK142Pro.ahk
Created February 24, 2021 02:43
MCK 142 Pro AutoHotKey Script
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
; PF1
<^!+F1::
Run, wt
return
#include "/home/cs340/progs/16f/p10/wdigraph.h"
void wdigraph::depth_first (int u) const
{
vector<bool> visited;
for(int i = 0; i < size; i++)
visited.push_back(false);
stack<int> travel;
travel.push(u);