Skip to content

Instantly share code, notes, and snippets.

View vhristev's full-sized avatar

Valentin Hristev vhristev

  • Sofia, Bulgaria
  • 05:26 (UTC +03:00)
View GitHub Profile
@vhristev
vhristev / zsh-poetry-debug.txt
Created September 23, 2021 09:04
shell-debug.txt
set -x
+omz_termsupport_precmd:1> [[ '' == true ]]
+omz_termsupport_precmd:2> title '%15<..<%~%<<' '%n@%m:%~'
+title:1> emulate -L zsh
+title:2> setopt prompt_subst
+title:4> [[ '' == *term* ]]
+title:8> : '%n@%m:%~'
+title:10> case screen-256color (cygwin | xterm* | putty* | rxvt* | konsole* | ansi | mlterm* | alacritty | st*)
+title:10> case screen-256color (screen*)
+title:16> print -Pn '\ek%15\<..\<%~%\<\<\e\'
@vhristev
vhristev / keybase.md
Created September 16, 2021 23:53
keybase

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

Zigbee2MQTT:debug 2021-01-10 22:10:37: Received MQTT message on 'homeassistant/sensor/9229FE_PMS5003_CF2_5/config' with data '{"name":"Tasmota PMS5003 CF2.5","stat_t":"tele/airsensor/SENSOR","avty_t":"tele/airsensor/LWT","pl_avail":"Online","pl_not_avail":"Offline","uniq_id":"9229FE_PMS5003_CF2_5","dev":{"ids":["9229FE"]},"unit_of_meas":" ","ic":"mdi:eye","frc_upd":true,"val_tpl":"{{value_json['PMS5003']['CF2.5']}}"}'
Zigbee2MQTT:debug 2021-01-10 22:10:37: Received MQTT message on 'homeassistant/sensor/9229FE_PMS5003_CF10/config' with data '{"name":"Tasmota PMS5003 CF10","stat_t":"tele/airsensor/SENSOR","avty_t":"tele/airsensor/LWT","pl_avail":"Online","pl_not_avail":"Offline","uniq_id":"9229FE_PMS5003_CF10","dev":{"ids":["9229FE"]},"unit_of_meas":" ","ic":"mdi:eye","frc_upd":true,"val_tpl":"{{value_json['PMS5003']['CF10']}}"}'
Zigbee2MQTT:debug 2021-01-10 22:10:37: Received MQTT message on 'homeassistant/sensor/9229FE_PMS5003_PM1/config' with data '{"name":"Tasmota PMS5003 PM1","stat_t":"tele/airsensor/SENSO