Skip to content

Instantly share code, notes, and snippets.

View jackbuehner's full-sized avatar
👋

Jack Buehner jackbuehner

👋
  • The Shi Institute for Sustainable Communities, Furman University
  • Greenville, South Carolina, United States of America
  • 07:52 (UTC -04:00)
  • LinkedIn in/jack-buehner
View GitHub Profile
@jackbuehner
jackbuehner / solar_flares_tidy.R
Last active December 8, 2021 23:59
Creates tidy, discrete data from the hessi solar flares data. Also creates five random samples (KEVIN)
install.packages('lubridate')
install.packages('RCT')
install.packages('RWeka')
solarFlares <- read.csv("hessi.solar.flare.up_to_2018.csv")
# install lubridate, which can be used to convert HH:MM:SS to seconds
library(lubridate)
##### Remove instances where not solar flare #####
@jackbuehner
jackbuehner / blueprint.yaml
Last active August 13, 2023 18:56
ZHA - Lutron Aurora Dimmer - Toggle v1.0 (Jack's fork)
blueprint:
name: ZHA - Lutron Aurora Dimmer - Toggle v1.0-g
description: 'Control lights with a Lutron Aurora Dimmer Pressing in the dimmer
button will toggle lights regardless of dimmer status. Rotating the dimmer will increase and decrease the light brightness.
Adjust the sensitivity if updates from the dimmer are being sent too quickly. Based on the great work of bjpetit!'
domain: automation
input:
remote:
name: Lutron Aurora Dimmer Switch
description: Lutron Aurora Z3-1BRL
@jackbuehner
jackbuehner / How_to_disable_ATT_DNS_Redirection.md
Created October 1, 2023 18:53 — forked from CollinChaffin/How_to_disable_ATT_DNS_Redirection.md
How to disable the very little-known AT&T setting that can appear to hijack your home DNS lookups and redirect to 104.239.207.44

How to disable the very little-known AT&T setting that can appear to hijack your home DNS lookups and redirect to 104.239.207.44

Issue

DNS queries on home network suddenly resolving hosts to 104.239.207.44.

Symptoms

You will see SPORADIC mis-resolutions of EVERYTHING to that 104.239.207.44 address if their crappy router happens to hear your PC's DHCP request - EVEN IF ANOTHER DHCP SERVER ON THE NETWORK assigns the ultimate address.

@jackbuehner
jackbuehner / lutron_pico_paddle_leveled_brightness.yaml
Last active January 17, 2024 05:26
Caséta Paddle Pico Three-Level Brightness
blueprint:
name: Lutron paddle pico three-level brightness
description: Use an on/off pico remote to cycle through three levels of brightness
domain: automation
input:
pico_remotes:
name: Pico remotes
selector:
device:
model: PJ2-1P-GXX (PaddleSwitchPico)