Skip to content

Instantly share code, notes, and snippets.

@techwithjake
techwithjake / proof.md
Created March 15, 2024 04:29
proof.md

$argon2id$v=19$m=8192,t=2,p=4$Q3tWMhRbbbkZekea3ZjSRA$2wusnfcrGpKoVrI/nLSxhREIiOxLEW4o

@techwithjake
techwithjake / .bashrc
Last active September 4, 2022 16:34
PS1 BashRC
PS1='\[`[ $? = 0 ] && X=2 || X=1; tput setaf $X`\][$(whoami)@\h\[`tput sgr0`\]:$PWD/] $ '
################################################################
## Packages / Offline devices alert
################################################################
################################################
## Customize
################################################
homeassistant:
customize:
@techwithjake
techwithjake / clear-mqtt.yaml
Last active September 4, 2022 16:34
clear-mqtt-from-HA
automation:
- alias: clear_mqtt_topic
initial_state: 'on'
trigger:
- platform: state
entity_id:
- input_text.clear_mqtt_topic
condition:
- condition: template
value_template: "{{ 'homeassistant/sensor/' in states.input_text.clear_mqtt_topic.state }}"

Keybase proof

I hereby claim:

  • I am techwithjake on github.
  • I am techwithjake (https://keybase.io/techwithjake) on keybase.
  • I have a public key ASC3oAt0e5ywu0j76WyBV8c_6Z6xr3s57Gabu7bX0P2bXQo

To claim this, I am signing this object:

@techwithjake
techwithjake / config.yml
Last active February 21, 2018 15:19
config.yml for smartthings-mqtt-bridge
---
mqtt:
# Specify your MQTT Broker's hostname or IP address here
host: mqtt://lo.cal.ip.add:1883
# Preface for the topics $PREFACE/$DEVICE_NAME/$PROPERTY
preface: smartthings
# The write and read suffixes need to be different to be able to differentiate when state comes from SmartThings or whe$
# Suffix for the topics that receive state from SmartThings $PREFACE/$DEVICE_NAME/$PROPERTY/$STATE_READ_SUFFIX